If I would export a WordPress database, posts and comments etc. are saved to an XML file.
Would comment metadata be included in this XML file?
I.e. the table wp_commentmeta
, mentioned here: http://codex.wordpress.org/Database_Description#Table:_wp_commentmeta.
Here:
The WordPress eXtended Rss (WXR) Export/Import, XML Document Format Decoded and Explained
I found some info on the export file format, and the columns in wp_comments
are mentioned, but there’s no mentioning of any columns in wp_commentmeta
.
Edit: Background: I’m planning to write a new commenting system for WordPress, and I’d like to be able to import/export comment data between various blog platforms. (E.g. Blogger and others.) And I think I need to use the comment metadata table. /Edit
Kind regards, Magnus
My latest export from my blog (WP 3.3.1) now has the commentmeta in the XML. It’s in this format:
I was looking for information on it while trying to write an exporter from another system. Not much information available online so I tried an export from a well-used blog–it was there!
Looking at the export code, it seems comments don’t include comment meta information. The lines above it explicitly include post metadata, but I don’t see a query for comment metadata.