dermont wrote:Hi,
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.
Any web fetch script can do this with a few regexp's or similar.
...but...
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.
http://code.google.com/apis/spreadsheet ... tocol.html
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
Twitter & Tweets 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.
For google docs spread sheets this should get you started:
http://code.google.com/apis/gdata/docs/ ... ml#AuthSub
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....