Last active
December 11, 2015 22:09
-
-
Save bradoyler/4667849 to your computer and use it in GitHub Desktop.
newsvine comment counter, which I can't get working.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<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&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: ‘Now’s the time’ for immigration reform" | |
href="http://tv.msnbc.com/2013/01/29/obama-nows-the-time-for-immigration-reform/">test passes</a> | |
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
above article should have 80+ comments