How To: Customize Your Feeds’ Cullect.com Feed Statistics Widget
Cullect has a simple javascript widget that displays all the information Cullect has about your feed, all in a single line of code, all ready for embedding on your own blog:
<script type="text/javascript" src="http://www.cullect.com/feed.js"></script>
You can see the Feed Stats widget in action right here at blog.cullect.com and at GarrickVanBuren.com. For more the sites using it, check out the Widget archive of this blog.
By default, the Feed Stats widget shows;
- 10 Most Important items as ranked by Cullect.com’s Importance algorithm
- Amount of money donated and number of patrons to the feed
- The lists of reading lists the feed is in
- Link to create new Cullect reading list with the feed
- Link back to Cullect.com
If you’d rather show the 10 Most Important items, change the code to include “selected=recommended“:
<script type="text/javascript" src="http://www.cullect.com/feed.js?selected=recommended“></script>
If you only want the 5 Most Recommended items, just say “count=5“:
<script type="text/javascript" src="http://www.cullect.com/feed.js?count=5&selected=recommended”></script>
If you don’t want to show the donations (”show_patrons“) or the Reading Lists (show_lists), change the code to:
<script type="text/javascript" src="http://www.cullect.com/feed.js?show_patrons=0&show_lists=0“></script>
And, just like that you’ve customized the which statistics Cullect displays on your blog.
The Feed Stats widget, like all Cullect.com widgets, adopts the CSS of the site they’re embedded on. If you’d like to change how it looks, here’s a breakdown of the HTML & CSS. Make it look cool.
<span class='cullect-widget' id='cullect-feed-stats'>
<h3>[Your Blog] at Cullect.com</h3>
<ul id=’[recommended-items OR important-items]‘>
<li></li>
</ul>
<p id=’feed-patrons’></p>
<p id=’feed-reading-lists’></p>
<p id=’start-reading-list’><strong></strong></p>
<p><small></small></p>
</span>
comments
Leave a Reply