Wordpress Blog Posts in Hybris - wordpress

My job is developing on Hybris, an SAP eCommerce CMS solution. However they want a Wordpress blog with the ability to have the latest 3 post automatically fed into the Hybris site.
Functionality wise the site would only display the image associate with the blog, and the title of the blog with a read more link that directs the user to the blog entry (and blog site) in question.
Some security concerns have been raised though in terms of how to get the blog fed into Hybris safely.
My developer specifically asked me to ask you guys ***"How do we get data from WP synchronously in batch mode to implement into Hybris? And which API's, protocols, or ways to implement are available?"M6962onerb*
The more I can take back, the more knowledgeable the team will be at getting this past the security team, so any help would be appreciated.

I would :
Use the wordpress REST API (https://wordpress.org/plugins/json-rest-api/)
Create a extension on Hybris with :
A service to fetch the last 3 posts from Wordpress and save it into Hybris database / memory
A cronjob to call the service every hour
A facade to get the 3 posts from your controller
Some security concerns have been raised though in terms of how to get the blog fed into Hybris safely. Wordpress API needs to be secured (HTTPS and IP access restriction).

Related

How do I make an existing WordPress blog available at a subdirectory/subpath of an existing Azure AppService website?

I have a Flask website (e.g. mysite.com) hosted on Microsoft Azure App Service. I have a WordPress blog hosted on another MS Azure App Service instance. I created this blog using the WordPress Azure Marketplace item by App Service in line with this doc. The current URL for the blog is the default app service URL (e.g. myblog.azurewebsites.net).
I want to integrate the blog into my website, so that the blog is available at mysite.com/blog/. For example, the page at myblog.azurewebsites.net/my-first-post should be available at mysite.com/blog/my-first-post. By integrate I mean make available; I don't mind having 2 different applications as present i.e. one for the main site, and one for the blog.
Is this even possible?
If so, can someone point me in the right direction or to the relevant docs so that I can figure things out?
Also, I am still exploring WordPress so the blog contains only test posts. If there is an alternative method of creating the blog from scratch so that it integrates into the website easily, I can work with that as well.

I'm trying to implement external REST APIs in my wordpress website. Can anybody have idea how to do it (whether with a plugin or with programming)

I tried to use one plugin called "WP Data Sync". I am also going through its documentation/ support for the same. I am also having wpbakery page builder in my website. So is there any way that we sync with that also?
Note - We have to sync data in the form of images, image gallery, events listing, and the blog posts.
Did you check out WP Data Syncs website at https://wpdatasync.com/ and create an account to check out an API key?
I'm not sure about all APIs, but the ones I've used in the past would require me to register with the API's website, get issued an API key and maybe even designate the key to a specific website (your WordPress site in this case) for security reasons. After that, you would then go to your WP site and setup the API there via WP DataSyncs plugin.
I hope I understood your question and that this helps.

How it is possible that I have many more users (Suscribers) in my blog that visits?

I have created a blog a few weeks ago and have started to add posts about SQL-Server (Tips For DBs).
Very quickly I started to receive new suscribers (New User Registration) and now I have already 175.
But... it is very strange because I also have activated at the beginning the Google Analytics and I see just 1 or 2 visits per day, reflecting a total of 13 different users that have accessed the blog.
Anyone has an idea of what is happening?
How is possible that there are so many people suscribing the Blog that have never accessed it?
The blog has been created as an standard WordPress in a hosted domain. Just installed WordPress and activated some Plug-Ins: AddToAny Share Buttons, Akismet Anti-Spam, Goolytics - Simple Google Analytics, SpiceBox (Template) and Gutenberg.
For Goolitics, I just set the code that Google Analytics shows. That's all, no code, just that plug-ins and a few posts.
Akismet will help you in reducing the SPAM comments and not the users creation. As per Akismet "Akismet is a spam fighting service that protects millions of WordPress sites from comment and contact form spam."
Adding and configuring following plugins will help you reduce the number of SPAM registrations
Email Verification on Signup https://wordpress.org/plugins/email-verification-on-signups/
User Verification https://wordpress.org/plugins/user-verification/
Google ReCaptcha https://wordpress.org/plugins/google-captcha/
WP Approve Users https://wordpress.org/plugins/wp-approve-user/
From the plugins list it seems there are no Web Application Firewall - Security plugins in place, It is highly recommended to use the security plugins on WordPress.

How to create an offline form for submitting WP posts

You may have seen WP plugins that allow guests to submit posts. Those submissions proceed to the WP posts area where the admin can edit/publish them.
I want to create a form like this that I can install on my (and other people's) computers, so they can fill out the form fields for a WP post, save offline, then send to my WP site when ready.
Can anyone tell me the steps involved, and, if there is a description for what type of thing this is, please let me know to aid my search.
I am learning code at present and want to learn while building tools.
Thanks
Hi hope I can give you some hints with this answer.
I don't know what programming language you would like to use, but for the communication with your Wordpress blog you could use the WP API to create a post over REST API. It offers a API to create and edit your Wordpress Posts over HTTP.
Your programm just have to check if an connection is possible and then execute the API calls.
You could use an database to store all created post and then call the Create Post Task with the POST Method over HTTP for each post saved offline.
When the creation was successful you could update your offline database, so that the post is marked as already created.

Interacting with the wordpress api with an asp.net application

I have built an asp.net application from which I would like to post blog entries to wordpress, using the wordpress API. Thus far I have been unable to find any good tutorials or walkthroughs to do so. How might I use the wordpress API to upload blog content via an asp.net application?
I know that you should use the xml-rpc (probably need to enable on your server under administration area). xml-rpc. However, actual implementation details I am not positive on. Hopefully this gives you a start.
http://codex.wordpress.org/XML-RPC_wp

Resources