Xml Data To Wordpress

useit4u

Newbie
Joined
Apr 12, 2009
Messages
24
Reaction score
3
Hi
I need help to figure this out and how to do it. I have large data in xml files(small files) 200 gb total. I would like to creat a website that can display such data. I am thinking of doing xml to database and then display that database to WordPress blog. or creat xml import plugin that can do such.Please advise if there any other easier way. and how to do it aswell.
Thanks

I am not sure to post this here or not. please let me know if this is the right place to post.
 
If you want to show the xml info as blog posts or pages , then you will need to import the data into the wordpress database, using the post or page tables, the wordpress api allows you to do this using wp_insert_post( $my_post )

I have done this with the laterooms xml feed to show as blog posts ;-)
 
Last edited:
what will you charge to set me up such thing???
 
If you want to show the xml info as blog posts or pages , then you will need to import the data into the wordpress database, using the post or page tables, the wordpress api allows you to do this using wp_insert_post( $my_post )

I have done this with the laterooms xml feed to show as blog posts ;-)

yes teamrecon is right
 
This would have been really tough if you had large files! wp_insert_post() is the function to insert the post as someone already suggested.. You need to create a small plugin or a custom page template which would read all the files from the folder one by one and insert them. Best is to do 10 - 20 xml files in one run and save the last update in a file / db. Make it a cron and run it every 10 mins or so.
 
Back
Top