https://github.com/paul-hammant/escape_from_disqus
How to take your Disqus export XML and turn it into static XML and JSON to pull back into your site
https://github.com/paul-hammant/escape_from_disqus
disqus
Last synced: 6 months ago
JSON representation
How to take your Disqus export XML and turn it into static XML and JSON to pull back into your site
- Host: GitHub
- URL: https://github.com/paul-hammant/escape_from_disqus
- Owner: paul-hammant
- Created: 2017-08-31T01:17:17.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2017-08-31T01:29:22.000Z (about 8 years ago)
- Last Synced: 2025-04-06T08:35:48.425Z (7 months ago)
- Topics: disqus
- Language: Python
- Size: 1.95 KB
- Stars: 2
- Watchers: 2
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# A python script to process your exported Disqus XML dump, and make JSON/HTML snippets
Why did I do this? Well I setup my Disqus incorrectly many years ago, and article titles were a bit non-standard.
I only worked that a month ago. I tried to seek help through the Disqus support system (a forum), but didn't get
what I was looking for. See [here](https://disqus.com/home/channel/discussdisqus/discussion/channel-discussdisqus/installation_changed_from_http_to_https_and_comments_are_not_attached_to_the_page_anymore/)
and [here](https://disqus.com/home/channel/discussdisqus/discussion/channel-discussdisqus/installation_getting_comments_back_after_http_https_switch_is_hard/). There was a help document [elsewhere](https://woorkup.com/migrate-disqus-comments-https/) but it was out of date.
So bye bye Disqus. Hello Twitter for comments (that I will try to work out how to bring back to the page later)
And the Python script? Run it in Python3 - no args - it's going to create a `disqusoutput/` folder.
Oh, and:
```
sudo pip3 install python-dateutil
sudo pip3 install sh
```