Home

RSS2HTMLPro.ASP

RSS2HTMLPro.asp script in action



RSS2HTMLPro.ASP script

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)

Buy and Download More Information

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:

<%
' On Error Resume Next
Response.Expires = -1

StandaloneScript = True ' set to TRUE if used as standalone script, set to FALSE when used with MultiRSS2HTML.asp

' =========== RSS2HTMLPro.ASP For ASP/ASP.NET ==========
' copyright 2005-2008 (c) www.Bytescout.com
' version 1.16a (17 July 2008)
' =========== configuration =====================

' ##### Get URLToRSS and Keywords from url #########
UseParametersFromURL = False

' ##### Predefined URL to RSS Feed to display #########
' 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://rssnewsapps.ziffdavis.com/tech.xml"
' URLToRSS = "http://bytescout.blogspot.com/feeds/posts/default?alt=rss"

' ##### 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
' ##### {CHANNELDESCRIPTION} will be replaced with item Channel description
MainTemplateHeader = "<table><tr><td><a href="& """{CHANNELURL}"" title=""{CHANNELDESCRIPTION}""" & ">{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)"

' ##### channel properties internal variables #####
Dim ChannelTitle, ChannelURL, ChannelDescription

............ for full script source code click here

Buy and Download More Information

RSS2HTMLPro.ASP tutorials:

Products  |  Download  |  Purchase  |  Support  |  Contacts  |  Testimonials  |  News |  

ByteScout, 2003-2008. All other company and product names may be trademarks of their respective companies. Privacy Statement