Mailing List Archive: 49091 messages
  • Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search
 

[REBOL] Recursive Parse

From: belkasri:1stlegal at: 10-Jun-2002 8:51

I am kind of new to REBOL, I wrote these lines to get the latest news from www.cnn.com <http://www.cnn.com/> , so far I can get the first line in the news table, but I don't know how to make my parse recursive to get all the news lines in the table. Here is the code: page: read http://www.cnn.com/index.html parse page [thru "Other Top News" copy news-table to "</table>"] parse news-table [to "<a" thru ">" copy newsline to "</a>"] print newsline --Abdel.