var feed={title:'我的网络生活',description:'Record of my daily life',link:'http://www.hotopics.cn',items:[{title:'…',link:'http://item.feedsky.com/~feedsky/hotopics/~7688710/342163267/5797862/1/item.html',pubDate:'Mon, 15 Mar 2010 17:53:28 +0800',author:'hotopics'},{title:'…',link:'http://item.feedsky.com/~feedsky/hotopics/~7688710/342163268/5797862/1/item.html',pubDate:'Mon, 15 Mar 2010 17:36:45 +0800',author:'hotopics'},{title:'小蝌蚪的30种创意死法',link:'http://item.feedsky.com/~feedsky/hotopics/~7688710/342139537/5797862/1/item.html',pubDate:'Mon, 15 Mar 2010 13:04:02 +0800',author:'hotopics'},{title:'每周星运',link:'http://item.feedsky.com/~feedsky/hotopics/~7688710/341232964/5797862/1/item.html',pubDate:'Fri, 12 Mar 2010 20:18:28 +0800',author:'hotopics'},{title:'某人发帖问：“如果卫生巾改名，你觉得叫什么最好？”豆瓣上的豆友们给出了这样几个回…',link:'http://item.feedsky.com/~feedsky/hotopics/~7688710/341232965/5797862/1/item.html',pubDate:'Fri, 12 Mar 2010 16:37:11 +0800',author:'hotopics'},{title:'偶尔翻看新京报，公务员考试 要通过这样备注的 那还有什么平等和择优录取呢？',link:'http://item.feedsky.com/~feedsky/hotopics/~7688710/341232966/5797862/1/item.html',pubDate:'Fri, 12 Mar 2010 16:25:47 +0800',author:'hotopics'},{title:'幸福就是——猫吃鱼，狗吃肉，奥特曼打打小怪兽；则不幸是什么？猫无鱼，狗无肉，奥特…',link:'http://item.feedsky.com/~feedsky/hotopics/~7688710/341232967/5797862/1/item.html',pubDate:'Fri, 12 Mar 2010 15:52:44 +0800',author:'hotopics'},{title:'海波，这次全靠你了，希望能如愿所尝！阿门，保佑我吧！',link:'http://item.feedsky.com/~feedsky/hotopics/~7688710/341232968/5797862/1/item.html',pubDate:'Fri, 12 Mar 2010 15:35:42 +0800',author:'hotopics'},{title:'女朋友的妈妈说了，如果她要是选择和我在一起，以后都不会再贴她了，要我们自生自灭了',link:'http://item.feedsky.com/~feedsky/hotopics/~7688710/341232969/5797862/1/item.html',pubDate:'Fri, 12 Mar 2010 14:26:33 +0800',author:'hotopics'},{title:'请问谁有技校门的视频',link:'http://item.feedsky.com/~feedsky/hotopics/~7688710/341232970/5797862/1/item.html',pubDate:'Fri, 12 Mar 2010 10:04:33 +0800',author:'hotopics'}],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);