tinyuri.co.uk now offers an xml interface to it's engine.
Just call it by going to http://tinyuri.co.uk/xml/?url=URL.
(URL must be URL-Encoded)
Four fields are returned:
- longurl: The URL passed into the engine
- tinyurl: The tinyurl generated
- errorid: A numeric status code:
0 - Everything OK, 1 - An error occured - errortext: The textual status