HTTP GET

321 views
Skip to first unread message

David McRaney

unread,
Aug 2, 2010, 3:43:47 PM8/2/10
to Tasker
I'd appreciate a breakdown of how to use HTTP GET to grab stuff off of
websites and display them. The file on getting the sunset information
from Yahoo in the Wiki doesn't work well and has a typo:
http://tasker.wikidot.com/http-get

A more detailed example on how to grab anything I want from an xml
file would be cool.

Pent

unread,
Aug 3, 2010, 8:27:11 AM8/3/10
to Tasker
> A more detailed example on how to grab anything I want from an xml
> file would be cool.

There isn't much you can do with regards to picking bits out of
variables ATM,
best you can do is using Variable Split.

Pent

Pete Scott

unread,
Aug 3, 2010, 10:03:54 AM8/3/10
to Tasker
Arguably, I don't think this (parsing XML) is something Tasker should
tackle. It might be more sane to use Tasker to grab the xml file with
http-get, then call an ASE script to process the file. Parsing XML is
trivial with Perl (though I don't know... is CPAN available with the
ASE Perl interpreter?) and I can only imagine it's pretty well
supported in Python as well. I don't think Pent needs to implement the
Tasker Programming Language. The TODO list is big enough already. =]
Reply all
Reply to author
Forward
0 new messages