WP .XML Test Data Import

If you have read any of my previous posts about the mighty WordPress, then you might be able to work out I am a big fan! Very true indeed! Infact 99% of the sites I have done use it. When creating a design I won’t build it into WordPress from the start, main reason is that I can concentrate fully on the HTML/CSS code and not have to worry about PHP loops, etc. Much simpler!

I use Lorem Ipsum to generate text to bulk out my design and give me a more realistic feel of how it will look live, which is great. When I come to integrating the site into the WordPress CMS I end up left with a kind of ‘blank canvas’ containing just the default ‘Hello World’ post! Having to continuously create fake posts/categories/tags/comments to check it all works within WP is well, Very Frustrating :(

For anyone else who has the same problem as me, this ones for you. Download the .XML linked below and import this into your WordPress installation and problem is sorted, the .XML will import the following:

  • 5 Pages, with full content
  • 10 Posts, with content, including Tags, Categories and Excerpt
  • 21 Unique Tags
  • 11 Unique Categories
  • 10 Unique Comments, including several from the ‘Tester’ user (Administrator)
  • 7 Default Links
  • 1 Post (under category ‘Bullet List’) contains a Bullet List
  • 1 Post (under category ‘Numbered List’) contains a Numbered List
  • Various Lengths on each posts content and title

If you are not familiar with Importing an .XML file into WordPress then follow this quick guide (based on the 2.6 version of WP)

  1. Unzip the .XML from the downloaded archive
  2. Log into your WP administration area (http://www.sitename/wp-admin)
  3. Select Manage from the main menu
  4. From the Manage sub-menu, select Import
  5. You will be provided with a list of Blog types you wish to import from, select WordPress from the bottom of the list
  6. Next select Browse
  7. Locate to the .XML you downloaded from the link below, select Okay
  8. Finally, select Upload File and Import

Any problems let me know, but should be fairly straight forward! Finally here is the download link:

Download: WordPress XML Import | Help spread this post by Digging It

68 Responses

Adrian Pavone says:

Hi man,

Thanks so much. This is so useful for my wordpress template creations. I’ve imported it into my local wamp install running on my laptop and it allows me to have dummy data for showing my clients when demoing their site to them! Love your work!

Regards,
Adrian Pavone.

Abhijit V. Chaore says:

Its useful. I needed some dummy data while I created my first WordPress theme and I had to write some sample articles or use ‘lorem ipsum’ text for this. Had I found your post initially it would have saved me a lot of time.

Anyways I am going to use it for my future developments. Thanks a lot for this.

Ombak says:

Hai, I make wordpress 2.9.2, and try what you say.
I upload the file in Tools => Import => WordPress. but not working.
by the way I try in my local computer.
can yuo help me?
thanks!!!

Alex says:

Hi there,

I download your dummy content but everytime I upload it I get a message: “Are you sure you want to do this?” and a “Please try again” link. Everytime I click that I get returned to the original upload page. WordPress is talking about ” WordPress eXtended RSS (WXR)” crap… whats a WXR file? I only have a XML file.

I tried chmodding my ‘uploads’ folder to all permissions but it didn’t work :S. I’m using wordpress: 2.71 and Mozilla Firefox 3.0 on Mac OSX.

Hopefully someone can help!

Otter says:

Hi there Stu – not sure why but the Zip is coming in at 0K at the moment.

Thought you’d like to know

Ady

Ondrej says:

Hello,
thanks for this great post, but I can’t download it. I don’t know why. Can you, or anybody, send me wptester.zip by e-mail? Is it possible? Thank you very much.

jeffrey says:

Hi,

I am looking for a solution to automatically import an XML file into wordpress for each of my users blogs which I plan to set up?

Any ideas as to how one can accomplish this?

Thanks

Jeffrey

Darren White says:

Thanks, such a simple idea but it never occurred to me to set up an xml file.

Also I had to say hello once I knew you was from Hull. Its good to come across another Web designer locally that builds sites the right way and is into WordPress. I also recommend ExpressionEngine for bigger projects and Magento for e-commerce sites.

Do you freelance or work for a company?

Cheers,
Darren

Stu says:

@Pangeran – Great, I’m pleased people are using it. I will be releasing lots more WordPress themes, feel free to subscribe to my feed, link is at the top of the page :)

Stu says:

@de musicas – No problems hope it helps!

@Navjot Singh – Great, I’m glad its coming in use to someone, thanks for your post. I am currently working on a WP theme too, (NERD)Press, its coming along nicely. Do you have any themes out there at the moment?

Subscribe to DesignWoop and keep up to date. You can subscribe via RSS or Email.

Close
Close