Thank you for the quick reply! It's much appreciated.
I'm pretty much an idiot when it comes to this stuff.
This is the code I am using to display my RSS feed.
http://www.tele-pro.co.uk/scripts/rs...d_class_dl.htm
example:
http://www.tele-pro.co.uk/scripts/rs...ed_class.1.txt
it works great but the output of the PubDates is RFC822-formatted of course. I'd like to incorporate your code to parse it but I just cant seem to figure it out.
The code on the page to display it is:
<%
' +---------------------------------------------+
' | RSS Content Feed VBScript Class 1.0 |
' | © 2004
www.tele-pro.co.uk |
' |
http://www.tele-pro.co.uk/scripts/rss/ |
' +---------------------------------------------+
'
' Sample VBScript Code for the RSSContentFeed Class
' Example Code - Setting Properties
' sample_code_properties.asp
%>
<!-- #INCLUDE VIRTUAL="/rss/rss_content_feed_class.asp" -->
<%
'create object
Dim rss
Set rss= New RSSContentFeed
'set content url
rss.ContentURL = "http://www.somerssfeed.goesherecom/"
'set content url
rss.MaxResults = 10
'set cache
rss.Cache = ""
'cache items for 2 days
rss.CacheDays = 0
'from cache?
if rss.FromCache Then
'item was returned from cache
End If
'display properties
Response.Write "<br> rss.MaxResults: " & rss.MaxResults
Response.Write "<br> rss.ContentURL: " & rss.ContentURL
'Response.Write "<br> rss.CacheDays: " & rss.CacheDays
'get content
rss.GetRSS()
%>
<!-- EVENTS BOX STARTS-->
<%
Dim i
For Each i in rss.Results
response.Write ""
response.Write "<div id=""rss_events"">"
response.write "<span class=""pubdates"">" & rss.PubDates(i) & "<span> - <span class=""title""><a href=" & rss.Links(i) & ">" & rss.Titles(i) & "</a><span>"
response.write "<br>"
response.write "<span class=""descriptions"">" & rss.Descriptions(i) & "<span>"
response.Write "</div>"
Next
Response.Write "<span style""font-size:.9em""><a href=" & rss.ContentURL & ">View Event Calendar</a></span><BR><BR><BR>"
'release object
Set rss= Nothing
%>
I have no understanding of how to add in your code.