numero = 61485
interpreted = N
texte = Four major things you need to do for RSS.1) Add the following to the -- This is not really required but does give you the neat "Live Bookmark" option on Firefox.2) Make sure the suffix mapping on the host is correctly set for .rss - I had a little trouble with the typical .xml so I just mapped .rss on mine.3) Write the actual feed. My is scheduled up to run hourly through CRON (I've been burned by triggers too much). Here's my my code that pulls stories and writes the feed from a database.[!] FIRST, WRITE THE HEADER [/!][WriteFile feed.rss]Redfish Nation NewsNews and highlights from the Redfish Nation, the Oh Boy! Oberto Redfish Cup, and the Redfish Nation Q SERIEShttp://www.redfishnation.com[/WriteFile][!] SECOND, WRITE THE ACTUAL HEADLINE FEED [/!][search db=theStories.db&neSTORYIDdata=find_all&theDATEtype=date&theDATEsort=1&t heDATEsdir=de&max=15][founditems][AppendFile feed.rss][listwords words=[TITLE]&Delimiters= ,%0B][WORD] [/listwords][listwords words=[TEXT]&Delimiters= ,%0B][Hideif [index]>25][word] [SHOWIF [INDEX]=25]...[/SHOWIF][/Hideif][/listwords]http://www.redfishnation.com/view.tpl?STORYID=[STORYID][/AppendFile][/founditems][/search][!] THIRD, WRITE THE FOOTER AND CLOSE THE FEED [/!][AppendFile feed.rss][/AppendFile]4) After all is said and done, run your feed through feedvalidator.org - you might need to do some tweaking to make it validate properly, but the script above is what runs mine.Good luck,Steve----Steve DannawayJM Associates, Inc. - The Worldwide Leader in Outdoor TelevisionFishFactory.com / RedfishNation.com> I just had a request for including RSS feeds into a website I'm> bidding on. I don't know know much about it, so I did a little> research and found one of Alain's sites where the feed is a link> straight to the article. I found an old msg in the archives talking> about this, but the link to the parser is not working. If I just know> the process, I can probably figure out how to code for it, but I have> no clue where to start, how these files are grabbed, etc.>> Thanks,> Terry>>>-------------------------------------------------------------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:
Four major things you need to do for RSS.1) Add the following to the -- This is not really required but does give you the neat "Live Bookmark" option on Firefox.2) Make sure the suffix mapping on the host is correctly set for .rss - I had a little trouble with the typical .xml so I just mapped .rss on mine.3) Write the actual feed. My is scheduled up to run hourly through CRON (I've been burned by triggers too much). Here's my my code that pulls stories and writes the feed from a database.[!] FIRST, WRITE THE HEADER [/!][WriteFile feed.rss]Redfish Nation NewsNews and highlights from the Redfish Nation, the Oh Boy! Oberto Redfish Cup, and the Redfish Nation Q SERIEShttp://www.redfishnation.com[/WriteFile][!] SECOND, WRITE THE ACTUAL HEADLINE FEED [/!][search db=theStories.db&neSTORYIDdata=find_all&theDATEtype=date&theDATEsort=1&t heDATEsdir=de&max=15][founditems][AppendFile feed.rss][listwords words=[TITLE]&Delimiters= ,%0B][WORD] [/listwords][listwords words=[text]&Delimiters= ,%0B][Hideif [index]>25][word] [SHOWIF [INDEX]=25]...[/SHOWIF][/Hideif][/listwords]http://www.redfishnation.com/view.tpl?STORYID=[STORYID][/AppendFile][/founditems][/search][!] THIRD, WRITE THE FOOTER AND CLOSE THE FEED [/!][AppendFile feed.rss][/AppendFile]4) After all is said and done, run your feed through feedvalidator.org - you might need to do some tweaking to make it validate properly, but the script above is what runs mine.Good luck,Steve----Steve DannawayJM Associates, Inc. - The Worldwide Leader in Outdoor TelevisionFishFactory.com / RedfishNation.com> I just had a request for including RSS feeds into a website I'm> bidding on. I don't know know much about it, so I did a little> research and found one of Alain's sites where the feed is a link> straight to the article. I found an old msg in the archives talking> about this, but the link to the parser is not working. If I just know> the process, I can probably figure out how to code for it, but I have> no clue where to start, how these files are grabbed, etc.>> Thanks,> Terry>>>-------------------------------------------------------------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/
Steve Dannaway
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...