Post URL and post title don't work correctly.
I'm trying to integrate IntenseDebate with drupal, and ends up with the following code:
<script>
var idcomments_acct = '***********************************';
var idcomments_post_id = '1';
var idcomments_post_url = "http://infosik.net/powered-drupal";
var idcomments_post_title = "Powered by Drupal";
</script><span id="IDCommentsPostTitle" style="display:none"></span><script type='text/javascript' src='http://www.intensedebate.com/js/genericCommentWrapperV2.js'></script>
This works somehow, but the links and title specified in var idcomments_post_url and idcomments_post_title is not used correctly by ID. Am I missing something?
<script>
var idcomments_acct = '***********************************';
var idcomments_post_id = '1';
var idcomments_post_url = "http://infosik.net/powered-drupal";
var idcomments_post_title = "Powered by Drupal";
</script><span id="IDCommentsPostTitle" style="display:none"></span><script type='text/javascript' src='http://www.intensedebate.com/js/genericCommentWrapperV2.js'></script>
This works somehow, but the links and title specified in var idcomments_post_url and idcomments_post_title is not used correctly by ID. Am I missing something?
1
person has this question
I have this question, too!
Tell me when someone answers.
The more people who ask this question, the more it gets noticed.
The more people who ask this question, the more it gets noticed.
Create a customer community for your own organization
Plans starting at $19/month
-
Inappropriate?The title should go inside the span (this gets around issues with quotes and apostrophes). So it should be something like:
TITLE GOES HERE
Not sure if that could affect the url or not, but please give that a try. -
I think it's amazing that this isn't documented anywhere.
All docs say 'idcomments_post_title', which apparently isn't used at all.
I've even had a long support request about just this, which still wasn't resolved... untill I found this little thread. -
Inappropriate?Just bumped into it. The documentation says
idcomments_post_title: This is title of the post or page. This is the title that will be displayed in rss feeds and on IntenseDebate.com. The default value is the title of the current page.
which can't possibly work, because of
if(document.getElementById("IDCommentsPostTitle") && document.getElementById("IDCommentsPostTitle").innerHTML.length>0)
idcomments_post_title = document.getElementById("IDCommentsPostTitle").innerHTML;
else
idcomments_post_title = document.title;
the span solution is, of course, better, but the documentation is misleading.
I’m silly
Loading Profile...


EMPLOYEE
