This is a quick start tutorial on converting and filtering mutliple RSS feeds into HTML code using MultiRSS2HTML ASP script in ASP or ASP.NET environment. This script is included into commercial “Pro” version of freeware RSS2HTML.asp script.
This script can be used standalone or incorporated into existing web-page.
Benefits of PRO version:
PRO version uses the following HTML template code (you can adjust this code in helper RSS2HTMLProForMultiRSS2HTML.asp script to fit your design or contact us to help you if you are a registered user of PRO version):
‘ ##### Main template constants
‘ ##### {CHANNELTITLE} will be replaced with item Channel Title
‘ ##### {CHANNELURL} will be replaced with item Channel Url
MainTemplateHeader = “<table><tr><td><a href=”& “””{CHANNELURL}””” & “>{CHANNELTITLE}</a></td></tr>”
MainTemplateFooter = “</table>”
‘ #####
‘ ##### Item template.
‘ ##### {LINK} will be replaced with item link
‘ ##### {TITLE} will be replaced with item title
‘ ##### {DESCRIPTION} will be replaced with item description
‘ ##### {DATE} will be replaced with item date and time
‘ ##### {COMMENTSLINK} will be replaced with link to comments (If you use RSS feed from blog)
‘ ##### {CATEGORY} will be replaced with item category
ItemTemplate = “<tr><td><strong>{DATE} {TIME}</strong><br/><strong>{CATEGORY}<br/></strong><a href=” & “””{LINK}””” & “>{TITLE}</a><BR>{DESCRIPTION}</td></tr>”
‘ #### You can set Date and Time macros formatting:
‘#### Date Time format
‘#### dd – Day
‘#### DD – Full Day Name
‘#### mm – Month
‘#### MMMM – Full Month Name
‘#### yyyy – Year
‘#### HH – Hour
‘#### MM – Minute
‘#### SS – Second
‘#### Offset – Time offset from UTC
DateTemplate = “dd.mm.yyyy”
TimeTemplate = “HH:MM:SS Offset”
To add new RSS feed to process add URL to this feed into URLs array inside MultiRSS2HTML.asp script. For example:
‘ ##### Array RSS Sources #########
URLs = Array( _
“http://digg.com/rss/indexprogramming.xml”, _
“http://feeds.feedburner.com/MonkeyBites”)
Links to RSS feeds are separated by comma. _ symbol is used to break a line in ASP.
Use Keywords variable to set keywords for filtering RSS feed. Positive keywords must include “+” symbol or space and negative keywords are indicated by use of “-” symbol. For example (see screenshot below): Keywords=”Linux+device”
You can control filtering of RSS feeds by title, description or URL to full article by changing the following variables:
IMPORTANT: change these variables inside helper script RSS2HTMLProForMultiRSS2HTML.asp ( included into PRO version)
To include HTML generated by the script please use virtual include ASP command.
Example:
< p>RSS content is displayed below:</p>
< hr>
< !–#include virtual=”MultiRSS2HTML.asp”–>
< hr>