<?xml version="1.0" encoding="UTF-8"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en-gb">
	<link rel="self" type="application/atom+xml" href="https://forum.eggheads.org/app.php/feed/topic/17632" />

	<title>egghelp/eggheads community</title>
	<subtitle>Discussion of eggdrop bots, shell accounts and tcl scripts.</subtitle>
	<link href="https://forum.eggheads.org/index.php" />
	<updated>2010-03-05T13:29:39-04:00</updated>

	<author><name><![CDATA[egghelp/eggheads community]]></name></author>
	<id>https://forum.eggheads.org/app.php/feed/topic/17632</id>

		<entry>
		<author><name><![CDATA[TCL_no_TK]]></name></author>
		<updated>2010-03-05T11:10:56-04:00</updated>

		<published>2010-03-05T11:10:56-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=92385#p92385</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=92385#p92385"/>
		<title type="html"><![CDATA[updating http.tcl + old script [solved]]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=92385#p92385"><![CDATA[
Thanks, I'm didn't know there was an other http.tcl <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_smile.gif" width="15" height="15" alt=":)" title="Smile"><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8130">TCL_no_TK</a> — Fri Mar 05, 2010 11:10 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Torrevado]]></name></author>
		<updated>2010-03-05T04:53:50-04:00</updated>

		<published>2010-03-05T04:53:50-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=92382#p92382</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=92382#p92382"/>
		<title type="html"><![CDATA[updating http.tcl + old script [solved]]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=92382#p92382"><![CDATA[
@nml375: adding http:// fixed it.<br>@TCL_no_TK<blockquote class="uncited"><div>I'd recommend you look at the script (http.tcl) and check that its the correct one?</div></blockquote><div class="codebox"><p>Code: </p><pre><code># http.tcl --##Client-side HTTP for GET, POST, and HEAD commands. These routines can#be used in untrusted code that uses the Safesock security policy. These#procedures use a callback interface to avoid using vwait, which is not#defined in the safe base.## See the file "license.terms" for information on usage and redistribution of# this file, and for a DISCLAIMER OF ALL WARRANTIES.## RCS: @(#) $Id: http.tcl,v 1.67.2.4 2008/08/11 21:57:14 dgp Exp $package require Tcl 8.4# Keep this in sync with pkgIndex.tcl and with the install directories# in Makefilespackage provide http 2.7.1</code></pre></div>Thank you both for helping <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_smile.gif" width="15" height="15" alt=":)" title="Smile"><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8047">Torrevado</a> — Fri Mar 05, 2010 4:53 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[nml375]]></name></author>
		<updated>2010-03-04T14:04:34-04:00</updated>

		<published>2010-03-04T14:04:34-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=92368#p92368</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=92368#p92368"/>
		<title type="html"><![CDATA[updating http.tcl + old script [solved]]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=92368#p92368"><![CDATA[
Have you tried adding http:// to the url's?<br>Such as <a href="http://www.terra.cl/astrologia/include/pop_h_diario.cfm?signo=19" class="postlink">http://www.terra.cl/astrologia/include/ ... m?signo=19</a><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8052">nml375</a> — Thu Mar 04, 2010 2:04 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[TCL_no_TK]]></name></author>
		<updated>2010-03-04T13:49:15-04:00</updated>

		<published>2010-03-04T13:49:15-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=92365#p92365</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=92365#p92365"/>
		<title type="html"><![CDATA[updating http.tcl + old script [solved]]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=92365#p92365"><![CDATA[
The only http.tcl version i know of is <strong class="text-strong">2.5</strong> and the script should still work with the newer versions, if there are any.<br><br>I'd recommend you look at the script (http.tcl) and check that its the correct one?<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8130">TCL_no_TK</a> — Thu Mar 04, 2010 1:49 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Torrevado]]></name></author>
		<updated>2010-03-05T13:29:39-04:00</updated>

		<published>2010-03-04T04:29:58-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=92358#p92358</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=92358#p92358"/>
		<title type="html"><![CDATA[updating http.tcl + old script [solved]]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=92358#p92358"><![CDATA[
Hi, <br>I guess this is the right place to post it since there's no way to contact author...<br><br>Updating http.tcl from v2.5.001 to 2.7.1, horoscope.tcl I'm using stopped working  <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_cry.gif" width="15" height="15" alt=":cry:" title="Crying or Very sad"> <br><blockquote class="uncited"><div>Tcl error [pub:horoscopo]: Unsupported URL: <a href="http://www.terra.cl/astrologia/include/pop_h_diario.cfm?signo=19" class="postlink">www.terra.cl/astrologia/include/pop_h_d ... m?signo=19</a></div></blockquote>How could it be fixed? (if I go back to older http.tcl, the script works again).<br><br>This is the short script<div class="codebox"><p>Code: </p><pre><code># Reportar Errores a mi# Aportes y actualizaciones seran bienvenidas =)# Aguante las Tclsbind pub - !horoscopo pub:horoscopoproc pub:horoscopo {nick host hand chan arg} {  set arg [lindex $arg 0]  if {$arg==""} {    putserv "NOTICE $nick :4Usa: 14!horoscopo &lt;signo&gt;, 4Ej: 14!horoscopo aries"    return 0  }  switch [string tolower $arg] {    "aries" {      set pagina "www.terra.cl/astrologia/include/pop_h_diario.cfm?signo=2"    } "tauro" {      set pagina "www.terra.cl/astrologia/include/pop_h_diario.cfm?signo=19"    } "geminis" {      set pagina "www.terra.cl/astrologia/include/pop_h_diario.cfm?signo=7"    } "cancer" {      set pagina "www.terra.cl/astrologia/include/pop_h_diario.cfm?signo=3"    } "leo" {      set pagina "www.terra.cl/astrologia/include/pop_h_diario.cfm?signo=10"    } "virgo" {      set pagina "www.terra.cl/astrologia/include/pop_h_diario.cfm?signo=22"    } "libra" {      set pagina "www.terra.cl/astrologia/include/pop_h_diario.cfm?signo=11"    } "escorpion" {      set pagina "www.terra.cl/astrologia/include/pop_h_diario.cfm?signo=6"    } "sagitario" {      set pagina "www.terra.cl/astrologia/include/pop_h_diario.cfm?signo=16"    } "capricornio" {      set pagina "www.terra.cl/astrologia/include/pop_h_diario.cfm?signo=4"    } "acuario" {      set pagina "www.terra.cl/astrologia/include/pop_h_diario.cfm?signo=1"    } "piscis" {      set pagina "www.terra.cl/astrologia/include/pop_h_diario.cfm?signo=14"    } default {      putserv "PRIVMSG $chan :4Signos validos: 14aries, tauro, geminis, cancer, leo, virgo,\              libra, escorpion, sagitario, capricornio, acuario y piscis."    }  }  set http [http::config -useragent mozilla]  set http [http::geturl $pagina -timeout [expr 1000 * 10]]  set html [http::data $http]  regexp {&lt;span class="txt_2_10"&gt;&lt;b&gt;&lt;/b&gt;&lt;br&gt;(.*)} $html horoscopo  regsub -all "&lt;span class=\"txt_2_10\"&gt;&lt;b&gt;&lt;/b&gt;&lt;br&gt;" $horoscopo "" horoscopo  regsub -all "&lt;br&gt;&lt;/span&gt;" $horoscopo "" horoscopo  putserv "PRIVMSG $chan :4[string toupper $arg]:14 $horoscopo"}</code></pre></div>Any help will be appreciated  <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_smile.gif" width="15" height="15" alt=":)" title="Smile"><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8047">Torrevado</a> — Thu Mar 04, 2010 4:29 am</p><hr />
]]></content>
	</entry>
	</feed>
