var feed={title:'电影点评网',link:'http://www.filmman.cn',items:[{title:'《孔子》：长歌当哭祭圣贤',link:'http://item.feedsky.com/~feedsky/filmman/~7649590/325980150/5758705/1/item.html',pubDate:'Tue, 26 Jan 2010 16:23:14 +0800',author:'ZZX'},{title:'广电总局回应传闻 否认《阿凡达》会被强制下片',link:'http://item.feedsky.com/~feedsky/filmman/~7649590/325980151/5758705/1/item.html',pubDate:'Thu, 21 Jan 2010 14:05:15 +0800',author:'admin'},{title:'视频: 阿凡达特辑潘多拉的世界（电影中没有的哦）',link:'http://item.feedsky.com/~feedsky/filmman/~7649590/325980152/5758705/1/item.html',pubDate:'Tue, 19 Jan 2010 11:54:15 +0800',author:'admin'},{title:'80后玩家全手工制作“SD娃娃版阿凡达”',link:'http://item.feedsky.com/~feedsky/filmman/~7649590/325980153/5758705/1/item.html',pubDate:'Tue, 19 Jan 2010 11:13:40 +0800',author:'admin'},{title:'《邻家特工》：龙哥只是伸了个懒腰',link:'http://item.feedsky.com/~feedsky/filmman/~7649590/325980154/5758705/1/item.html',pubDate:'Sun, 17 Jan 2010 11:37:53 +0800',author:'ZZX'},{title:'《孔子》沪上首映 发哥发飙：看了不哭还是人吗',link:'http://item.feedsky.com/~feedsky/filmman/~7649590/325980155/5758705/1/item.html',pubDate:'Sun, 17 Jan 2010 11:26:12 +0800',author:'admin'},{title:'梵底冈抨击《阿凡达》：陷入自然崇拜泥沼之中',link:'http://item.feedsky.com/~feedsky/filmman/~7649590/325980156/5758705/1/item.html',pubDate:'Wed, 13 Jan 2010 20:31:20 +0800',author:'admin'},{title:'《阿凡达》被网友挑刺 “穿帮镜头”逐一曝光',link:'http://item.feedsky.com/~feedsky/filmman/~7649590/325980157/5758705/1/item.html',pubDate:'Wed, 13 Jan 2010 17:45:11 +0800',author:'admin'},{title:'《成事在人》：两个影坛“老混混”的梦想',link:'http://item.feedsky.com/~feedsky/filmman/~7649590/325980158/5758705/1/item.html',pubDate:'Tue, 12 Jan 2010 12:36:17 +0800',author:'ZZX'},{title:'2009电影给我们的66条忠告',link:'http://item.feedsky.com/~feedsky/filmman/~7649590/325980159/5758705/1/item.html',pubDate:'Tue, 12 Jan 2010 11:13:02 +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);