News for hackers. Stuff that matters.

Google Translate Hack: Text-to-Speech

http://translate.google.com/translate_tts?q=hello+hacker+news

Replace hello+hacker+news with your own string.

A cute hack if you need some decent text-to-speech

( 1 comment | 5 points | on HN )
Re:Google Translate Hack: Text-to-Speech by cydork on Tuesday December 15, 2009 @02:36AM (#996116)
Here is a basic bookmarklet!

javascript:(function(){q=document.getSelection().toString();if(q){q = q.replace(/\W/g, '+');q = q.replace(/\+\+/g, '+');q = q.replace(/^\+/g, '');location.href='http://translate.google.com/translate_tts?q=+q;};})()