var feed={title:'四六级学习网',link:'http://www.cetstudy.cn',items:[{title:'大学攻略',link:'http://www.cetstudy.cn/cet-writing/cet6-writing/93384.html',pubDate:'Fri, 10 Feb 2012 17:15:20 +0800',author:'admin'},{title:'2008年12月英语六级考试备考全攻略',link:'http://www.cetstudy.cn/cet-writing/cet6-writing/93383.html',pubDate:'Fri, 10 Feb 2012 17:12:00 +0800',author:'admin'},{title:'童鞋们~!2011年四六级作文预测+最后攻略+710分计分原理和简单换算(考前必看,考后自己算分咯。)',link:'http://www.cetstudy.cn/cet-writing/cet6-writing/93382.html',pubDate:'Fri, 10 Feb 2012 17:08:40 +0800',author:'admin'},{title:'同济烈士攻略',link:'http://www.cetstudy.cn/cet-writing/cet6-writing/93381.html',pubDate:'Fri, 10 Feb 2012 17:05:20 +0800',author:'admin'},{title:'说好的英语六级攻略呢?',link:'http://www.cetstudy.cn/cet-writing/cet6-writing/93380.html',pubDate:'Fri, 10 Feb 2012 17:02:00 +0800',author:'admin'},{title:'2011年大学英语四级考试听力短对话攻略',link:'http://www.cetstudy.cn/cet-writing/cet6-writing/93379.html',pubDate:'Fri, 10 Feb 2012 16:58:40 +0800',author:'admin'},{title:'а╫уп╩ф╫П╧╔бтгАх║яек╪тд╤а',link:'http://www.cetstudy.cn/cet-writing/cet6-writing/93378.html',pubDate:'Fri, 10 Feb 2012 16:55:20 +0800',author:'admin'},{title:'[热门]童鞋们~!2011年四六级作文预测 最后攻略 710分计分原理和简单换算(考前必看,考后自己算分咯。)',link:'http://www.cetstudy.cn/cet-writing/cet6-writing/93377.html',pubDate:'Fri, 10 Feb 2012 16:52:00 +0800',author:'admin'},{title:'2006年6月英语六级考前冲刺模拟题(含听力音频)',link:'http://www.cetstudy.cn/cet-writing/cet6-writing/93376.html',pubDate:'Fri, 10 Feb 2012 16:48:40 +0800',author:'admin'}],encoding:'utf8'};
function outfeed(feed){
	//begin body
	document.write('<div style="border: 1px solid rgb(188, 204, 235); margin: 0.5em; padding: 0pt; background: rgb(255, 255, 255) none repeat scroll 0%; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial; text-align: left; text-indent: 0pt; text-decoration: none; font-weight: normal; font-family: arial,sans-serif; font-size: 10pt; -moz-border-radius-topleft: 8px; -moz-border-radius-topright: 8px; -moz-border-radius-bottomright: 8px; -moz-border-radius-bottomleft: 8px;" id="readerpublishermodule0" class="reader-publisher-module">');
	//begin title
	document.write('<h3 style="border-style: none none solid; border-color: -moz-use-text-color -moz-use-text-color rgb(188, 204, 235); border-width: medium medium 1px; margin: 0pt 0.5em; padding: 0.2em 0pt; background: transparent none repeat scroll 0%; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial; text-align: left; text-indent: 0pt; text-decoration: none; font-weight: normal; -moz-border-radius-topleft: 8px; -moz-border-radius-topright: 8px; -moz-border-radius-bottomright: 0pt; -moz-border-radius-bottomleft: 0pt; color: rgb(9, 9, 146);">');
	document.write('<a href="'+feed.link+'" >');
	document.write(feed.title);
	document.write('</a>');
	document.write('</h3>');
	//end title
	//begin items 
	document.write('<ul style="border: medium none ; margin: 0pt 0.5em; padding: 0.2em; background: transparent none repeat scroll 0%; overflow: hidden; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial; text-align: left; text-indent: 0pt; text-decoration: none; font-weight: normal;">');
	for(var i=0;i<feed.items.length;i++){
		var item=feed.items[i];
		//begin item
		document.write('<li style="border: medium none ; margin: 0pt; padding: 0.4em 0pt; background: transparent none repeat scroll 0%; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial; text-align: left; text-indent: 0pt; text-decoration: none; font-weight: normal; list-style-type: none;">');
		//begin item title
		document.write('<a style="border-style: none none solid; border-color: -moz-use-text-color -moz-use-text-color rgb(122, 126, 224); border-width: medium medium 1px; margin: 0pt; padding: 0pt; background: transparent none repeat scroll 0%; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial; text-align: left; text-indent: 0pt; text-decoration: none; font-weight: normal; color: rgb(16, 16, 200);" class="i" ');
		//fill link title
		var re = /([\"\n\\])/g;
        var desc = item.title;
        desc=desc.replace(re, "");
        re = /<[\s\S]+?>/g;
        desc = desc.replace(re, "");
        desc=item.pubDate+":"+desc;
		document.write('title="'+desc+'" ');
		//fill link url
		document.write('href="'+item.link+'">');
		//fill title text
		document.write(item.title);
		//end item title
		document.write('</a>');
		//end item 
		document.write('</li>');
	}
	//end items
	document.write('</ul>');
	//begin home link
	//tail style
	document.write('<div style="border-style: solid none none; border-color: rgb(188, 204, 235) -moz-use-text-color -moz-use-text-color; border-width: 1px medium medium; margin: 0pt; padding: 0.2em 8px; background: rgb(229, 236, 249) none repeat scroll 0%; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial; text-align: right; text-indent: 0pt; text-decoration: none; font-weight: normal; -moz-border-radius-topleft: 0pt; -moz-border-radius-topright: 0pt; -moz-border-radius-bottomright: 4px; -moz-border-radius-bottomleft: 4px; font-size: small; white-space: nowrap;" class="f">');
	document.write('<a href="'+feed.selflink+'" ');
	document.write('style="border: medium none ; margin: 0pt; padding: 0pt; background: transparent none repeat scroll 0%; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial; text-align: left; text-indent: 0pt; text-decoration: underline; font-weight: normal; color: rgb(137, 141, 233);">');
	document.write('Read in Feedsky');
	document.write('</a>');
	document.write('</div>');
	//end home link
	//end body
	document.write('</div>');
}
outfeed(feed);
