Skip to content

Instantly share code, notes, and snippets.

@bradoyler
Last active December 11, 2015 22:09
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save bradoyler/4667849 to your computer and use it in GitHub Desktop.
Save bradoyler/4667849 to your computer and use it in GitHub Desktop.
newsvine comment counter, which I can't get working.
<script language="javascript" type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.8.2/jquery.min.js"></script>
<script type='text/javascript' src='http://www.cdn.newsvine.com/_elliott/jenga.php?widgets=core%2Czinger%2Cfb%2Ctroff&#038;ver=1.0'></script>
This doesn't work':
<a class="j_troff_count" data-verbose="0" data-public-only="1"
data-title="Minimalist mom vows to spend nothing on her kid in 2013"
href="http://moms.today.com/_news/2013/01/25/16697528-minimalist-mom-vows-to-spend-nothing-on-her-kid-in-2013">test fails</a>
But this does:
<a class="j_troff_count" data-verbose="0" data-public-only="1"
data-title="Obama: &#8216;Now&#8217;s the time&#8217; for immigration&nbsp;reform"
href="http://tv.msnbc.com/2013/01/29/obama-nows-the-time-for-immigration-reform/">test passes</a>
@bradoyler
Copy link
Author

above article should have 80+ comments

@bradoyler
Copy link
Author

updated to show a better example. 1 doesn't work, the other one DOES.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment