I've actually worked quite a bit with converting WordPress files, but have 
done post type conversions using SQL:

UPDATE wp_posts SET post_type = 'product' WHERE post_type = 'post'

Similarly, you can copy just the posts to another table using SQL.

I also wrote a plugin a few years ago that took an XML file containing book 
records and converted them into WordPress posts (and later books as a 
custom post type) using XSLT. WordPress has a reasonably good XML parser 
builtin so it's not that complicated to use PHP to handle the conversion.

-- 
-- 
You received this message because you are subscribed to the 
"BBEdit Talk" discussion group on Google Groups.
To post to this group, send email to bbedit@googlegroups.com
To unsubscribe from this group, send email to
bbedit+unsubscr...@googlegroups.com
For more options, visit this group at
<http://groups.google.com/group/bbedit?hl=en>
If you have a feature request or would like to report a problem, 
please email "supp...@barebones.com" rather than posting to the group.
Follow @bbedit on Twitter: <http://www.twitter.com/bbedit>



Reply via email to