I once tried a text to speech app based on looking up mp3 files from a Google site, word by word.
The site stopped working.
The lookup and queueing design might be similar to what you need to do for your google site.
There are lots of web service examples at
If you get yours working, we would love to add it to the collection.