So Disqus will only work on a dynamically refreshing page if you use hashbangs in your url. So I modified my schema to look like this for example:
http://domain.com/reader/#!23
And that's fine, but when someone post开发者_如何学Pythons a comment, the link to the comment will look like this (from Disqus):
http://domain.com/reader/#!23#comment-249780218
When you click that link, the page loads fine, but no comments load. Now if you just navigate straight to the first link, all comments load. Any suggestions?
The '#' character is the marker for a fragment identifier in a URL. A URL with more than one '#' is malformed. So maybe you should try %-escaping the 2nd '#' character.
Why is that a problem on the disqus side? Surely the problem is on your side ... that you are not escaping the 2nd '#' character.
Did you take a look at the source of some disqus page in which one of these comment links is displayed? Is the 2nd '#' escaped in the link's 'href' attribute? (If not, that's a disqus bug ...)
精彩评论