Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2012-01-21 13:10:45

andreas
Member
Registered: 2004-02-28
Posts: 453
Website

Import disqus XML into TXP

I’ve been using disqus for a while but really would like to go back to the plain TXP comments (I’d like to get back complete control of the site and not depend on an external service).

I’ve exported the comments as an XML file as disqus offers to do but now don’t know how best (if at all) get these comments into TXP.

Is there a doable way? I’m prepared to do some manual labour if necessary, but of course – the less, the better.

I’d appreciate any ideas.
Thanks.

Andreas

Offline

#2 2012-01-21 16:09:47

Bloke
Developer
From: Leeds, UK
Registered: 2006-01-29
Posts: 11,947
Website GitHub

Re: Import disqus XML into TXP

andreas wrote:

I’ve exported the comments as an XML file as disqus offers to do but now don’t know how best (if at all) get these comments into TXP.

You could try smd_xml (note: there’s a better, very -close-to-final-release-beta available) to read the feed/XML data and then once you’re happy that it’s in a format that Txp understands, put smd_query in the smd_xml container to insert the formatted data into the txp_discuss/textpattern tables. Can’t promise it’ll be easy, but it’s probably easier than doing it by hand.


The smd plugin menagerie — for when you need one more gribble of power from Textpattern. Bleeding-edge code available on GitHub.

Txp Builders – finely-crafted code, design and Txp

Offline

#3 2012-01-21 20:57:19

andreas
Member
Registered: 2004-02-28
Posts: 453
Website

Re: Import disqus XML into TXP

Thanks for your quick answer. I’ll have a look at those plugins.

Offline

Board footer

Powered by FluxBB