Re: [WebDNA] Downloading and combining RSS feeds

This WebDNA talk-list message is from

2012


It keeps the original formatting.
numero = 108556
interpreted = N
texte = > Has anyone used TCPconnect to pull down RSS feeds, parse the RSS feeds = using XMLparse, andadd the contents to a WebDNA database, and then write = out a new combined RSS feed? If it's RSS, you don't need to use TCP, just add [xmlparse = var=3Dxml_var1&source=3Dhttp://something.blogspot.com/somefeed.rss][/xmlpa= rse] I don't know the exact nodes, but you can do something like this... [xmlnodes path=3Dnamed:rss/channel/item&ref=3Dxml_var1] [replace db=3DfeedDb.db&eqGUIDdatarq=3D[xmlnode = path=3Dnamed:guid][value][/xmlnode]&append=3DT]guid=3D[xmlnode = path=3Dnamed:guid][value][/xmlnode]&title=3D[xmlnode = path=3Dnamed:title][value][/xmlnode]&description=3D[xmlnode = path=3Dnamed:description][value][/xmlnode][/append] [/xmlnodes] Don't hold me to this, this is just off the top of my head, but I think = you can use the GUID as the unique identifier. Of course, you'll have = to look at the raw XML to see what nodes you want to pull out. Associated Messages, from the most recent to the oldest:

    
  1. Re: [WebDNA] Downloading and combining RSS feeds (Tom Duke 2012)
  2. Re: [WebDNA] Downloading and combining RSS feeds (aaronmichaelmusic@gmail.com 2012)
  3. [WebDNA] Downloading and combining RSS feeds (Tom Duke 2012)
> Has anyone used TCPconnect to pull down RSS feeds, parse the RSS feeds = using XMLparse, andadd the contents to a WebDNA database, and then write = out a new combined RSS feed? If it's RSS, you don't need to use TCP, just add [xmlparse = var=3Dxml_var1&source=3Dhttp://something.blogspot.com/somefeed.rss][/xmlpa= rse] I don't know the exact nodes, but you can do something like this... [xmlnodes path=3Dnamed:rss/channel/item&ref=3Dxml_var1] [replace db=3DfeedDb.db&eqGUIDdatarq=3D[xmlnode = path=3Dnamed:guid][value][/xmlnode]&append=3DT]guid=3D[xmlnode = path=3Dnamed:guid][value][/xmlnode]&title=3D[xmlnode = path=3Dnamed:title][value][/xmlnode]&description=3D[xmlnode = path=3Dnamed:description][value][/xmlnode][/append] [/xmlnodes] Don't hold me to this, this is just off the top of my head, but I think = you can use the GUID as the unique identifier. Of course, you'll have = to look at the raw XML to see what nodes you want to pull out. aaronmichaelmusic@gmail.com

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:

Serving images from databases (1998) WebCat2 - [include] tags (1997) AutoCommit Preference? (1998) Navigator 4.01 (1997) WC2f3 (1997) Need correct syntax for writing to header2 (1999) Quit revisited (1997) formula inside database to calculate weights (1997) problem with applets embedded in tpl files (1997) SKU lookup (1997) BUG?-.html extention not working. (2000) Major Security Hole (1998) WebCatalog 2.0 b 15 mac (1997) RE: Upload and WebCat (1998) [WebDNA] Styling search results [using css] (2009) Help ..... with better explanation (2001) OT - AppleScript Request (2004) Configuration Q (1998) [WebDNA] writing pdfs on the fly (Avery labels #5160) (2010) Merry Christmas (1999)