ASP script for RSS/ATOM to
HTML conversion in your ASP and ASP.NET web site with multiple feeds
input and advanced filtering support
Comes with full source code (ASP)
Why RSS2HTMLPro.asp?
- Better RSS/XML/ATOM support;
- Multiple RSS into HTML support;
- Search phrases based filtering;
- Customizable date and time support (you
can define how to display date and time in HTML output);
- Ability to force use of plain text in feeds
instead of HTML
- Tech support withing 2 business days;
See tutorial
for more information
The snippet with configuration variables
from from RSS2HTMLPro.asp script is below:
' =========== RSS2HTMLPro.ASP
For ASP/ASP.NET ==========
' copyright 2005-2008 (c) www.Bytescout.com
' =========== configuration =====================
' ##### Get URLToRSS and Keywords from url
#########
UseParametersFromURL = False
' ##### Predefined URL to RSS Feed to display
#########
' URLToRSS = "http://digg.com/rss/indexprogramming.xml"
' URLToRSS = "http://whitepapers.zdnet.com/xml/zdnet/RSS-SubCat-99.xml"
' As ASP script relies on MSXML parser so
some feeds containing incompatible characters may fail in the script
' You should try to use feeburner.com to convert RSS feed into MSXML
compatible format
URLToRSS = "http://rss.news.yahoo.com/rss/elections"
' ##### Predefined Words For searching #########
' Keywords = "time-widget"
Keywords = ""
' ##### Use search in Title, Description and
URL #########
FilterByTitle = True
FilterByDescription = True
FilterByURL = True
' ##### Description Length #########
DescriptionLengthLimit = -1 ' if you have problems with limiting the
description and RSS contains rich formatting then set DescriptionStripHTMLTags
(see below) to True
' ##### Strip rich formatting from description fields ################
DescriptionStripHTMLTags = False ' change to True if you converts
RSS with HTML (images, formatting) in the description
' ##### Remove Timezone Info #########
RemoveTimezoneInfoFromDateTime = True
' ##### Max number of displayed items #####
MaxNumberOfItems = 70
' ##### 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
' ##### PODCASTING
' ##### {MEDIA_URL} will be replaced with Media URL
' ##### {MEDIA_TITLE} will be replaced with Media title
' ##### {MEDIA_SIZE} will be replaced with Media file size in KB
' Media template
' ItemTemplate = "<tr><td><strong>{DATE} {TIME}</strong><br/><strong>{CATEGORY}<br/></strong><a
href=" & """{LINK}""" &
">{TITLE}</a><BR>{DESCRIPTION}<BR><a
href=" & """{MEDIA_URL}"""
& ">{MEDIA_TITLE} ({MEDIA_SIZE} KB)</a></td></tr>"
' Standart template
ItemTemplate = "<tr><td><strong>{DATE} {TIME}</strong><br/><strong>{CATEGORY}<br/></strong><a
href=" & """{LINK}""" &
">{TITLE}</a><BR>{DESCRIPTION}</td></tr>"
'#### Date Time format
'#### dd - Day
'#### DD - Full Day Name
'#### mm - Month
'#### MMMM - Full Month Name
'#### yyyy - Year
'#### h - 12 Hour
'#### H - 24 Hour
'#### MM - Minute
'#### SS - Second
'#### Offset - Time offset from UTC
DateTemplate = "DD, MMMM, yyyy"
TimeTemplate = "H:MM:SS AMPM (Offset)"
' ##### FixCapitalLetters #####
FixCapitalLetters = True
' ================================================
............ for full script source code click here
RSS2HTMLPro.ASP tutorials: