[
{
"id": 2166957614,
"parent": 29293782,
"createdAt": 1352672642,
"author": "Quijote",
"thread": "https://programadorwebvalencia.com/clojure-que-es-y-para-que-sirve/",
"message": "<p>Curioso sí que parece...</p>"
},{
"id": 2166957615,
"parent": 51293771,
...Superpowers:
- Transform dates to unix time.
- It unifies the children and the comments.
- Keep the reference to the parents.
- It removes irrelevant data.
- Enter the Disqus Administrative panel.
- Enter to Community.
- Click in Export.
You will receive an email with all the compressed comments.
-
Make sure you have Java installed.
-
Download the latest version of import (
glosa-disqus-import-{version}-standalone.jar).
https://github.com/glosa/glosa-disqus-import/releases
-
Decompress Disqus export. You will get an
XML. -
Runs.
java -jar glosa-disqus-import-x.x.x-standlone.jar [file]Example
java -jar glosa-disqus-import-x.x.x-standlone.jar myblog-2020-03-04T18%3A36%3A47.800594-all.xmlIn the same directory you will create the JSON.
- Make sure you have openjdk or oracle-jdk installed, clojure and leiningen.
brew install openjdk clojure leiningensudo apt install default-jdk clojure leiningen- Clone the repository and enter the generated folder.
git clone https://github.com/glosa/glosa-disqus-import.git
cd glosa-disqus-import- Run the following command to build a
jarfile.
lein uberjar
After this two files should be created in target/. We will use the standalone version: glosa-disqus-import-{version}-standalone.jar.



