Yeah, the concepts are the same. I included the Search docs because of the code snippets there. I don't know why I didn't include the other links for you, though. Here they are:
http://code.google.com/apis/ajaxlanguage/documentation/index.html#fonje http://code.google.com/apis/ajaxlanguage/documentation/reference.html#_intro_fonje Jeremy R. Geerdes Effective website design & development Des Moines, IA For more information or a project quote: http://jgeerdes.home.mchsi.com [email protected] If you're in the Des Moines, IA, area, check out Debra Heights Wesleyan Church! On Sep 16, 2010, at 7:31 PM, Eureka wrote: > After being trying I have to say that i couldn't do it using Curl. My > idea was use Curl with the trnaslator page but when I was going to use > it I realized that the original and traslated texts weren't in the > html code so I can grab this with Curl. Also the page that you sent me > was ok but it only talks about search nothing about translator. Isn't > there any more information? > > On Sep 16, 11:26 pm, Eureka <[email protected]> wrote: >> Oh great! I was thinking in use Curl and now I see there's a >> connection with Curl in the section PHP. >> >> Thanks again! >> >> On Sep 16, 10:45 pm, Jeremy Geerdes <[email protected]> wrote: >> >> >> >>> It is available from PHP. Check out the documentation where it talks about >>> "Flash and Other Non-Javascript Environments," linked below: >> >>> http://code.google.com/apis/ajaxsearch/documentation/index.html#fonje...... >> >>> Jeremy R. Geerdes >>> Effective website design & development >>> Des Moines, IA >> >>> For more information or a project quote:http://jgeerdes.home.mchsi.com >>> [email protected] >> >>> If you're in the Des Moines, IA, area, check out Debra Heights Wesleyan >>> Church! >> >>> On Sep 16, 2010, at 3:41 PM, Eureka wrote: >> >>>> Bufff I think I'm gonna try to do some way different. I don't know >>>> very well js. If google API were accessible from PHP may be it would >>>> be easier. >> >>>> Thanks for your comment! >> >>>> On Sep 16, 4:08 am, Jeremy Geerdes <[email protected]> wrote: >>>>> Using Javascript alone, there is really no way to run translation >>>>> requests "synchronously," or in such a manner that the browser runs the >>>>> translation and waits to continue executing script until a response is >>>>> received. That said, you can work around this by building your own >>>>> server-side proxy. Once you've built this proxy, you can set up an >>>>> XMLHttpRequest in synchronous mode to send requests back to the server, >>>>> which will send the request to Google and return the response back to >>>>> your script. You will then have to parse it with either an eval (not a >>>>> great idea) or the json2.js parser fromhttp://www.json.org. >> >>>>> Jeremy R. Geerdes >>>>> Effective website design & development >>>>> Des Moines, IA >> >>>>> For more information or a project quote:http://jgeerdes.home.mchsi.com >>>>> [email protected] >> >>>>> If you're in the Des Moines, IA, area, check out Debra Heights Wesleyan >>>>> Church! >> >>>>> On Sep 15, 2010, at 8:49 PM, Eureka wrote: >> >>>>>> Hi! >> >>>>>> i'm making a js script for retranslating some times an array. It's >>>>>> quite funny if you read the text retranslated a few times and I wanted >>>>>> to do it automatically with a script but while i was trying this i >>>>>> "get" an error. My code is ok because i get the answer if I save all >>>>>> to a var and the I call setTimeout to a function that prints that var >>>>>> but it's not good idea because js gets crazy because it sends to >>>>>> google the request but continues with the rest of the loop and if i >>>>>> want to include something more between the diferent translations I >>>>>> can't. I don't want to continue before I get the answer from Google >>>>>> so, how can I stop js loop until I get an answer from Google? >> >>>>>> Thanks! >> >>>>>> -- >>>>>> You received this message because you are subscribed to the Google >>>>>> Groups "Google AJAX APIs" group. >>>>>> To post to this group, send email to >>>>>> [email protected]. >>>>>> To unsubscribe from this group, send email to >>>>>> [email protected]. >>>>>> For more options, visit this group >>>>>> athttp://groups.google.com/group/google-ajax-search-api?hl=en. >> >>>> -- >>>> You received this message because you are subscribed to the Google Groups >>>> "Google AJAX APIs" group. >>>> To post to this group, send email to >>>> [email protected]. >>>> To unsubscribe from this group, send email to >>>> [email protected]. >>>> For more options, visit this group >>>> athttp://groups.google.com/group/google-ajax-search-api?hl=en. > > -- > You received this message because you are subscribed to the Google Groups > "Google AJAX APIs" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]. > For more options, visit this group at > http://groups.google.com/group/google-ajax-search-api?hl=en. > -- You received this message because you are subscribed to the Google Groups "Google AJAX APIs" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/google-ajax-search-api?hl=en.
