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

	<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>2005-11-19T07:29:44-04:00</updated>

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

		<entry>
		<author><name><![CDATA[BlinK_]]></name></author>
		<updated>2005-11-19T07:29:44-04:00</updated>

		<published>2005-11-19T07:29:44-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=57592#p57592</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=57592#p57592"/>
		<title type="html"><![CDATA[download a html file]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=57592#p57592"><![CDATA[
of course i have no exp in tcl scripting. that is why i'm asking help.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=6998">BlinK_</a> — Sat Nov 19, 2005 7:29 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[demond]]></name></author>
		<updated>2005-11-19T06:28:46-04:00</updated>

		<published>2005-11-19T06:28:46-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=57588#p57588</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=57588#p57588"/>
		<title type="html"><![CDATA[download a html file]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=57588#p57588"><![CDATA[
not a script problem, your installation's problem<br><br>learn to copy &amp; paste text, no need to post pictures of text; and learn how to use http package (I somehow doubt you have any experience in scripting though...)<br><br>there are zillions of http scripts which do what you want to do; how did your search yield nothing is beyond me<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=5056">demond</a> — Sat Nov 19, 2005 6:28 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[BlinK_]]></name></author>
		<updated>2005-11-19T04:47:55-04:00</updated>

		<published>2005-11-19T04:47:55-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=57587#p57587</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=57587#p57587"/>
		<title type="html"><![CDATA[download a html file]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=57587#p57587"><![CDATA[
thank you for help. Will demonds script overwrite bar.html file if it already exist?<br><br>And i get an error while running this script in tclpro :<br><br><a href="http://k.1asphost.com/pbatm/error.jpg" class="postlink">http://k.1asphost.com/pbatm/error.jpg</a><br><br>And i want to do a Half life server browser dcript. So i know the website witch gives information of specified servers. So i download html file to the eggdrop dir. Extract some info. And post it to the chan. Maybe there is some easyer way to do this? Maybe there is some scripts already done? I searched this tcl archive and found nothing. Then I googled a lot.. And still nothing...<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=6998">BlinK_</a> — Sat Nov 19, 2005 4:47 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[demond]]></name></author>
		<updated>2005-11-19T00:05:10-04:00</updated>

		<published>2005-11-19T00:05:10-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=57583#p57583</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=57583#p57583"/>
		<title type="html"><![CDATA[download a html file]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=57583#p57583"><![CDATA[
neither of these will work on Windows (windrop), nor will they help you later in parsing<br><br>you should use Tcl's built-in http package:<div class="codebox"><p>Code: </p><pre><code>package require httpset token [::http::geturl http://foo.com/bar.html]# save it to fileset f [open bar.html w]fconfigure $f -translation binaryputs -nonewline $f [::http::data $token]close $f# or parse itforeach line [split [::http::data $token] \n] {   # parse that line}::http::cleanup $token</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=5056">demond</a> — Sat Nov 19, 2005 12:05 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[rayman]]></name></author>
		<updated>2005-11-18T12:45:48-04:00</updated>

		<published>2005-11-18T12:45:48-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=57574#p57574</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=57574#p57574"/>
		<title type="html"><![CDATA[download a html file]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=57574#p57574"><![CDATA[
Or you can use lynx (if installed)<br><div class="codebox"><p>Code: </p><pre><code>exec lynx -dump http://www.somesite.com/somepage.html &gt;somefile.tmp</code></pre></div>Greetz<br>rayman<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=6997">rayman</a> — Fri Nov 18, 2005 12:45 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[]Kami[]]></name></author>
		<updated>2005-11-18T12:41:09-04:00</updated>

		<published>2005-11-18T12:41:09-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=57573#p57573</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=57573#p57573"/>
		<title type="html"><![CDATA[download a html file]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=57573#p57573"><![CDATA[
Well, you could do it with shell command, but u need to have wget installed  <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_razz.gif" width="15" height="15" alt=":P" title="Razz"> <br><div class="codebox"><p>Code: </p><pre><code>catch {exec wget http://somesite.some/somefile.html}file rename -force somefile.html /home/you/eggdrop/somefile.html</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3559">]Kami[</a> — Fri Nov 18, 2005 12:41 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[BlinK_]]></name></author>
		<updated>2005-11-18T12:18:28-04:00</updated>

		<published>2005-11-18T12:18:28-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=57571#p57571</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=57571#p57571"/>
		<title type="html"><![CDATA[download a html file]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=57571#p57571"><![CDATA[
Hello. How to download a file, in ex: <a href="http://somesite.some/somefile.html" class="postlink">http://somesite.some/somefile.html</a> to the eggdrop dir. Later i want to extract some notes from it. But i asume learning how to download it wuold be a best start.. Thank you.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=6998">BlinK_</a> — Fri Nov 18, 2005 12:18 pm</p><hr />
]]></content>
	</entry>
	</feed>
