My web site is based on zend framework that have wordpress blog. I want to get new post details in the site. Using zend Zend_Feed_Reader function I can get title, link, description ... But there is no method to get wordpress custom fields feed.
Is there any existing method or any other way to do that?
Thanks
Try to include wp-load.php in your zend site. This will give you access to everything in wordpress (functions, posts, meta) and you won't have to go out and retrieve an RSS feed to get it.
Related
I have created a blog on Wordpress.com, I can access the api and returned posts from the homepage with this:
https://public-api.wordpress.com/rest/v1/sites/{siteID}/
So my blog is access via URL at something like www.blog.home.blog
However I have a second page that is at www.blog.home.blog/secondPage
The API doesn't return Posts from this URL. Trying to understand what I need to change to the API URL to return posts from this second page?
You need to provide the ID of this page/post you are trying to access. It will be something like https://public-api.wordpress.com/rest/v1.1/sites/$site/posts/$post_ID And to get all the posts you can use https://public-api.wordpress.com/rest/v1.1/sites/$site/posts/
More info is available here at the official wordpress.com documentation for developers.
I'm very new to Magento.
I want WordPress post and custom post type into Magento. For that, I've installed Magento WordPress Integration extension. I got success to fetch posts from WordPress which I've installed in Magento root using the same database which had been used by Magento. For custom post type I've also purchased Post Types & Taxonomies add-ons of fishpig and installed it on my server.
Now, here is my question, how to get custom post type from WordPress into Magento? Also, I want to maintain URL structure as well. URL structure which I would like to maintain is... suppose my Magento site is like this www.example.com and my posts and custom posts like news, press, team etc... my URL would be www.example.com/blog for posts and www.example.com/news, www.example.com/press, www.example.com/team etc...
Hope this description is sufficient to get my problem. For getting this thing done I've tested all possible ways. I've also referred these URLs http://fishpig.co.uk/magento/wordpress-integration/advanced-custom-coding/#post-models, enter link description here but I can't understand from here.
Any help would be greatly appreciated.
Thank you,
Have you already created your new post types? If not, install the Custom Post Type UI and use this to create a new post type. Ensure that you set the Archive option to True/Yes (this creates the page that lists of the posts for the new custom type).
When you have created a custom post type, create a new post for that type in the WordPress Admin and save it. You should then be able to click the URL it generates for the post and see it in Magento.
If you get a 404 error at this point, ensure that you have latest version of Magento WordPress Integration installed and that you have no errors at System > Configuration > WordPress in the Magento Admin.
We currently have a web site/app and then also use wordpress for our blog.
Wordpress is great and its cms is great.
I have used wordpress in the past to create an RSS feed that we use on the web site.
My question is:
Is is possible to use wordpress as a CMS and create a feed from that content that is not publish on the blog/wordpress install?
I want to use wordpress's cms, so that i do not have to create my own cms.
However, the content we put in this RSS feed cannot show up on the blog/wordpress site.
Is this possible? I know we are using a plugin to create these RSS feeds. I am not an expert in wordpress, but i believe this is possible.
I also want to use wordpress's category/tags/taxonomy to create feeds based on these values
Once again i want to leverage wordpress's cms to create a hidden feed and publish using RSS. I then want to connect to this feed using different clients.
All data entered into the cms with a certain tag will be hidden/not shown on the blog, but will be available via this RSS feed
Thanks
I am working with Wordpress and for my shop I am using prestashop (seperated).
Now I want to show some products with basic informations like price, name, image-url in wordpress.
I dont want to access the database directly, but I want to use the prestashop api.
Question: Which file of pretashop I have to include to wordpress, that its possible to use the prestashop API and what is the basic code to show a products with the article number xxx? THX a lot guys!
You can do that with the PrestaShop web service. Here's the reference:
http://doc.prestashop.com/display/PS15/Using+the+PrestaShop+Web+Service
And here are some examples how to work with that web service:
https://github.com/PrestaShop/PrestaShop-webservice-lib/
I have redirected my Wordpress RSS feed (domain.com/feed) to FeedBurner, and made the FeedBurner feed the one publicly visible.
Still, the URL of the Wordpress RSS feed is the standard for any Wordpress blog (.../feed), and I have noticed that many readers are manually setting their RSS to this feed rather the FeedBurner url.
How can I change Wordpress' feed address so that it is private to the public, but still available to FeedBurner?
You need to look for a plugin called Feedsmith. It does this perfectly.
there are many ways to do that ,but this plugin do it easily for you , just enable and set security token:
https://wordpress.org/plugins/feed-changer/