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

	<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-01-20T12:32:16-04:00</updated>

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

		<entry>
		<author><name><![CDATA[caesar]]></name></author>
		<updated>2004-01-20T12:32:16-04:00</updated>

		<published>2004-01-20T12:32:16-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=32702#p32702</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=32702#p32702"/>
		<title type="html"><![CDATA[How to read from a remote txt file via http?]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=32702#p32702"><![CDATA[
For an 10 minutes *timer* use something like:<div class="codebox"><p>Code: </p><pre><code>bind time - "?0 *" my:time</code></pre></div>as for the web thing (requires http package):<div class="codebox"><p>Code: </p><pre><code>package require httpset token [::http::geturl "your_url_goes_here"]set content [::http::data $token]::http::cleanup $content</code></pre></div>and get your stuff from $content.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=187">caesar</a> — Tue Jan 20, 2004 12:32 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Anonymous]]></name></author>
		<updated>2004-01-19T22:05:41-04:00</updated>

		<published>2004-01-19T22:05:41-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=32672#p32672</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=32672#p32672"/>
		<title type="html"><![CDATA[How to read from a remote txt file via http?]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=32672#p32672"><![CDATA[
Hey,<br><br>I've made a web script that generates a single line text file containing data posted on a webform.<br><br>I need to write a tcl that checks say every 10 seconds or so that will read that text file via a http:// call and then set the content to a variable to be used inside the script.<br><br>The eggdrop and the web server are un LAN'd seperate boxes.<br><br>Can anyone help?<p>Statistics: Posted by Guest — Mon Jan 19, 2004 10:05 pm</p><hr />
]]></content>
	</entry>
	</feed>
