Skip to content

This is a .NET program which handles taking in a Disqus export of comments (in XML format) and exporting YML files for the StaticMan comment system.

Notifications You must be signed in to change notification settings

ChrisRisner/DisqusToStaticManComments

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Disqus to StaticMan Comment Processor

This .NET Core project will process a Disqus comment export in XML format and generate comment files (YML) using the StaticMan system.

Important Notes:

  • I did have to do some manual preprocessing of my XML file due to Disqus having multiple Thread's for the same blog post.
  • There seems to be some discrepancies in the format for the YML comments so, I'd recommend checking to see what format your site creates those files in and then altering the Post.GetFileText method to write the data out correctly.
  • I started out handling things very simply and then ended up making actual classes to represent threads and posts. This is why you see a Dictionary with Thread IDs and Names and a List of Thread objects.
  • The way I am displaying comments and handling replies is that there can only be one level deep replies. So, this program will take all children comments for any comment and flatten them so all replies are only one level deep.

About

This is a .NET program which handles taking in a Disqus export of comments (in XML format) and exporting YML files for the StaticMan comment system.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages