其他
/**Headline News Script * Originally written by: duelpast * Website: Info Blog (http://duelpast.blogspot.com/) * On 08th 16 july 2010 * * predefined variables are: * hn_url_blog * hn_jumlah_post * hn_warna_teks * hn_warna_latar * hn_backlink * var hn_entries; var hn_feed; var hn_feed_url = hn_url_blog.match(/\/$/) ? hn_url_blog : hn_url_blog+"/"; hn_feed_url += "feeds/posts/default";**
function hn_createEntries(){
var entries = hn_feed.entry; var entriesArr = .md; for(var i=0; i<hn_jumlah_post; i++){
var entry = entriesi; var entryObj = new Object(); entryObj.title = entry.title.$t; entryObj.href = hn_getHref(entry.link); entriesArr.push(entryObj);
} return entriesArr; } function hn_getBlogTitle(){ return hn_feed.title.$t; } function hn_getBlogURL(){ return hn_getHref(hn_feed.link); } function hn_getHref(links){ for(var i=0; i<links.length; i++){
暂无评论