-
Notifications
You must be signed in to change notification settings - Fork 31
Open
Description
It would be interesting if somebody has written a converter that reads the disqus XML scheme and arranges the data to the hashover XML.
Example Disqus:
<thread dsq:id="568987623">
<id />
<forum>echteinfachtv</forum>
<category dsq:id="1298300" />
<link>http://www.test.com/trigonometrie/</link>
<title>Page Sinus und Kosinus </title>
<message />
<createdAt>2012-02-08T17:02:32Z</createdAt>
<author>
<email>[email protected]</email>
<name>Super User V</name>
<isAnonymous>false</isAnonymous>
<username>superuserv</username>
</author>
<ipAddress>44.430.49.124</ipAddress>
<isClosed>false</isClosed>
<isDeleted>false</isDeleted>
</thread>
Example Hashover:
<?xml version="1.0" encoding="UTF-8"?>
<comment likes="0" notifications="yes" ipaddr="">
<name>Marko</name>
<passwd></passwd>
<email></email>
<encryption></encryption>
<website></website>
<date>01/02/2015 - 12:00am</date>
<body>Geniale Seite, danke dafür!</body>
</comment>
Note: I am still sure, that date tag of hashover should be changed to the international format, e.g. 2012-02-08T17:02:32Z.
Furthermore, comparing the data from disqus, maybe the IP should be saved as well in the xml?
jacmoe