Custom XML Import Format

We offer a custom XML import format based on the WXR (WordPress eXtended RSS) schema. This is useful for sites importing comments to Disqus in an unsupported format.


  • All fields are required even if they contain no content.
  • Only use the <dsq:remote> tag (and its children) if you're using Single Sign-On; otherwise remove it.
  • If you're manually filling in <wp:comment_author_email> make sure it's unique to each user or else all comments will display the same author name.
  • Each <item> tag can parent an infinite number of <wp:comment> tags.
  • There is a minimum character requirement for each comment message, which is 3 characters.


  • Register a test forum and importing to that forum first to work out any kinks.
  • Keep individual file sizes <50 MB each.


<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
      <!-- title of article -->
      <title>Foo bar</title>
      <!-- absolute URI to article -->
      <!-- body of the page or post; use cdata; html allowed (though will be formatted to DISQUS specs) -->
      <content:encoded><![CDATA[Hello world]]></content:encoded>
      <!-- value used within disqus_identifier; usually internal identifier of article -->
      <!-- creation date of thread (article), in GMT. Must be YYYY-MM-DD HH:MM:SS 24-hour format. -->
      <wp:post_date_gmt>2010-09-20 09:13:44</wp:post_date_gmt>
      <!-- open/closed values are acceptable -->
        <!-- sso only; see docs -->
          <!-- unique internal identifier; username, user id, etc. -->
          <dsq:id>user id</dsq:id>
          <!-- avatar -->
        <!-- internal id of comment -->
        <!-- author display name -->
        <wp:comment_author>Foo Bar</wp:comment_author>
        <!-- author email address -->
        <!-- author url, optional -->
        <!-- author ip address -->
        <!-- comment datetime, in GMT. Must be YYYY-MM-DD HH:MM:SS 24-hour format. -->
        <wp:comment_date_gmt>2010-09-20 13:19:10</wp:comment_date_gmt>
        <!-- comment body; use cdata; html allowed (though will be formatted to DISQUS specs) -->
        <wp:comment_content><![CDATA[Hello world]]></wp:comment_content>
        <!-- is this comment approved? 0/1 -->
        <!-- parent id (match up with wp:comment_id) -->
Ask the Community Contact us

Still need help? Discuss Disqus is our most active place for getting quick help, sharing feedback, and discussing issues with others – a knowledgeable and helpful support team and community are there right now. Our 101 post is the best place to get started.

Make sure to search our Knowledge Base first... your answer might be just a click away!