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

	<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>2003-03-11T16:22:52-04:00</updated>

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

		<entry>
		<author><name><![CDATA[Papillon]]></name></author>
		<updated>2003-03-11T16:22:52-04:00</updated>

		<published>2003-03-11T16:22:52-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=17739#p17739</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=17739#p17739"/>
		<title type="html"><![CDATA[Problems printing a website`s source..]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=17739#p17739"><![CDATA[
you're not  <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_wink.gif" width="15" height="15" alt=":wink:" title="Wink"><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=852">Papillon</a> — Tue Mar 11, 2003 4:22 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[spock]]></name></author>
		<updated>2003-03-11T16:20:03-04:00</updated>

		<published>2003-03-11T16:20:03-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=17737#p17737</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=17737#p17737"/>
		<title type="html"><![CDATA[Problems printing a website`s source..]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=17737#p17737"><![CDATA[
\n<br><br>i could be wrong though  <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_rolleyes.gif" width="15" height="15" alt=":roll:" title="Rolling Eyes"><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2369">spock</a> — Tue Mar 11, 2003 4:20 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[ppslim]]></name></author>
		<updated>2003-03-11T05:21:08-04:00</updated>

		<published>2003-03-11T05:21:08-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=17705#p17705</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=17705#p17705"/>
		<title type="html"><![CDATA[Problems printing a website`s source..]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=17705#p17705"><![CDATA[
My guess, is the very first line of the returned data is a NEW LINE character.<br><br>This is being sent in the putserv, and causing the server to ignore, or error on the rest of the data.<br><br>You don't use the "list" command on the data, as that simply creates a single item list.<br><br>You need to split the output, using the newline character "/n"<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2">ppslim</a> — Tue Mar 11, 2003 5:21 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Papillon]]></name></author>
		<updated>2003-03-11T04:46:46-04:00</updated>

		<published>2003-03-11T04:46:46-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=17703#p17703</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=17703#p17703"/>
		<title type="html"><![CDATA[Problems printing a website`s source..]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=17703#p17703"><![CDATA[
<a href="http://tcl.activestate.com/man/tcl8.3/TclCmd/http.htm#M29" class="postlink">http://tcl.activestate.com/man/tcl8.3/T ... tp.htm#M29</a><br>::http::data $token returns the source =)<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=852">Papillon</a> — Tue Mar 11, 2003 4:46 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[ProXy]]></name></author>
		<updated>2003-03-10T21:18:56-04:00</updated>

		<published>2003-03-10T21:18:56-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=17687#p17687</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=17687#p17687"/>
		<title type="html"><![CDATA[Problems printing a website`s source..]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=17687#p17687"><![CDATA[
Hi,<br><br>I just wrote a little Script that should give out the Source of a given Website to the channel. The sorce of the tcl is:<br><div class="codebox"><p>Code: </p><pre><code>proc intern:ogame2 {channel sessionid} {set halfurl "http://u3.o5game.de/game/"set token [http::geturl [append overviewurl $halfurl "overview.php?session=" $sessionid]]putserv "PRIVMSG $channel :$overviewurl"upvar #0 $token stateforeach line [list $state(body)] {putserv "PRIVMSG $channel :$line"}http::cleanup $token}</code></pre></div>The first putserv return the right URL, so I guess that geturl reads the correct site. But why doesn`t the script return the source of the website?<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=1729">ProXy</a> — Mon Mar 10, 2003 9:18 pm</p><hr />
]]></content>
	</entry>
	</feed>
