|Rendering Comments Server-Side; Conflicts with Universal Code?||Hank Sims||11/18/11 10:27 AM|
I'd like to use the API to sync comments to my own database and render
them server-side. But if I'm still including the Universal Code so
that people can enter new comments, wouldn't each comment render twice
-- once from my server, and once from the widget that the Universal
Code imports into my page?
I know that people do this, so there must be a solution. Sorry if it's
documented somewhere, but I'm unable to find it.
|Re: [disqus-dev] Rendering Comments Server-Side; Conflicts with Universal Code?||Michael HP||11/19/11 3:17 AM|
i'm currently working on a similar project. Yes the comments will be
rendered twice, once by you(the server) and once by the client using
i'm guessing you want to render the comments server side to either
make them available for search engine indexing or to run your own
statistics on them; as far as i know, server side rendering is the
only solution to this, unless you want to use a plugin like
"Wordpress" that supports functionality like that.