Archive for the 'Intense Debate' Category
Intense Debate Import Hack
Published Thu Jun 2008 in
Recently I wanted to try out the Intense Debate commenting system on this blog. I didn't want to lose all the comments that I had already and Intense Debate only supports importing comments from Blogger, etc but not custom blog software. Since I wrote this blog using the Django framework using django.contrib.comments I needed to come up with my own solution.
It only took one Tamper Data request to see how an anonymous comment was posted into the Intense Debate system. A few minutes later I had a script to import my old comments into Intense Debate.
import intenseDebate
intenseDebate.postComment(blogpostid="", acctid="", anonName="", anonEmail="", \
anonURL="", comment="")
- blogpostid is the unique Intense Debate postId. You can find this easily on any Intense Debate powered page using the firebug dom tab. The key to look for is "IDCommentScript".
- acctid is your Intense Debate accountId. This can also be found using the firebug dom tab. The key to look for is "IDWUserWidget.acctid"
- anonName is the name of the commenter
- anonEmail is the commenters email address
- anonURL is the commenters web address
- comment is the text of the comment
This method of importing comments does have it's problems.
- Manual process to get the blogpostid.
- No way of getting the Date/Time into Intense Debate.
Footnote: I don't have a problem with Django comments, especially when paired with django-comment-utils, I just wanted to give Intense Debate a try.
Latest
Xbox Live Gamercard
-
Develop Denver @dvlpdnvr looks cool. http://t.co/hX3GVEUkSnow covered skylights give the @doubleencore office a weird glow this morning. (at @doubleencore) [pic] — http://t.co/YaUzBsOkToday @doubleencore I.. Shipped an app Setup our 5th build server Played a game Played with TV & Airplay Now hiring http://t.co/I9UPTNu3Terminal has an icon with white text on a dark bkgrnd. The default Terminal window is black text on a white bkgrnd Why? http://t.co/AyJDZZK7What ever happened to Burnout Crash for iOS. http://t.co/OjKCdJ8r Wasn't that supposed to be out last year?I spent some time today sitting at my desk playing video games. Because it's my job :)DESCENDENTS (at Fillmore Auditorium) — http://t.co/CMoFYGQ4I just earned the 'I Believe in IPA! (Level 2)' badge on @untappd from Hoptopia! http://t.co/2Xzkbhx2 #ibelieveinIPASuck it Carl! (with Nick at Yazoo BBQ Company) [pic] — http://t.co/Dk7qV8i9
