rendered paste bodyalias test {
sockcklose test
sockopen test rss.cnn.com 80
}
on *:SOCKOPEN:test: {
sockwrite -n $sockname GET /rss/cnn_topstories.rss HTTP/1.1
sockwrite -n $sockname Host: rss.cnn.com $+ $crlf $+ $crlf
}
on *:SOCKREAD:test: {
if ($sockerr) {
echo -a Error.
halt
}
else {
sockread %var
echo -a %var
}
}
on *:sockclose:test:{
}
alias rss {
test
}
<?xml-stylesheet href="http://rss.cnn.com/~d/styles/rss2full.xsl" type="text/xsl" media="screen"?><?xml-stylesheet href="http://rss.cnn.com/~d/styles/itemcontent.css" type="text/css" media="screen"?><rss xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" version="2.0">
<channel>
<title>CNN.com</title>
<link>http://www.cnn.com/?eref=rss_topstories</link>
<description>CNN.com delivers up-to-the-minute news and information on the latest top stories, weather, entertainment, politics and more.</description>
<language>en-us</language>
<copyright>© 2007 Cable News Network LP, LLLP.</copyright>
<pubDate>Sun, 21 Oct 2007 20:35:41 EDT</pubDate>
<ttl>5</ttl>
<image>
<title>CNN.com</title>
<link>http://www.cnn.com/?eref=rss_topstories</link>
<url>http://i.cnn.net/cnn/.element/img/1.0/logo/cnn.logo.rss.gif</url>
<width>144</width>
<height>33</height>
<description>CNN.com delivers up-to-the-minute news and information on the latest top stories, weather, entertainment, politics and more.</description>
</image>
<thespringbox:skin xmlns:thespringbox="http://www.thespringbox.com/dtds/thespringbox-1.0.dtd">http://rss.cnn.com/rss/cnn_topstories?format=skin</thespringbox:skin><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" href="http://rss.cnn.com/rss/cnn_topstories" type="application/rss+xml" /><item>
<title>Wildfires kill 1, injure 8, close highway</title>
<guid isPermaLink="false">http://www.cnn.com/2007/US/10/21/wildfire.ca/index.html</guid>
<link>http://rss.cnn.com/~r/rss/cnn_topstories/~3/172886774/index.html</link>
<description>Fast-moving wildfires in southern California destroyed several homes Sunday, killed one person in San Diego County and closed the Pacific Coast Highway at Malibu. Four firefighters and four civilians were also hurt in the southeastern part of San Diego county.
<p><a href="http://rss.cnn.com/~a/rss/cnn_topstories?a=KCHmui"><img src="http://rss.cnn.com/~a/rss/cnn_topstories?i=KCHmui" border="0"></img></a></p><div class="feedflare">
<a href="http://rss.cnn.com/~f/rss/cnn_topstories?a=ssLostA"><img src="http://rss.cnn.com/~f/rss/cnn_topstories?i=ssLostA" border="0"></img></a> <a href="http://rss.cnn.com/~f/rss/cnn_topstories?a=XT8q6GA"><img src="http://rss.cnn.com/~f/rss/cnn_topstories?i=XT8q6GA" border="0"></img></a> <a href="http://rss.cnn.com/~f/rss/cnn_topstories?a=8PYMzsa"><img src="http://rss.cnn.com/~f/rss/cnn_topstories?i=8PYMzsa" border="0"></img></a> <a href="http://rss.cnn.com/~f/rss/cnn_topstories?a=Mp9qzDA"><img src="http://rss.cnn.com/~f/rss/cnn_topstories?i=Mp9qzDA" border="0"></img></a> <a href="http://rss.cnn.com/~f/rss/cnn_topstories?a=MhwJlSa"><img src="http://rss.cnn.com/~f/rss/cnn_topstories?i=MhwJlSa" border="0"></img></a>
</div><img src="http://rss.cnn.com/~r/rss/cnn_topstories/~4/172886774" height="1" width="1"/></description>
<pubDate>Sun, 21 Oct 2007 20:26:01 EDT</pubDate>
<feedburner:origLink>http://www.cnn.com/2007/US/10/21/wildfire.ca/index.html</feedburner:origLink></item>
<item>
<title>AP: Sexual misconduct plagues schools</title>
<guid isPermaLink="false">http://www.cnn.com/2007/US/10/21/teacher.sex.abuse.ap/index.html</guid>
<link>http://rss.cnn.com/~r/rss/cnn_topstories/~3/172950842/index.html</link>
<description>Read full story for latest details.
<p><a href="http://rss.cnn.com/~a/rss/cnn_topstories?a=QqGIcA"><img src="http://rss.cnn.com/~a/rss/cnn_topstories?i=QqGIcA" border="0"></img></a></p><div class="feedflare">
<a href="http://rss.cnn.com/~f/rss/cnn_topstories?a=d6TJlLA"><img src="http://rss.cnn.com/~f/rss/cnn_topstories?i=d6TJlLA" border="0"></img></a> <a href="http://rss.cnn.com/~f/rss/cnn_topstories?a=Sspxb5A"><img src="http://rss.cnn.com/~f/rss/cnn_topstories?i=Sspxb5A" border="0"></img></a> <a href="http://rss.cnn.com/~f/rss/cnn_topstories?a=14GvNOa"><img src="http://rss.cnn.com/~f/rss/cnn_topstories?i=14GvNOa" border="0"></img></a> <a href="http://rss.cnn.com/~f/rss/cnn_topstories?a=T6FI9GA"><img src="http://rss.cnn.com/~f/rss/cnn_topstories?i=T6FI9GA" border="0"></img></a> <a href="http://rss.cnn.com/~f/rss/cnn_topstories?a=BjXLlaa"><img src="http://rss.cnn.com/~f/rss/cnn_topstories?i=BjXLlaa" border="0"></img></a>
</div><img src="http://rss.cnn.com/~r/rss/cnn_topstories/~4/172950842" height="1" width="1"/></description>
<pubDate>Sun, 21 Oct 2007 12:51:27 EDT</pubDate>
<feedburner:origLink>http://www.cnn.com/2007/US/10/21/teacher.sex.abuse.ap/index.html</feedburner:origLink></item>
<item>
<title>Louisiana elects youngest governor in U.S.</title>
<guid isPermaLink="false">http://www.cnn.com/2007/POLITICS/10/21/louisiana.governor.ap/index.html</guid>
<link>http://rss.cnn.com/~r/rss/cnn_topstories/~3/172856625/index.html</link>
<description>Read full story for latest details.
<p><a href="http://rss.cnn.com/~a/rss/cnn_topstories?a=rCQaBH"><img src="http://rss.cnn.com/~a/rss/cnn_topstories?i=rCQaBH" border="0"></img></a></p><div class="feedflare">
<a href="http://rss.cnn.com/~f/rss/cnn_topstories?a=zNnU5rA"><img src="http://rss.cnn.com/~f/rss/cnn_topstories?i=zNnU5rA" border="0"></img></a> <a href="http://rss.cnn.com/~f/rss/cnn_topstories?a=bIvUImA"><img src="http://rss.cnn.com/~f/rss/cnn_topstories?i=bIvUImA" border="0"></img></a> <a href="http://rss.cnn.com/~f/rss/cnn_topstories?a=rsCmEKa"><img src="http://rss.cnn.com/~f/rss/cnn_topstories?i=rsCmEKa" border="0"></img></a> <a href="http://rss.cnn.com/~f/rss/cnn_topstories?a=CpbF5tA"><img src="http://rss.cnn.com/~f/rss/cnn_topstories?i=CpbF5tA" border="0"></img></a> <a href="http://rss.cnn.com/~f/rss/cnn_topstories?a=s7vrDDa"><img src="http://rss.cnn.com/~f/rss/cnn_topstories?i=s7vrDDa" border="0"></img></a>
</div><img src="http://rss.cnn.com/~r/rss/cnn_topstories/~4/172856625" height="1" width="1"/></description>
<pubDate>Sun, 21 Oct 2007 09:01:49 EDT</pubDate>
<feedburner:origLink>http://www.cnn.com/2007/POLITICS/10/21/louisiana.governor.ap/index.html</feedburner:origLink></item>
<item>