×

Notice

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

TOPIC: Intensedebate migration

Intensedebate migration 12 years 6 months ago #15970

  • euphemus
  • euphemus's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 3
  • Thank you received: 0
Daniel,

The compojoom comments looks really good (why are you using Kunena?)

Problem is I have all my comments in intensedebate. Is this the same as discus? Can I import them into compojoom? I'd love it if I could.

Thanks.

Re: Intensedebate migration 12 years 6 months ago #15981

  • Daniel Dimitrov
  • Daniel Dimitrov's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 9618
  • Karma: 155
  • Thank you received: 1081
Hey Euphemus. I'm wondering does disqus offer import from intensedebate :D

If they do, then you can import the comments into disqus and then import into compojoom :)

Currently we don't have support for intensedebate comments. I'll need to look into their API, but this doesn't have high priority. First we need to get the new alpha of ccomment5 - fully MVC architecture - it is going to be awesome :)

Cheers,
Daniel

Re: Intensedebate migration 12 years 6 months ago #15984

  • euphemus
  • euphemus's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 3
  • Thank you received: 0
Thanks Dim for the response.

I was getting rather desperate as my site was off-line until the comments were back up and I have given up on IntenseDebate. So, as usual for me, it was a case of create a solution with what I have (do the best with what you've got) - this is a bit hap hazard but it might help others as inexperienced as me who are in need of help.

I went with Jcomments - after inspecting their SQL schema, their's was the one most like ID's. I think however that the process I used would work equally as well for Compojoom (might have to fix up an extra table).

After noting down the SQL table specifics, I took the dump file from ID and copy/pasted it into WORD (yes, MS Word). There using find/repalce I removed all the coding ("<[CDATA(... blah blah blah)) and replaced it with neat simple refs per line like "ID, PARENT, TEXT, IP, NAME..." etc. Each ref was on a new line with a tab between the ref and the data. Then I removed all the excess para-breaks on the "text" line and replaced them with "<br />". Then all the strange coded formats "&lqu;" etc. and replaced them with their real chars. Then I escaped the apostrophes with find/replace. I added a "XXNEW" ref line before each record.

Then I copy/pasted that to excel (yes, MS excel). There I wrote some VBA to take the data from the now modified ID dump and convert it (line by line) to the Jcomments table structure and simultaneously add the SQL "INSERT INTO" grammar.

Once that was done... I copy/pasted the output into phpSQL on the server and loaded it up... I had all my comments back with everything as it was, including voting, and all in perfect order (nested)! It took half a day all up but it did work.

It is a very indirect method but it did work. Just be careful of the user IDs (where in doubt set to anonymous (JComs = 0)). I liked using word and excel because it gave me a visual interface with the data - I really need to see it to fix it and it used simple tools I'm really familiar with.

Anyway, I hope I don't sound like a complete idiot - I'm sure their are faster ways but without doing weeks of research I am not able to do them - this used what I had to get the result.

This process might work for Compojoom too - if you have IntenseDebate you might adapt this procedure. MORAL OF THE STORY: As always with anything IT, THERE IS ALWAYS A WAY! ;)

Re: Intensedebate migration 12 years 6 months ago #15985

  • euphemus
  • euphemus's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 3
  • Thank you received: 0
I looked into the ID --> Disqus --> Compojoom (I looked at many avenues similar (great minds thank alike)) but none could do it and keep the data structure intact - they each lost something (like voting rank, or nesting) on the way across. So it was back to the old drawing board (and microsoft of all things! - you could probably use OpenOffice for all you flaming Linux-trolls out there).
  • Page:
  • 1
Time to create page: 0.097 seconds