资 源 简 介
Offers a fast and lean JSON-based Friendfeed badge without stalling the rest of the page loading. Currently supports blog input, text input (such as Twitter) and pictures from Flickr and Smugmug.
Settings
Choose the appropriate settings at the top of the JavaScript file. Example:
var settings = { userName : "robertnyman", // Your Friendfeed user name itemsToShow : 5, // Number of Friendfreed items to retrieve itemToAddBadgeTo : "friendfeed-badge", // Id of HTML element to put badge code into imageSize : 100, // Suggested values: 75, 100, 250, 400 or 500 showServiceIcons : true, // Apply icons for each service from Friendfeed. Each list item get a service class name, for custom CSS styling timeToWait : 2000 // Milliseconds, 1000 = 1 second};
Please note that this JavaScript file has to be included after the HTML element with the ID specified in the itemToAddBadgeTo property.
Suggested CSS
<