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

	<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>2010-02-06T21:37:43-04:00</updated>

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

		<entry>
		<author><name><![CDATA[speechles]]></name></author>
		<updated>2010-02-06T21:37:43-04:00</updated>

		<published>2010-02-06T21:37:43-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=91990#p91990</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=91990#p91990"/>
		<title type="html"><![CDATA[Re: Script for Posting like from txt]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=91990#p91990"><![CDATA[
<blockquote class="uncited"><div>Hi,<br>are there any scripts which post any text from outside, like googlesheet or something? I just cant use something like a txt in the local folder because this file/txt has to be accessed from outside.</div></blockquote>Any web fetch script can do this with a few regexp's or similar.<br>...but...<br>When the site requires https (secure socket) or authentication (base64), such as google docs spread sheet does. Your going to need to read on how to mimic API functions in pure tcl. Your also going to need to make sure your bot has the required tls package and base64 packages installed.<br><br><a href="http://code.google.com/apis/spreadsheets/data/3.0/developers_guide_protocol.html" class="postlink">http://code.google.com/apis/spreadsheet ... tocol.html</a><br><br>This gives you all the information you would need to accomplish what you want. The problem is there is a complete lack of an API package to wrap your API calls for those using tcl. So your going to basically need to write your own minimized API functions for logging in and then for retrieving. But your going to have to do it all in pure tcl. This is basically writing your own road map and learning as you go. This can either be fun or frustrating. This is how I wrote the <a href="http://forum.egghelp.org/viewtopic.php?t=17556" class="postlink">Twitter &amp; Tweets</a> script. I never used twitter before making that, and after finishing I still won't use it much. But it serves as proof-of-concept for others on how to accomplish this and how it works. <br><br>For google docs spread sheets this should get you started:<br><a href="http://code.google.com/apis/gdata/docs/auth/overview.html#AuthSub" class="postlink">http://code.google.com/apis/gdata/docs/ ... ml#AuthSub</a><br><br>Authsub is similar to the rest API used by twitter. You would only need to use Oauth if you wanted a "custom name" used for your application and requires alot of work for little gain. Hopefully others can give some insight into how google docs spread sheet API works as I've never used it myself....<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8138">speechles</a> — Sat Feb 06, 2010 9:37 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[dermont]]></name></author>
		<updated>2010-02-06T14:51:35-04:00</updated>

		<published>2010-02-06T14:51:35-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=91987#p91987</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=91987#p91987"/>
		<title type="html"><![CDATA[Script for Posting like from txt]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=91987#p91987"><![CDATA[
Hi,<br>are there any scripts which post any text from outside, like googlesheet or something? I just cant use something like a txt in the local folder because this file/txt has to be accessed from outside.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=7467">dermont</a> — Sat Feb 06, 2010 2:51 pm</p><hr />
]]></content>
	</entry>
	</feed>
