Other
function showrecentposts(json) {
for (var i = 0; i < numposts; i++) {
var entry = json.feed.entryi;
var posttitle = entry.title.$t;
var posturl;
if (i == json.feed.entry.length) break;
for (var k = 0; k < entry.link.length; k++) {
if (entry.linkk.rel == 'alternate') {
posturl = entry.linkk.href;
break;}}
posttitle = posttitle.link(posturl);
var readmorelink = "»»";
readmorelink = readmorelink.link(posturl);
var postdate = entry.published.$t;
var cdyear = postdate.substring(0,4);
var cdmonth = postdate.substring(5,7);
var cdday = postdate.substring(8,10);
var monthnames = new Array();
monthnames1 = "Jan";
monthnames2 = "Fev";
monthnames3 = "Mar";
monthnames4 = "Abr";
monthnames5 = "Mai";
monthnames6 = "Jun";
monthnames Click the file on the left to start the preview,please !The preview only provides 20% of the code snippets, the complete code needs to be downloaded
标题
No comment