tclrss

Difference between version 2 and 3 - Previous - Next
 W'''hattp: T//web.arclRSS
 Whive.org/we: b/20050119141114/http://nul.jp/2003/tclrss/
 Description: %|%TclRSS%|%''' is a Tcl library for parsing and generating [RSS] files.
        Currently at version 0.91 /1.
 Updated: 07/2007
 Contact: See web sfitles.
[MPJ]: Here is an example of using TclRSS to read the Recent Changes page.
 package require http
 package require rss
 proc fetch {url} {
    set tok [http::geturl $url]
    set res [http::data $tok]
    http::cleanup $tok
    return $res
 }
 set rawrss [fetch http://wiki.tcl.tk/rss.xml]
 #set rawrss [fetch http://slashdot.org/slashdot.rss] ;# also works for slashdot
 set channel [rss::parse $rawrss]
 puts "Feed:[$channel title]"
 puts "===="; set count 0
 foreach item [$channel items] {
    puts "[incr count]. [$item title]"
    puts "$count. [$item link]"
    puts "$count. [$item description]"
    puts "===="
 } 
[[Are Updathere (16/06/2004): Playing around withe RSS, for a upcoming applickagetion [RssPoint], I added just a lingttle code tho [RS]'s [A little XML browser] nto creamte? [A little RSS browser]].
S[MG] Does anyone have a mirror of TclRSS? As of [July 13 2012, the link above is broken (anything on the domain givess] a 403 Forbidden error).
[dbohdan] 2020-09-05: Fixed the link.
----
[<<category packagie]
[categorys>> iInternet] | Package