voluntaryist / site

voluntaryist.com website
10 stars 3 forks source link

Disqus comments #13

Open dscotese opened 7 years ago

dscotese commented 7 years ago

Some of the pages on the legacy site have diqus comments. I (Dave) have enjoyed responding to folks who leave comments, so the issue here is to get Disqus comments working on the wordpress site once it replaces the existing site. Disqus provides some ideas on how we can preserve the existing comments. I think the easiest is to use the same URL, but the issue needs to be explored in light of the fact that part of what we are doing involves using better URLs. I think Disqus has a way to upload URL changes so that comments made to old URLs will show up on the content when it has a new URL.

Shepardh1 commented 7 years ago

I will back out of this topic and leave it to ya'll. :)

Shepard Humphries | www.ShootInJH.com http://www.shootinjh.com/ *Jackson Hole Shooting Experience | *Proudly the international leader in luxury entertainment shooting.

On Fri, Jan 6, 2017 at 10:34 PM, Dave Scotese notifications@github.com wrote:

Some of the pages on the legacy site have diqus comments. I (Dave) have enjoyed responding to folks who leave comments, so the issue here is to get Disqus comments working on the wordpress site once it replaces the existing site. Disqus provides some ideas on how we can preserve the existing comments. I think the easiest is to use the same URL, but the issue needs to be explored in light of the fact that part of what we are doing involves using better URLs. I think Disqus has a way to upload URL changes so that comments made to old URLs will show up on the content when it has a new URL.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/voluntaryist/site/issues/13, or mute the thread https://github.com/notifications/unsubscribe-auth/ANoZO7BvtCZBvFpVziKGF3oZoTggcoBtks5rPyPOgaJpZM4LdVv_ .

dooglio commented 7 years ago

Wordpress does allow you to customize the URL, from what I've seen. However, I don't think it will allow you to make it look exactly like the old site. I've never installed Disqus on any site, so I don't know how to admin that. Still, it would be nice to see how porting a legacy site works.

~Doug Barbieri

dooglio commented 7 years ago

And a quick search turned this up:

Disqus Support

Users currently can import from WordPress, MovableType, and IntenseDebate, as well as certain versions of JS-Kit/Echo. For any other platforms, we suggest using our custom XML import format.

dooglio commented 7 years ago

Importing & Exporting

Disqus provides an export of all comments on your site in a g-zipped file. This is found in your Moderation panel at Disqus Admin > Setup > Export. The export will be sent into a queue and then emailed to the address associated with your account once it's ready.

Note that this file can't be re-imported into Disqus as-is.

So at least we could export from the existing site, massage the XML into a format we want, then reimport. Sounds like it might be a lot of work, so some basic scripting would help with that.

dscotese commented 7 years ago

Another issue at play here is that there are links all over the Internet pointing to the legacy URLs. My plan was to use better URLs on the WP site and then add 301 permanent redirects for everything. However, there is another angle to consider. The server can receive a request for a legacy URL and NOT do a redirect, but instead set itself up through PHP to return the same content that the new URL would return. In this way, both URLs would produce the same output (because of the PHP we add to all the existing pages). This is really just moving the internal HTTPServer redirect functionality into PHP, and I don't know which way is better. Okay, I see after re-reading that the redirects are best because that way, Disqus only has to put the comments on one URL.

In any case, since I want us to have better URLs and comments exist on the legacy URLs, I think the page at http://kenyagjohnson.com/techbytes/2013/5/19/change-url-without-losing-comments and the pages to which it links will be good resources.