' visit http://bytescout.com/rss2htmlscout_example_asp.html for full version of this example
' converting RSS to HTML with ASP. Check /Examples/ASP/ sub-folder for full source
' code for this example

<html><body>

Below is HTML code generated by <a href="http://www.bytescout.com/rss2htmlscout.html">RSS2HTML Scout library</a>. <b>ItemsPerFeed</b> property = 3 so only 3 newest items are displayed per feed.

<%
' uncomment line below to force cache refresh on every script load
Response.Expires = -1

Set RSS2HTML = CreateObject("RSS2HTMLScoutLib.RSS2HTMLScout")

RSS2HTML.MainHeader = "<HR>main header here<HR>"
RSS2HTML.MainFooter = "<HR>main footer  here<HR>"
RSS2HTML.ItemsPerFeed = 3

' ##### we can add more than one RSS feed #########
RSS2HTML.AddFeed  "http://bytescout.com/news.xml", 180 ' update every 180 minutes (3 hours)
RSS2HTML.AddFeed  "http://rss.news.yahoo.com/rss/internet", 180
RSS2HTML.AddFeed  "http://www.apple.com/main/rss/hotnews/hotnews.rss", 180
' RSS2HTML.AddFeed  "http://google.blogspace.com/index.xml", 10
' RSS2HTML.AddFeed  "http://blogs.pcworld.com/staffblog/index.rss", 10
' RSS2HTML.AddFeed  "http://www.quotationspage.com/data/qotd.rss", 10

RSS2HTML.Execute

Response.Write RSS2HTML.HTMLOutput

Set RSS2HTML = nothing

%>

</body></html>

' visit http://bytescout.com/rss2htmlscout_example_asp.html for full version of this example

Copyright 2005-2006