×
Create a new article
Write your page title here:
We currently have 3,189 articles on s23. Type your article name above or create one of the articles listed here!



    s23
    3,189Articles

    RssTcl: Difference between revisions

    Content added Content deleted
    No edit summary
    imported>mutante
    mNo edit summary
     
    (10 intermediate revisions by 5 users not shown)
    Line 1: Line 1:
    Please add some good URLs to [[RSS]] [[Newsfeeds]] here:
    <a href="http://get-nude-girls.com/"> http://get-nude-girls.com/ </a>
    (this helps Bh44L while scripting the [[Eggdrop]] [[TCL]] script)
    http://get-nude-girls.com/

    <a href="http://fuck-your-self.com/"> http://fuck-your-self.com/ </a>
    http://mutante.s23.org/rssfeed023.tcl.txt
    http://fuck-your-self.com/

    <a href="http://sexy--asians.com/"> http://sexy--asians.com/ </a>
    --
    http://sexy--asians.com/
    [14:15:56] <s23> Available sources: (not all working, maybe we can get a few more to work)
    <a href="http://sexy-photo-pics.com/"> http://sexy-photo-pics.com/ </a>

    http://sexy-photo-pics.com/
    bugtraq: http://www.securityfocus.com/rss/vulnerabilities.xml
    <a href="http://funny--sex.com/"> http://funny--sex.com/ </a>
    bverfg: http://www.bundesverfassungsgericht.de/rss/entscheidungen/
    http://funny--sex.com/
    c4-wiki: http://wiki.koeln.ccc.de/index.php?title=Special:Recentchanges&feed=rss
    <a href="http://sex--winner.com/"> http://sex--winner.com/ </a>
    chaos: http://www.ccc.de/updates/chaosupdates.rdf
    http://sex--winner.com/
    <a href="http://sex-in-bmw.com/"> http://sex-in-bmw.com/ </a>
    cnn: http://www.cnn.com/cnn.rss
    diewelt: http://www.welt.de/z/newsticker/ticker_welt.xml
    http://sex-in-bmw.com/
    fischlog: http://sakana.antville.org/rss
    <a href="http://hot-sex-pics-here.com/"> http://hot-sex-pics-here.com/ </a>
    freshmeat: http://freshmeat.net/backend/fm-releases-software.rdf
    http://hot-sex-pics-here.com/
    gaim: http://gaim.sourceforge.net/rss.php/news
    <a href="http://fucking--sucking.com/"> http://fucking--sucking.com/ </a>
    galaxy-news: http://www.galaxy-news.de/backend.php
    http://fucking--sucking.com/
    golem: http://www.golem.de/golem_backend.rdf
    <a href="http://sex-on-public.com/"> http://sex-on-public.com/ </a>
    heise: http://www.heise.de/newsticker/heise.rdf
    http://sex-on-public.com/
    heise-security: http://www.heise.de/security/news/news.rdf
    <a href="http://247--sex.com/"> http://247--sex.com/ </a>
    heisemobil: http://www.heise.de/mobil/newsticker/heise.rdf
    http://247--sex.com/
    i-pobox: http://www.i-pobox.net/b2rdf.php
    <a href="http://nice-nude-sluts.com/"> http://nice-nude-sluts.com/ </a>
    instantnirvana: http://concord.antville.org/rss
    http://nice-nude-sluts.com/
    liberation: http://www.liberation.fr/rss.php
    <a href="http://sexy-girl-toying.com/"> http://sexy-girl-toying.com/ </a>
    linuxfr: http://linuxfr.org/backend.rss
    http://sexy-girl-toying.com/
    linuxtoday: http://linuxtoday.com/backend/biglt.rss
    <a href="http://sex-orgy-now.com/"> http://sex-orgy-now.com/ </a>
    http://sex-orgy-now.com/
    lsmods: http://www.loose-screws.com/backend/mods_heavy.xml
    lwn: http://lwn.net/headlines/rss
    <a href="http://busty--sluts.com/"> http://busty--sluts.com/ </a>
    migriblog: http://blog.migri.de/b2rdf.php
    http://busty--sluts.com/
    narzissmusverdacht: http://blubber.blogger.de/rss
    <a href="http://group-sex-dvd.com/"> http://group-sex-dvd.com/ </a>
    neowin: http://neowin.net/backend.php?page=main
    http://group-sex-dvd.com/
    netzbuch: http://www.das-netzbuch.de/index.xml
    <a href="http://ass-sex-vids.com/"> http://ass-sex-vids.com/ </a>
    netzeitung: http://www.netzeitung.de/export/news/rss/titelseite.xml
    http://ass-sex-vids.com/
    nofrag: http://www.nofrag.com/nofrag.rss
    <a href="http://sex-for-bucks.com/"> http://sex-for-bucks.com/ </a>
    http://sex-for-bucks.com/
    orf: http://rss.orf.at/news.xml
    pcworld.com - latest news: http://rss.pcworld.com/rss/latestnews.rss
    <a href="http://get-world-sex.com/"> http://get-world-sex.com/ </a>
    pro-linux: http://www.pl-forum.de/backend/pro-linux.rdf
    http://get-world-sex.com/
    rus-cert: http://CERT.Uni-Stuttgart.DE/ticker/rus-cert.rdf
    <a href="http://sex--mission.com/"> http://sex--mission.com/ </a>
    s23-wiki: http://is-root.de/wiki/index.php?title=Special:Recentchanges&feed=rss
    http://sex--mission.com/
    science: http://www.scienceticker.info/rss/RSS_File.xml
    <a href="http://porn-in-life.com/"> http://porn-in-life.com/ </a>
    shellcity: http://www.shellcity.net/citynews.xml
    http://porn-in-life.com/
    slashdot: http://slashdot.org/slashdot.rss
    <a href="http://sex-porn-club.com/"> http://sex-porn-club.com/ </a>
    http://sex-porn-club.com/
    sofa: http://arrog.antville.org/rss
    spiegel.de: http://www.spiegel.de/schlagzeilen/rss/0,5291,,00.xml
    <a href="http://real-xxx-porn.com/"> http://real-xxx-porn.com/ </a>
    swr3: http://www.swr3.de/rdf-feed/
    http://real-xxx-porn.com/
    symlink: http://www.symlink.ch/symlinkch.rss
    <a href="http://crazy--fuckers.com/"> http://crazy--fuckers.com/ </a>
    tagesschau: http://www.tagesschau.de/xml/tagesschau-meldungen/
    http://crazy--fuckers.com/
    thinknerd: http://www.thinknerd.de/?q=node/feed
    <a href="http://sex--nation.com/"> http://sex--nation.com/ </a>
    http://sex--nation.com/
    utopia: http://www.utopiatemple.com/utopia-news.rss
    webstandards: http://www.webstandards.org/buzz/buzz.xml
    <a href="http://ultra-sex-videos.com/"> http://ultra-sex-videos.com/ </a>
    winfuture: http://media-designs.de/winfuture.rdf
    http://ultra-sex-videos.com/
    xoops: http://www.xoops.org/backend.php
    <a href="http://blowjob--sex.com/"> http://blowjob--sex.com/ </a>
    zeropage: http://www.zeropage.net/tmh/backend/tmh.rdf
    http://blowjob--sex.com/
    zone-h: http://zone-h.org/en/rss/advisories
    <a href="http://cock--sex.com/"> http://cock--sex.com/ </a>
    23 me BlOg: http://23.me.uk/atom/index.xml
    http://cock--sex.com/

    <a href="http://anal--lovers.com/"> http://anal--lovers.com/ </a>
    --
    http://anal--lovers.com/

    <a href="http://hardfucking-sluts.com/"> http://hardfucking-sluts.com/ </a>
    example:
    http://hardfucking-sluts.com/

    <a href="http://after-party-sex.com/"> http://after-party-sex.com/ </a>
    set rss_url(alias) "url"
    http://after-party-sex.com/

    <a href="http://sexy--nurses.com/"> http://sexy--nurses.com/ </a>
    <pre>
    http://sexy--nurses.com/

    <a href="http://perfect--sex.com/"> http://perfect--sex.com/ </a>
    set rss_url(s23) "http://wiki.s23.org/wiki.pl?RecenChanges&action=rss"
    http://perfect--sex.com/
    set rss_url(ccc) "http://www.ccc.de/updates/chaosupdates.rdf"
    <a href="http://mature-sex-action.com/"> http://mature-sex-action.com/ </a>
    set rss_url(c4) "http://wiki.koeln.ccc.de/index.php?title=Special:Recentchanges&feed=rss"
    http://mature-sex-action.com/
    set rss_url(/.) "http://slashdot.org/slashdot.rdf"
    <a href="http://bdsm--sex.com/"> http://bdsm--sex.com/ </a>
    set rss_url(tagesschau) "http://www.tagesschau.de/xml/tagesschau-meldungen/"
    http://bdsm--sex.com/
    set rss_url(nirvana) "http://concord.antville.org/rss"
    <a href="http://incest--lovers.com/"> http://incest--lovers.com/ </a>
    set rss_url(fischlog) "http://sakana.antville.org/rss"
    http://incest--lovers.com/
    set rss_url(golem) "http://www.golem.de/golem_backend.rdf"
    <a href="http://young--fuckers.com/"> http://young--fuckers.com/ </a>
    set rss_url(heise) "http://www.heise.de/newsticker/heise.rdf"
    http://young--fuckers.com/
    set rss_url(telepolis) "http://www.heise.de/tp/news.rdf"
    <a href="http://very-sex-ladies.com/"> http://very-sex-ladies.com/ </a>
    set rss_url(heise-sec) "http://www.heise.de/security/news/news.rdf"
    http://very-sex-ladies.com/
    set rss_url(heise-mob) "http://www.heise.de/mobil/newsticker/heise.rdf"
    <a href="http://fucking--pussy.com/"> http://fucking--pussy.com/ </a>
    set rss_url(i-pobox) "http://www.i-pobox.net/b2rdf.php"
    http://fucking--pussy.com/
    set rss_url(migri) "http://blog.migri.de/b2rdf.php"
    <a href="http://my-sexy-syster.com/"> http://my-sexy-syster.com/ </a>
    set rss_url(narziss) "http://blubber.blogger.de/rss"
    http://my-sexy-syster.com/
    set rss_url(neowin) "http://neowin.net/backend.php?page=main"
    set rss_url(nofrag) "http://www.nofrag.com/nofrag.rss"
    set rss_url(orf) "http://rss.orf.at/news.xml"
    set rss_url(rus-cert) "http://CERT.Uni-Stuttgart.DE/ticker/rus-cert.rdf"
    set rss_url(sofa) "http://arrog.antville.org/rss"
    set rss_url(boston) "http://boston.craigslist.org/zip/index.rss"
    set rss_url(berlin) "http://www.undergroundlondon.com/weather/world.rss/016/c00059?type=title"

    </pre>



    Hm, here's the Script:
    <pre>########################
    #######RSS Reader#######
    ########################
    ########by BhaaL########
    ########################
    package require http

    ####CONFIG AREA####
    #Muster:
    #set rss_url(alias) "url"
    #alias kann beim Trigger verwendet werden, zb !rss heise
    #url wird als die zu parsende RSS verwendet
    set rss_url(s23) "http://wiki.s23.org/wiki.pl?RecenChanges&action=rss"
    set rss_url(heise) "http://www.heise.de/tp/news.rdf"
    set rss_url(c4) "http://koeln.ccc.de/cgi-bin/wiki.pl?RecentChanges&action=rss"
    set rss_url(/.) "http://slashdot.org/slashdot.rdf"
    ####CONFIG ENDE####

    bind pub - !rss rss:get

    proc rss:get {nick host hand chan arg} {
    global rss_url
    set url [join [lindex [split $arg] 0]]
    if {[info exists rss_url($url)]} {
    set url $rss_url($url)
    }
    rss:read "$url" $chan
    }

    proc rss:read {url chan} {
    set token [http::geturl $url -timeout 10000]
    if {[http::status $token]=="timeout"} {
    putmsg $chan "TimeOut beim verbinden!"
    return 0
    }
    set data [http::data $token]
    set page ""
    set title ""
    set link ""
    set section "channel"
    foreach line [split $data
    ] {
    if {$section == "channel"} {
    ###section channel start
    if {$page == "" && [string match -nocase "*<title>*" $line]} {
    set page [join [lindex [split [lindex [split $line >] 1] <] 0]]
    }
    if {[string match -nocase "*</channel>*" $line]} {
    set section "after channel"
    }
    ###section channel ende
    }
    ###-----------------------
    if {$section == "after channel"} {
    ###section after channel
    if {[string match -nocase "*<item*" $line]} {
    set section "item"
    }
    ###section after channel
    }
    ###----------------------
    if {$section == "item"} {
    ###section item start
    if {$link == "" && [string match -nocase "*<link*" $line]} {
    set link [join [lindex [split [lindex [split $line >] 1] <] 0]]
    break
    }
    if {$title == "" && [string match -nocase "*<title*" $line]} {
    set title [join [lindex [split [lindex [split $line >] 1] <] 0]]
    }
    ###section item ende
    }
    }
    if {$title != "" && $link != ""} {
    putmsg $chan "\002$page\002 $title: $link"
    } else {
    putmsg $chan "Fehler bei $url"
    }
    }
    putlog "RSS-Reader (c) 2004 by BhaaL loaded"
    </pre>

    Some Bits could be coded better, but this first Version works ;)

    [[Category:Newsfeeds]]
    [[Category:Scripts]]
    [[Category:IRC]]

    Latest revision as of 22:40, 21 November 2006

    Please add some good URLs to RSS Newsfeeds here: (this helps Bh44L while scripting the Eggdrop TCL script)

    http://mutante.s23.org/rssfeed023.tcl.txt

    -- [14:15:56] <s23> Available sources: (not all working, maybe we can get a few more to work)

    bugtraq: http://www.securityfocus.com/rss/vulnerabilities.xml
    bverfg: http://www.bundesverfassungsgericht.de/rss/entscheidungen/
    c4-wiki: http://wiki.koeln.ccc.de/index.php?title=Special:Recentchanges&feed=rss
    chaos: http://www.ccc.de/updates/chaosupdates.rdf
    cnn: http://www.cnn.com/cnn.rss
    diewelt: http://www.welt.de/z/newsticker/ticker_welt.xml
    fischlog: http://sakana.antville.org/rss
    freshmeat: http://freshmeat.net/backend/fm-releases-software.rdf
    gaim: http://gaim.sourceforge.net/rss.php/news
    galaxy-news: http://www.galaxy-news.de/backend.php
    golem: http://www.golem.de/golem_backend.rdf
    heise: http://www.heise.de/newsticker/heise.rdf
    heise-security: http://www.heise.de/security/news/news.rdf
    heisemobil: http://www.heise.de/mobil/newsticker/heise.rdf
    i-pobox: http://www.i-pobox.net/b2rdf.php
    instantnirvana: http://concord.antville.org/rss
    liberation: http://www.liberation.fr/rss.php
    linuxfr: http://linuxfr.org/backend.rss
    linuxtoday: http://linuxtoday.com/backend/biglt.rss
    lsmods: http://www.loose-screws.com/backend/mods_heavy.xml
    lwn: http://lwn.net/headlines/rss
    migriblog: http://blog.migri.de/b2rdf.php
    narzissmusverdacht: http://blubber.blogger.de/rss
    neowin: http://neowin.net/backend.php?page=main
    netzbuch: http://www.das-netzbuch.de/index.xml
    netzeitung: http://www.netzeitung.de/export/news/rss/titelseite.xml
    nofrag: http://www.nofrag.com/nofrag.rss
    orf: http://rss.orf.at/news.xml
    pcworld.com - latest news: http://rss.pcworld.com/rss/latestnews.rss
    pro-linux: http://www.pl-forum.de/backend/pro-linux.rdf
    rus-cert: http://CERT.Uni-Stuttgart.DE/ticker/rus-cert.rdf
    s23-wiki: http://is-root.de/wiki/index.php?title=Special:Recentchanges&feed=rss
    science: http://www.scienceticker.info/rss/RSS_File.xml
    shellcity: http://www.shellcity.net/citynews.xml
    slashdot: http://slashdot.org/slashdot.rss
    sofa: http://arrog.antville.org/rss
    spiegel.de: http://www.spiegel.de/schlagzeilen/rss/0,5291,,00.xml
    swr3: http://www.swr3.de/rdf-feed/
    symlink: http://www.symlink.ch/symlinkch.rss
    tagesschau: http://www.tagesschau.de/xml/tagesschau-meldungen/
    thinknerd: http://www.thinknerd.de/?q=node/feed
    utopia: http://www.utopiatemple.com/utopia-news.rss
    webstandards: http://www.webstandards.org/buzz/buzz.xml
    winfuture: http://media-designs.de/winfuture.rdf
    xoops: http://www.xoops.org/backend.php
    zeropage: http://www.zeropage.net/tmh/backend/tmh.rdf
    zone-h: http://zone-h.org/en/rss/advisories
    23 me BlOg: http://23.me.uk/atom/index.xml
    

    --

    example:

    set rss_url(alias) "url"

    
    set rss_url(s23) "http://wiki.s23.org/wiki.pl?RecenChanges&action=rss"
    set rss_url(ccc) "http://www.ccc.de/updates/chaosupdates.rdf"
    set rss_url(c4) "http://wiki.koeln.ccc.de/index.php?title=Special:Recentchanges&feed=rss"
    set rss_url(/.) "http://slashdot.org/slashdot.rdf"
    set rss_url(tagesschau) "http://www.tagesschau.de/xml/tagesschau-meldungen/"
    set rss_url(nirvana) "http://concord.antville.org/rss"
    set rss_url(fischlog) "http://sakana.antville.org/rss"
    set rss_url(golem) "http://www.golem.de/golem_backend.rdf"
    set rss_url(heise) "http://www.heise.de/newsticker/heise.rdf"
    set rss_url(telepolis) "http://www.heise.de/tp/news.rdf"
    set rss_url(heise-sec) "http://www.heise.de/security/news/news.rdf"
    set rss_url(heise-mob) "http://www.heise.de/mobil/newsticker/heise.rdf"
    set rss_url(i-pobox) "http://www.i-pobox.net/b2rdf.php"
    set rss_url(migri) "http://blog.migri.de/b2rdf.php"
    set rss_url(narziss) "http://blubber.blogger.de/rss"
    set rss_url(neowin) "http://neowin.net/backend.php?page=main"
    set rss_url(nofrag) "http://www.nofrag.com/nofrag.rss"
    set rss_url(orf) "http://rss.orf.at/news.xml"
    set rss_url(rus-cert) "http://CERT.Uni-Stuttgart.DE/ticker/rus-cert.rdf"
    set rss_url(sofa) "http://arrog.antville.org/rss"
    set rss_url(boston) "http://boston.craigslist.org/zip/index.rss"
    set rss_url(berlin) "http://www.undergroundlondon.com/weather/world.rss/016/c00059?type=title"
    
    


    Hm, here's the Script:

    ########################
    #######RSS Reader#######
    ########################
    ########by BhaaL########
    ########################
    package require http
    
    ####CONFIG AREA####
    #Muster:
    #set rss_url(alias) "url"
    #alias kann beim Trigger verwendet werden, zb !rss heise
    #url wird als die zu parsende RSS verwendet
    set rss_url(s23) "http://wiki.s23.org/wiki.pl?RecenChanges&action=rss"
    set rss_url(heise) "http://www.heise.de/tp/news.rdf"
    set rss_url(c4) "http://koeln.ccc.de/cgi-bin/wiki.pl?RecentChanges&action=rss"
    set rss_url(/.) "http://slashdot.org/slashdot.rdf"
    ####CONFIG ENDE####
    
    bind pub - !rss rss:get
    
    proc rss:get {nick host hand chan arg} {
    global rss_url
    set url [join [lindex [split $arg] 0]]
    if {[info exists rss_url($url)]} {
    set url $rss_url($url)
    }
    rss:read "$url" $chan
    }
    
    proc rss:read {url chan} {
    set token [http::geturl $url -timeout 10000]
    if {[http::status $token]=="timeout"} {
    putmsg $chan "TimeOut beim verbinden!"
    return 0
    }
    set data [http::data $token]
    set page ""
    set title ""
    set link ""
    set section "channel"
    foreach line [split $data 
    ] {
    if {$section == "channel"} {
    ###section channel start
    if {$page == "" && [string match -nocase "*<title>*" $line]} {
    set page [join [lindex [split [lindex [split $line >] 1] <] 0]]
    }
    if {[string match -nocase "*</channel>*" $line]} {
    set section "after channel"
    }
    ###section channel ende
    }
    ###-----------------------
    if {$section == "after channel"} {
    ###section after channel
    if {[string match -nocase "*<item*" $line]} {
    set section "item"
    }
    ###section after channel
    }
    ###----------------------
    if {$section == "item"} {
    ###section item start
    if {$link == "" && [string match -nocase "*<link*" $line]} {
    set link [join [lindex [split [lindex [split $line >] 1] <] 0]]
    break
    }
    if {$title == "" && [string match -nocase "*<title*" $line]} {
    set title [join [lindex [split [lindex [split $line >] 1] <] 0]]
    }
    ###section item ende
    }
    }
    if {$title != "" && $link != ""} {
    putmsg $chan "\002$page\002 $title: $link"
    } else {
    putmsg $chan "Fehler bei $url"
    }
    }
    putlog "RSS-Reader (c) 2004 by BhaaL loaded"
    

    Some Bits could be coded better, but this first Version works ;)

    Cookies help us deliver our services. By using our services, you agree to our use of cookies.

    Recent changes

  • BruderSpektrum • 15 hours ago
  • BruderSpektrum • 19 hours ago
  • BruderSpektrum • 19 hours ago
  • BruderSpektrum • 19 hours ago
  • Cookies help us deliver our services. By using our services, you agree to our use of cookies.