WordPress plugin: XML-ify WordPress – Multiple Posts
This plugin generates an XML file using content from multiple blog posts. You decide how many of the latest posts you want included in the XML file.
You can use the generated XML files to populate photo gallery software, iPhone applications, etc. Using the options page, you can decide how many posts to display, what content you want to include, what to name the surrounding XML tags, and whether or not you want to pull from only one category or all categories.
Here’s what a sample XML file looks like from my site via Firefox:
After installing and activating the plugin, the XML file is generated simply by visiting your site’s front page. The file generates each time someone visits your site’s front page. This shouldn’t be an issue with server overload, unless you get a LOT of traffic. If you notice slowness due to this plugin, let me know.
The XML generated will be located in a folder called ‘xmlfiles’ within your wp-content folder. The file will be named multipost.xml.
== Installation ==
1. Unzip and upload files to your plugins directory.
2. Activate. You can tell the plugin is working by visiting your site, then visiting http://www.yoursite.com/wordpress/wp-content/xmlfiles/multipost.xml.
3. Choose your settings in the “XML-ify WordPress Multiple Posts” options page in the WordPress admin area.
Download the plugin here: XML-ify WordPress Multiple Posts
16 Responses to WordPress plugin: XML-ify WordPress – Multiple Posts
Leave a Reply Cancel reply
About me
I'm a web developer, designer, writer, communications professional, former newspaper journalist, Wordpress evangelist, news junkie, pop culture addict AND MORE! Currently employed as the Technical Communications Specialist at the Seattle Housing Authority.
My Favorite Thing Ever Right Now
Tim Tebow 80 Yard Game Winning Touchdown Pass to Demaryius Thomas - 2011-2012 AFC Wildcard (by TheNFLonDemand)
Latest from Twitter
-
generalgentry Laura GentryHow bougie is it that @carollani and I are going to buy a child's bike trailer for our dog tonight?
-
generalgentry Laura GentryDamn, a 3rd grader was shot at school??
Current Favorites from Twitter
-
michaelianblack Michael Ian BlackSocks. Sometimes they feel good to put on, sometimes they feel good to take off. Crazy shit, man.
-










Link broken:
http://lauragentry.com/wp-content/uploads/2011/04/XML-ify-wordpress-multiple-posts.zip
Not working in wp 3.2
Thanks a lot!
Hey there, sorry about that. The link is updated now. I meant to switch over to the official WordPress plugin page once it got approved, but totally forgot.
This looks perfect. Tuis is what I needed. I’m looking also how to convert an excel file into a proper XML one…
Hello, i have a question about your plugin.
I have a job board base on wordpress and i want to export in xml the post type “job”? how can i modify your code to select the good type of post?
The aim of this is to generate a xml feed like this one :
http://profilsfinance.com/feed?post_type=job_listing
but with another format.
Regards,
grégory
Gregory, you can restrict based on category. So I would assign that post type to a unique category, then note in the last field of the options page for this plugin.
Ok but i don’t want to specify a category but a type of post type (page, article, comment or job_listing in my example).
Grégory
Gregory – Sorry, not sure how you could accomplish that.
I am a little confused about adding custom fields. Can you provide more description or screenshot of adding a custom item. I would like to include the category name of a post. Would this be the right place?
Hi Brenda, sorry for the delay. Do you mean you would like to display the category names of the posts in the XML? If that’s what you’re looking to do, it would actually be better if I just did a small update to the plugin to allow for that. If you did that using custom fields, you would essentially be double-categorizing your posts and that seems inefficient.
Hi I am using this plugin.Thank you so much for providing this plugin. Basically I have got another Lable (called ABC) same as POSTS and in wordpress. I have successfully installed your plugin and it’s displaying all the posts from Posts Lable but now I am trying to display titles and other information containing under ABC Lable but I could not figure it out how to do this? I will wait for your reply.
Hi there. If you provide me the URL of the XML file that’s being generated, I might be able to tell what’s missing and why.
Laura:
I’m using WP 2.8.4 (can’t get it to upgrade to 3.2.1 for some reason)but also have a similar site in Drupal 6.22.
I want to export certain WP pages/posts as WordPress eXtended RSS (WXR)so they can be imported into Drupal.
Will your XML-ify WordPress help with that task? If not, do you have any suggestions?
Thanks and Blessings
Duane
admin says:
October 24, 2011 at 9:50 am (Edit)
Hi Duane,
This plugin doesn’t do that, but check this page out for information on how to export WXR:
https://ipggi.wordpress.com/2011/03/16/the-wordpress-extended-rss-wxr-exportimport-xml-document-format-decoded-and-explained/
You can’t get necessary get post-specific exports, but you can go through and assign a particular category to the posts you want, then filter by category.
[...] have found this plugin http://lauragentry.com/blog/2011/04/…ultiple-posts/ Is this what i'm after and can it be done with this? __________________ clap.com clap™ – your [...]
Hello i got a question.
I’m on the way to develop a site with simple fields
and would like to create an app for android so people can search for post. Thats why i need to be able to export to xml so the app could display it. Is this possible with this plugin or and is it hard to do
In the fields i have 6 categories (checkboxes and 1 checkbox for explosive training) the user should then be able to search in 1 up to 6 categories with or without the explosive training and if he wants 1 up to 10 results
Hi,
.
Thanks for writing this plugin it looks like just what i need – if i could get it to work
I have installed the plugin and activated it. I couldnt get to the generated xml file. also i couldnt get to the options page – no settings link available.
Your help would be appriciated.
Thanks
Dan