Thanks Dennis, that's a great idea.

I'll see if I can get a decent sql query rolling - though, I'm now sure 
about the import down the road...
hmm

On Friday, August 24, 2012 1:16:00 PM UTC-7, Dennis Whiteman wrote:
>
> 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 [email protected]
To unsubscribe from this group, send email to
[email protected]
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 "[email protected]" rather than posting to the group.
Follow @bbedit on Twitter: <http://www.twitter.com/bbedit>



Reply via email to