<?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/7775" />

	<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>2004-06-26T17:11:55-04:00</updated>

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

		<entry>
		<author><name><![CDATA[awyeah]]></name></author>
		<updated>2004-06-26T17:11:55-04:00</updated>

		<published>2004-06-26T17:11:55-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=37907#p37907</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=37907#p37907"/>
		<title type="html"><![CDATA[Help with egghttp.tcl]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=37907#p37907"><![CDATA[
Even a missing single character "\" can make an script error and render a script useless.<br><br>When we goto a url:<br><br><a href="http://www.yahoo.com" class="postlink">http://www.yahoo.com</a><br><a href="http://www.yahoo.com/" class="postlink">http://www.yahoo.com/</a><br><a href="http://www.yahoo.com" class="postlink">www.yahoo.com</a><br><br>For us all would give the same output, however the input is different.<br>Thats what we sometimes forget, in scripting and coding this is different.<br><br>Strikelight is a master in egghttp.tcl and these types of scripts which retreive data from websites and parse them through onto irc channels as privmsgs and notices, so he knows well!<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=4875">awyeah</a> — Sat Jun 26, 2004 5:11 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Monty_]]></name></author>
		<updated>2004-06-26T16:05:56-04:00</updated>

		<published>2004-06-26T16:05:56-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=37903#p37903</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=37903#p37903"/>
		<title type="html"><![CDATA[Help with egghttp.tcl]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=37903#p37903"><![CDATA[
Geez, that's all it took.<br><br>Thanks  <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_biggrin.gif" width="15" height="15" alt=":D" title="Very Happy"><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=4959">Monty_</a> — Sat Jun 26, 2004 4:05 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[strikelight]]></name></author>
		<updated>2004-06-25T02:01:12-04:00</updated>

		<published>2004-06-25T02:01:12-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=37839#p37839</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=37839#p37839"/>
		<title type="html"><![CDATA[Help with egghttp.tcl]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=37839#p37839"><![CDATA[
Change:<div class="codebox"><p>Code: </p><pre><code>set sock [egghttp:geturl http://www.humorscope.com parse_horoscope]</code></pre></div>To:<div class="codebox"><p>Code: </p><pre><code>set sock [egghttp:geturl http://www.humorscope.com/ parse_horoscope]</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2005">strikelight</a> — Fri Jun 25, 2004 2:01 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Monty_]]></name></author>
		<updated>2004-06-25T00:16:06-04:00</updated>

		<published>2004-06-25T00:16:06-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=37830#p37830</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=37830#p37830"/>
		<title type="html"><![CDATA[Help with egghttp.tcl]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=37830#p37830"><![CDATA[
Good thinking:<br><br>bind pub - !horoscope horoscope<br><br>proc horoscope { nick uhost hand chan text } {<br><br>     set sock [egghttp:geturl <a href="http://www.humorscope.com" class="postlink">http://www.humorscope.com</a> parse_horoscope]<br>     return 1<br>}<br><br>proc parse_horoscope { sock } {<br>     set headers [egghttp:headers $sock]<br>     set body [egghttp:data $sock]<br>     regsub -all "\n" $body "" body<br>     regsub -all -nocase {&lt;br&gt;} $body "&lt;br&gt;\n" body<br>     putserv "privmsg (chan) :$headers"<br>     putserv "privmsg (chan) :$body"<br>}<br><br>The idea is to look at how the HTML comes across so I can decide how to parse it.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=4959">Monty_</a> — Fri Jun 25, 2004 12:16 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[strikelight]]></name></author>
		<updated>2004-06-24T23:18:04-04:00</updated>

		<published>2004-06-24T23:18:04-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=37829#p37829</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=37829#p37829"/>
		<title type="html"><![CDATA[Help with egghttp.tcl]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=37829#p37829"><![CDATA[
might help if you posted your script that generated the error<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2005">strikelight</a> — Thu Jun 24, 2004 11:18 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Monty_]]></name></author>
		<updated>2004-06-24T23:01:32-04:00</updated>

		<published>2004-06-24T23:01:32-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=37828#p37828</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=37828#p37828"/>
		<title type="html"><![CDATA[Help with egghttp.tcl]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=37828#p37828"><![CDATA[
When attempting to retrieve a web page, I get the following error:<br><br>&lt;!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN"&gt;&lt;HTML&gt;&lt;HEAD&gt;&lt;TITLE&gt;400 Bad Request&lt;/TITLE&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;H1&gt;Bad Request&lt;/H1&gt;Your browser sent a request that this server could not understand.&lt;P&gt;Invalid URI in request GET  HTTP/2.0&lt;P&gt;&lt;HR&gt;&lt;ADDRESS&gt;Apache/1.3.27 Server at <a href="http://www.humorscope.com" class="postlink">www.humorscope.com</a> Port 80&lt;/ADDRESS&gt;&lt;/BODY&gt;&lt;/HTML&gt;<br><br>Does anyone understand this, and even better, know what's wrong?<br><br>Thanks<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=4959">Monty_</a> — Thu Jun 24, 2004 11:01 pm</p><hr />
]]></content>
	</entry>
	</feed>
