Re: RSS Feed

This WebDNA talk-list message is from

2004


It keeps the original formatting.
numero = 59186
interpreted = N
texte = Here's all I did in WebDNA 4.5. Site has news and events databases. This code searches both and sends up to 15 news stories, followed by as many events as will equal 16 total stories. All the page needs to do is rattle off the proper RSS format and there's lots of validation sites around that will check your code. Fix the domain names and path(s) to your db(s) and you should be good to go. By the way, I get more traffic from RSS than the rest of the site. -----------------------Begin code-------------------------------  YOURSITE.com  Your Description Here.  en-us http://www.YOURSITE.com/ Copyright 2004, Patrick McCormick Consulting pm@pmconsulting.biz (Patrick McCormick) pm@pmconsulting.biz (Patrick McCormick)  http://www.xml.com/ http://www.YOURSITE.com/img/rssLogo.gif YOURSITE.com [!] *** -------- Search The News Database -------- *** [/!][search db=db/news.db&geskudata=0&max=15][founditems][math show=F]limit=[numfound][/math]  YOURSITE News: [title] http://www.YOURSITE.com/pgs/nws-t01.tpl?sku=[sku] [convertchars][grep search="
"&replace= ][content][/grep][/convertchars]

[/founditems][/search][!] *** -------- Search the Events Database -------- *** [/!][search db=db/events.db&max=[math]16-[limit][/ math]&geevfdatedata=[math]{[date]}[/ math]&asevsdatesort=1&asevtimesort=2&evtimetype=time][founditems]  YOURSITE Events: [name] http://www.YOURSITE.com/pgs/cal.tpl?_eqSKUdatarq=[sku] [details] [/founditems][/search] 
END CODE----------------------------------------------------------------- On Aug 25, 2004, at 3:50 PM, Phillip Bonesteele wrote: > > Xmlparse and xslt are available in 5.X versions as well. > > John is quite correct, that given knowledge of the RSS feed schema, you > could easily construct a XLS that would pull the various pieces out of > the RSS feed ... You could then easily stuff the results into a DB or a > temporary table if you didn't want to reparse the XML feed on each page > hit. > > > -----Original Message----- > From: WebDNA Talk [mailto:WebDNA-Talk@talk.smithmicro.com] On Behalf Of > John Peacock > Sent: Wednesday, August 25, 2004 1:17 PM > To: WebDNA Talk > Subject: Re: RSS Feed > > Nitai @ ComputerOil wrote: > >> Thanks, but dont we have the XML parser that could do that? > > Of course, if you are running 6.0, then you can use [xmlparse] and > friends to decode the RSS feed. In that case, I'd suggest you look at > [xsl] to create a style sheet to display the RSS contents via [xslt]. > > I still assume most people are not running 6.x yet... > > John > > -- > John Peacock > Director of Information Research and Technology Rowman & Littlefield > Publishing Group > 4501 Forbes Boulevard > Suite H > Lanham, MD 20706 > 301-459-3366 x.5010 > fax 301-429-5748 > > ------------------------------------------------------------- > This message is sent to you because you are subscribed to > the mailing list . > To unsubscribe, E-mail to: > To switch to the DIGEST mode, E-mail to > > Web Archive of this list is at: http://webdna.smithmicro.com/ > > > > ------------------------------------------------------------- > This message is sent to you because you are subscribed to > the mailing list . > To unsubscribe, E-mail to: > To switch to the DIGEST mode, E-mail to > > Web Archive of this list is at: http://webdna.smithmicro.com/ > ------------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://webdna.smithmicro.com/ Associated Messages, from the most recent to the oldest:

    
  1. Re: [WebDNA] Code to display a RSS feed (WebDNA Solutions 2019)
  2. Re: [WebDNA] Code to display a RSS feed (Tom Duke 2019)
  3. [WebDNA] Code to display a RSS feed (WebDNA Solutions 2019)
  4. Re: [WebDNA] Downloading and combining RSS feeds (Tom Duke 2012)
  5. Re: [WebDNA] Downloading and combining RSS feeds (aaronmichaelmusic@gmail.com 2012)
  6. [WebDNA] Downloading and combining RSS feeds (Tom Duke 2012)
  7. Re: [WebDNA] RSS Feed help (Marc Thompson 2009)
  8. Re: [WebDNA] RSS Feed help (Steve Craig 2009)
  9. Re: [WebDNA] RSS Feed help (Tom Duke 2009)
  10. [WebDNA] RSS Feed help (Steve Craig 2009)
  11. Re: [WebDNA] RSS Feed (Stuart Tremain 2008)
  12. Re: [WebDNA] RSS Feed (Patrick McCormick 2008)
  13. Re: [WebDNA] RSS Feed (Chris 2008)
  14. [WebDNA] RSS Feed (Stuart Tremain 2008)
  15. Re: [OT] RSS Feeds ( Steve Craig 2007)
  16. Re: [OT] RSS Feeds ( "Olin Lagon" 2007)
  17. Re: [OT] RSS Feeds ( Steve Craig 2007)
  18. Re: [OT] RSS Feeds ( "Tom Duke" 2007)
  19. [OT] RSS Feeds ( Steve Craig 2007)
  20. Re: RSS Feeds; basic info ( Larry Hewitt 2005)
  21. Re: RSS Feeds; basic info ( "Nitai @ ComputerOil" 2005)
  22. Re: RSS Feeds; basic info ( Mark Derrick 2005)
  23. Re: RSS Feeds; basic info ( Marc Thompson 2005)
  24. Re: RSS Feeds; basic info ( "Nitai @ ComputerOil" 2005)
  25. Re: RSS Feeds; basic info ( Mark Derrick 2005)
  26. Re: RSS Feeds; basic info ( Terry Wilson 2005)
  27. Re: RSS Feeds; basic info ( Steve Craig 2005)
  28. Re: RSS Feeds; basic info ( Steve Dannaway 2005)
  29. Re: RSS Feeds; basic info ( matthew.bohne@benetela.com 2005)
  30. RSS Feeds; basic info ( Terry Wilson 2005)
  31. Re: RSS Feed ( Patrick McCormick 2004)
  32. Re: RSS Feed ( "Phillip Bonesteele" 2004)
  33. Re: RSS Feed ( John Peacock 2004)
  34. Re: RSS Feed ( "Nitai @ ComputerOil" 2004)
  35. Re: RSS Feed ( John Peacock 2004)
  36. RSS Feed ( "Nitai @ ComputerOil" 2004)
  37. How to create a RSS feed (Bill Johnson How )
Here's all I did in WebDNA 4.5. Site has news and events databases. This code searches both and sends up to 15 news stories, followed by as many events as will equal 16 total stories. All the page needs to do is rattle off the proper RSS format and there's lots of validation sites around that will check your code. Fix the domain names and path(s) to your db(s) and you should be good to go. By the way, I get more traffic from RSS than the rest of the site. -----------------------Begin code-------------------------------  YOURSITE.com  Your Description Here.  en-us http://www.YOURSITE.com/ Copyright 2004, Patrick McCormick Consulting pm@pmconsulting.biz (Patrick McCormick) pm@pmconsulting.biz (Patrick McCormick)  http://www.xml.com/ http://www.YOURSITE.com/img/rssLogo.gif YOURSITE.com [!] *** -------- Search The News Database -------- *** [/!][search db=db/news.db&geskudata=0&max=15][founditems][math show=F]limit=[numfound][/math]  YOURSITE News: [title] http://www.YOURSITE.com/pgs/nws-t01.tpl?sku=[sku] [convertchars][grep search="
"&replace= ][content][/grep][/convertchars]

[/founditems][/search][!] *** -------- Search the Events Database -------- *** [/!][search db=db/events.db&max=[math]16-[limit][/ math]&geevfdatedata=[math]{[date]}[/ math]&asevsdatesort=1&asevtimesort=2&evtimetype=time][founditems]  YOURSITE Events: [name] http://www.YOURSITE.com/pgs/cal.tpl?_eqSKUdatarq=[sku] [details] [/founditems][/search] 
END CODE----------------------------------------------------------------- On Aug 25, 2004, at 3:50 PM, Phillip Bonesteele wrote: > > Xmlparse and xslt are available in 5.X versions as well. > > John is quite correct, that given knowledge of the RSS feed schema, you > could easily construct a XLS that would pull the various pieces out of > the RSS feed ... You could then easily stuff the results into a DB or a > temporary table if you didn't want to reparse the XML feed on each page > hit. > > > -----Original Message----- > From: WebDNA Talk [mailto:WebDNA-Talk@talk.smithmicro.com] On Behalf Of > John Peacock > Sent: Wednesday, August 25, 2004 1:17 PM > To: WebDNA Talk > Subject: Re: RSS Feed > > Nitai @ ComputerOil wrote: > >> Thanks, but dont we have the XML parser that could do that? > > Of course, if you are running 6.0, then you can use [xmlparse] and > friends to decode the RSS feed. In that case, I'd suggest you look at > [xsl] to create a style sheet to display the RSS contents via [xslt]. > > I still assume most people are not running 6.x yet... > > John > > -- > John Peacock > Director of Information Research and Technology Rowman & Littlefield > Publishing Group > 4501 Forbes Boulevard > Suite H > Lanham, MD 20706 > 301-459-3366 x.5010 > fax 301-429-5748 > > ------------------------------------------------------------- > This message is sent to you because you are subscribed to > the mailing list . > To unsubscribe, E-mail to: > To switch to the DIGEST mode, E-mail to > > Web Archive of this list is at: http://webdna.smithmicro.com/ > > > > ------------------------------------------------------------- > This message is sent to you because you are subscribed to > the mailing list . > To unsubscribe, E-mail to: > To switch to the DIGEST mode, E-mail to > > Web Archive of this list is at: http://webdna.smithmicro.com/ > ------------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://webdna.smithmicro.com/ Patrick McCormick

DOWNLOAD WEBDNA NOW!

Top Articles:

Talk List

The WebDNA community talk-list is the best place to get some help: several hundred extremely proficient programmers with an excellent knowledge of WebDNA and an excellent spirit will deliver all the tips and tricks you can imagine...

Related Readings:

WebCat2b13 Mac plugin - [sendmail] and checkboxes (1997) WC2b15 File Corruption (1997) WebDNA quitting (2008) emailer (1997) WebCat2b14MacPlugIn - [include] doesn't hide the search string (1997) [Sum] function? (1997) [WebDNA] OT: How is this being done? Curious. (2009) How to put the Trademark Symbol (%99) in Sendmail? (2003) AAAH: stupid sendmail (2001) dos performance (1998) Updating product information (2002) More on the email templates (1997) MacAuthorize order data fields WAS:How To question... (1997) can WC render sites out? (1997) WebCatalog Plug-in for Webstar. (1997) About the Allow 'Absolute Path' Prefix (2002) Generating Report Totals (1997) EIMS Problems (1997) Country & Ship-to address & other fields ? (1997) Orderfile Info is Dissappearing (1998)