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

	<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-06-20T08:40:05-04:00</updated>

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

		<entry>
		<author><name><![CDATA[NewzUK]]></name></author>
		<updated>2003-06-20T08:40:05-04:00</updated>

		<published>2003-06-20T08:40:05-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=22279#p22279</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=22279#p22279"/>
		<title type="html"><![CDATA[multiple file saves with lynx]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=22279#p22279"><![CDATA[
thanks papillion - will look into this...<br><br><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=2210">NewzUK</a> — Fri Jun 20, 2003 8:40 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Papillon]]></name></author>
		<updated>2003-06-20T08:33:29-04:00</updated>

		<published>2003-06-20T08:33:29-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=22277#p22277</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=22277#p22277"/>
		<title type="html"><![CDATA[multiple file saves with lynx]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=22277#p22277"><![CDATA[
1. You can "split" up the time the files are beeing saved.<br>2. You can use the tcl http-package and make a script<br>3. Why are you opening the files for reading right after you have saved the html to them, and why don't you close them afterwards?<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=852">Papillon</a> — Fri Jun 20, 2003 8:33 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[NewzUK]]></name></author>
		<updated>2003-06-20T07:23:46-04:00</updated>

		<published>2003-06-20T07:23:46-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=22272#p22272</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=22272#p22272"/>
		<title type="html"><![CDATA[multiple file saves with lynx]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=22272#p22272"><![CDATA[
Hi<br><br>I have a script that, on a timer, retrieves several webpages via lynx and saves them to txt files.<br><br>I'm just wondering if there's a more efficiant way to do it, as sometimes it makes the bot ping out...<br><blockquote class="uncited"><div>proc put:getnews { min hour day month year } {<br>exec lynx -preparsed -dump -width=3000 <a href="http://www.url1.com" class="postlink">http://www.url1.com</a> &gt; one.txt<br><br>set f [open "one.txt" r]<br><br>exec lynx -preparsed -dump -width=3000 <a href="http://www.url2.com" class="postlink">http://www.url2.com</a> &gt; two.txt<br><br>set f [open "two.txt" r]<br><br>exec lynx -preparsed -dump -width=3000 <a href="http://www.url3.com" class="postlink">http://www.url3.com</a> &gt; three.txt<br><br>set f [open "three.txt" r]<br><br>exec lynx -preparsed -dump -width=3000 <a href="http://www.url4.com" class="postlink">http://www.url4.com</a> &gt; four.txt<br><br>set f [open "four.txt" r]<br>}</div></blockquote>cheers!<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2210">NewzUK</a> — Fri Jun 20, 2003 7:23 am</p><hr />
]]></content>
	</entry>
	</feed>
