Tagged: xml RSS

  • Nathan Haskins 2:14 pm on September 30, 2010 Permalink | Reply
    Tags: , xml   

    generating wordpress-import friendly XML using php from a mysql list of products. 467 new posts create, and categorized. I’m pretty sure this is the way to go about rapidly filling in the content on a fresh wordpress site. Breaking down the sitemap into a blank .txt file, feeding the file to a parser, and having the parsed data hit the xml generator. kaboom! instant site skeleton from a text file.

    This picture is a small clip showing a snippit of the php file used to generate the xml file containing an entry for each product in a database.

     
  • Nathan Haskins 8:51 am on June 7, 2010 Permalink | Reply
    Tags: import, search everything plugin, , xml   

    generate a WP XML import file from an old site 

    *this doesn’t work with wordpress 3.0… im reprogramming now….

    Something i find helpful when converting content from a non wordpress site, to a wordpress site is to convert the old content into an XML file, and import it into the new wordpress installation.

    The tricky part is figuring out which parts of the XML structure need to be generated, and which can be skipped. I’ll say this for it, the actual way the lines break are important for importing meta field data.

    Here is a copy of the file, I was using this inside of wordpress as a page template.  When the page is opened, it write a page.xml file into the root directory.   I had this reading from a database of sports products, and making a post for each product with meta data.

    Download the souce .zip

    After importing a bunch of meta data heavy content, this plugin is a much to optimize the default search

    http://dancameron.org/wordpress/plugins/search-everything