Add Auto-Refreshing RSS Feeds to Your Protopage
Some/many of you may be familiar with the Ajax designed Protopage.com where you can design custom start pages. One of the things you can do is create a sticky note to be treated as HTML. Using the iframe html tag and some help from rss-info.com you can wrap a nice feed into one of these sticky notes. Try the following.
<iframe name=digg_frame width="350" height="350"
onload="javascript:setTimeout('digg_frame.location.reload()',120000);"
src="http://www.rss-info.com/rss2.php?integration=if&windowopen=1
&rss=http%3A%2F%2Fwww.digg.com%2Frss%2Findex.xml&number=10
&amp;amp;amp;amp;amp;width=350
&height=150&ifbgcol=ffffff&bordercol=ffffff
&textbgcol=ffffff&rssbgcol=F0F0F0
&showrsstitle=0&showtext=1" frameborder=0></iframe>
Here's a frame resulting from that code. Parsing through the src tag, you can quickly see how to make your own.
Okay, now for the auto-refresh part. For your onload tag of the iframe, try the following:
onload="javascript:setTimeout( 'digg_frame.location.reload()',120000);"
Now you have some html to create an auto-refreshing RSS feed "sticky note" in protopage.


0 Comments:
Post a Comment
<< Home