Skip to content

Commit

Permalink
Fixes: Change disquis export to use GetKey instead of UniqueID #124
Browse files Browse the repository at this point in the history
  • Loading branch information
Shazwazza committed Nov 12, 2015
1 parent c3fab40 commit 7d41ccd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Articulate/DisqusXmlExporter.cs
Expand Up @@ -54,7 +54,7 @@ public XDocument Export(IEnumerable<IContent> posts, BlogMLDocument document)
new XElement("title", post.Name),
new XElement("link", umbHelper.NiceUrlWithDomain(post.Id)),
new XElement(nsContent + "encoded", new XCData(body)),
new XElement(nsDsq + "thread_identifier", post.Id.ToString(CultureInfo.InvariantCulture)),
new XElement(nsDsq + "thread_identifier", post.Key.ToString()),
new XElement(nsWp + "post_date_gmt", post.GetValue<DateTime>("publishedDate").ToUniversalTime().ToIsoString()),
new XElement(nsWp + "comment_status", "open"));

Expand Down

0 comments on commit 7d41ccd

Please sign in to comment.