Web Layout
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
 
User Name:
Password:
Remember me
Go Back   ASP Free ForumsWeb DesignWeb Layout

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread ASP Free Forums Sponsor:
  #1  
Old January 17th, 2006, 02:46 PM
jacosta00021 jacosta00021 is offline
Contributing User
ASP Free Newbie (0 - 499 posts)
 
Join Date: May 2004
Posts: 134 jacosta00021 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 13 h 39 m 31 sec
Reputation Power: 5
Question Rss feed generator

hello,
I'm looking for an RSS Feed generator that will automate some of the things I would have to do manually.
I want to find a product that is:
-not hosted--i want to be able to install it locally
-not expensive-easy to use
-will update as new links are added

I would actually like to find something that will fill in the descriptions for the items, if that's possible. I've been working with RSSFeedCreator and ListGarden (I like the listgarden one a little better). These two are decent, but I would like something that is a little more automated.

I've done some searching and have also looked on hotscripts. I have yet to come across anything that I absolutely have no problems with as of yet.Is there anything that fits in this category, or am I just asking for too much? If there's nothing like this, is there anything I could get that is similar to what I'm looking for?


Thanks
*j

Reply With Quote
  #2  
Old March 26th, 2006, 10:36 PM
shamrog12's Avatar
shamrog12 shamrog12 is offline
Newton's Apple Wizard
ASP Free Intermediate (1500 - 1999 posts)
 
Join Date: Nov 2003
Location: Los Angeles
Posts: 1,661 shamrog12 User rank is Sergeant Major (2000 - 5000 Reputation Level)shamrog12 User rank is Sergeant Major (2000 - 5000 Reputation Level)shamrog12 User rank is Sergeant Major (2000 - 5000 Reputation Level)shamrog12 User rank is Sergeant Major (2000 - 5000 Reputation Level)shamrog12 User rank is Sergeant Major (2000 - 5000 Reputation Level)shamrog12 User rank is Sergeant Major (2000 - 5000 Reputation Level) 
Time spent in forums: 3 Weeks 2 Days 2 h 39 m 22 sec
Reputation Power: 34
Send a message via AIM to shamrog12
This is what I use. Easily modifiable.

ASP Code:
Original - ASP Code
  1. <%
  2.  
  3.  ' =========== RSS2HTML.ASP for ASP/ASP.NET ==========
  4.  ' copyright 2005 (c) www.Bytescout.com
  5.  ' ===============================================
  6.  
  7.  ' =========== configuration =====================
  8.  ' ##### URL to RSS Feed to display #########
  9.  URLToRSS = "http://rssnewsapps.ziffdavis.com/tech.xml"
  10.  
  11.  ' ##### max number of displayed items #####
  12.  MaxNumberOfItems = 7
  13.  
  14.  ' ##### Main template constants
  15.  MainTemplateHeader = "<table>"
  16.  MainTemplateFooter = "</table>"
  17.  ' #####
  18.  
  19.  ' ##### Item template.
  20.  ' ##### {LINK} will be replaced with item link
  21.  ' ##### {TITLE} will be replaced with item title
  22.  ' ##### {DESCRIPTION} will be replaced with item description
  23.  ItemTemplate = "<tr><td><a href=" & """{LINK}""" & ">{TITLE}</a><BR>{DESCRIPTION}</td></tr>"
  24.  
  25.  ' ##### Error message that will be displayed if not items etc
  26.  ErrorMessage = "Error has occured while trying to process " &URLToRSS & "<BR>Please contact web-master"
  27.  
  28.  ' ================================================
  29.  
  30.  Set xmlHttp = Server.CreateObject("MSXML2.XMLHTTP.3.0")
  31.  xmlHttp.Open "Get", URLToRSS, false
  32.  xmlHttp.Send()
  33.  RSSXML = xmlHttp.ResponseText
  34.  
  35.  Set xmlDOM = Server.CreateObject("MSXML2.DomDocument.3.0")
  36.  xmlDOM.async = false
  37.  xmlDOM.LoadXml(RSSXML)
  38.  
  39.  Set xmlHttp = Nothing ' clear HTTP object
  40.  
  41.  Set RSSItems = xmlDOM.getElementsByTagName("item") ' collect all "items" from downloaded RSS
  42.  Set xmlDOM = Nothing ' clear XML
  43.  
  44.  RSSItemsCount = RSSItems.Length-1
  45.  
  46.  ' writing Header
  47.  if RSSItemsCount > 0 then
  48.   Response.Write MainTemplateHeader
  49.  End If
  50.  
  51.  j = -1
  52.  
  53.  For i = 0 To RSSItemsCount
  54.  Set RSSItem = RSSItems.Item(i)
  55.  
  56.   for each child in RSSItem.childNodes
  57.    Select case lcase(child.nodeName)
  58.      case "title"
  59.            RSStitle = child.text
  60.      case "link"
  61.            RSSlink = child.text
  62.      case "description"
  63.            RSSdescription = child.text
  64.    End Select
  65.   next
  66.  
  67.   j = J+1
  68.  
  69.   if J<MaxNumberOfItems then
  70.   ItemContent = Replace(ItemTemplate,"{LINK}",RSSlink)
  71.   ItemContent = Replace(ItemContent,"{TITLE}",RSSTitle)
  72.   Response.Write Replace(ItemContent,"{DESCRIPTION}",RSSDescription)
  73.   ItemContent = ""
  74.   End if
  75.  
  76.  Next
  77.  
  78.  ' writing Footer
  79.  if RSSItemsCount > 0 then
  80.   Response.Write MainTemplateFooter
  81.  else
  82.   Response.Write ErrorMessage
  83.  End If
  84.  
  85.  ' Response.End ' uncomment this line if you need to finalize output
  86. %>
Comments on this post
Shadow Wizard agrees!
nofriends agrees!
pws1970 agrees!
grdnwesl agrees!
mehere agrees!
micky agrees!
sivaramanrajesh agrees!
Guddu agrees!
elijathegold agrees!
D.O.M.I.N.A.T.O.R agrees!
RadioactiveFrog agrees:
shem agrees: respec'
Sluap agrees!
bubbablaze agrees!
monkeynote agrees: awesome!
__________________
If you found a post of mine helpful, please click on the on my post to add to my reputation.


Reply With Quote
Reply

Viewing: ASP Free ForumsWeb DesignWeb Layout > Rss feed generator


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 5 hosted by Hostway
Stay green...Green IT