×

Notice

The forum is in read only mode.
Welcome, Guest
Username: Password: Remember me
  • Page:
  • 1

TOPIC: Importing Disqus comments

Importing Disqus comments 12 years 5 months ago #14485

  • Garth Aasen
  • Garth Aasen's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 7
  • Thank you received: 0
I'm moving from Disqus to compo. Problem is, i can't figure out how to use the Disqus comment export xml file to move my site's comments to compojoom.

Here's some info:
docs.disqus.com/developers/export/
Here's an example of my site implementation:
www.eezysteezy.com/es-blog-4/49-donek-bo...a-cut-above-the-rest

Thanks in advance for your help!

Importing Disqus comments 12 years 5 months ago #14488

  • Daniel Dimitrov
  • Daniel Dimitrov's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 9618
  • Karma: 155
  • Thank you received: 1081
Hey Garth,
Wow, to be honest I never thought about disqus and an option to import the comments. Now that you mention this I wonder what I was thinking...

Disqus has a different xml export structure that the one of phpmyadmin for example that is why I will need to write you a small script that will import the comments. Give me few hours!

Cheers,
Daniel

Importing Disqus comments 12 years 5 months ago #14494

  • Daniel Dimitrov
  • Daniel Dimitrov's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 9618
  • Karma: 155
  • Thank you received: 1081
I'm nearly ready with the script... How many thousands of comments do you have in disqus?
Daniel

Importing Disqus comments 12 years 5 months ago #14497

  • Garth Aasen
  • Garth Aasen's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 7
  • Thank you received: 0
Thousands??? Wow. You overestimate. Let's just say less than 1000.

Importing Disqus comments 12 years 5 months ago #14499

  • Daniel Dimitrov
  • Daniel Dimitrov's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 9618
  • Karma: 155
  • Thank you received: 1081
Hey Garth,
I have the script for joomla 1.5...
I'm going on the road today and tomorrow I'll give you the script + instructions how to use it.
Thanks for your patience!
Daniel

Importing Disqus comments 12 years 5 months ago #14541

  • Daniel Dimitrov
  • Daniel Dimitrov's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 9618
  • Karma: 155
  • Thank you received: 1081
So! There we go!
compojoom.com/blog/news/import-comments-from-disqus

Let me know if you encounter any problems.
Daniel

Importing Disqus comments 12 years 5 months ago #14543

  • Garth Aasen
  • Garth Aasen's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 7
  • Thank you received: 0
I'm extremely impressed with your help. Thanks so much for working on this. I've followed your instructions and ended up with this error:

Fatal error: Call to undefined method SimpleXMLElement::__toString() in /home/eezystee/public_html/disqus/disqus.php on line 57

Any Ideas???

Importing Disqus comments 12 years 5 months ago #14544

  • Daniel Dimitrov
  • Daniel Dimitrov's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 9618
  • Karma: 155
  • Thank you received: 1081
Hey Garth,
What is your php version? I'm on php 5.3

Importing Disqus comments 12 years 5 months ago #14549

  • Garth Aasen
  • Garth Aasen's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 7
  • Thank you received: 0
Just upgraded to php 5.3.8 and tried again. Here's what I got this time:

Warning: simplexml_load_file() [function.simplexml-load-file]: I/O warning : failed to load external entity "disqus.xml" in /home/eezystee/public_html/disqus/disqus.php on line 46

Warning: Invalid argument supplied for foreach() in /home/eezystee/public_html/disqus/disqus.php on line 52

Warning: Invalid argument supplied for foreach() in /home/eezystee/public_html/disqus/disqus.php on line 64

Any thoughts?

Importing Disqus comments 12 years 5 months ago #14550

  • Daniel Dimitrov
  • Daniel Dimitrov's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 9618
  • Karma: 155
  • Thank you received: 1081
Hey Garth - well it basically says that it cannot find the disqus.xml file?? Did you place it in the same folder as the disqus.php ?

Btw, you can also give me access to your site and I can do all this for you ;)
Cheers,
Daniel

Importing Disqus comments 12 years 5 months ago #14552

  • Garth Aasen
  • Garth Aasen's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 7
  • Thank you received: 0
Very, very awesome. Worked perfect. Thanks so much for your efforts. Above and beyond.

Importing Disqus comments 12 years 5 months ago #14553

  • Daniel Dimitrov
  • Daniel Dimitrov's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 9618
  • Karma: 155
  • Thank you received: 1081
You are always welcome to leave a review here :
extensions.joomla.org/extensions/contact...icles-comments/12259

I'm happy that it is all working now for you!
Daniel

Importing Disqus comments 12 years 5 months ago #14554

  • Garth Aasen
  • Garth Aasen's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 7
  • Thank you received: 0
The review is already submitted. Oh, and I'm using Joomla 1.7 and it worked perfect.

*off topic* Also, do you have a comment on this older thread I found?

compojoom.com/forum/1-general/2-general-...egistered-user-login

Thanks again.
  • Page:
  • 1
Time to create page: 0.152 seconds