Is comment metadata included in the export file?

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.

Read More

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

Related posts

Leave a Reply

2 comments

  1. My latest export from my blog (WP 3.3.1) now has the commentmeta in the XML. It’s in this format:

            <wp:comment>
            <wp:comment_id>...</wp:comment_id>
            ...
            <wp:comment_user_id>0</wp:comment_user_id>
            **<wp:commentmeta>
                <wp:meta_key>name_of_meta</wp:meta_key>
                <wp:meta_value><![CDATA[value_of_meta]]></wp:meta_value>
            </wp:commentmeta>**
        </wp:comment>
    

    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!