> >          executeList : ["allintitle: "\"preferred stock\""]
                                                  ^
                                                  ^

That quote immediately preceding the slash breaks the string and then
you attempt to escape the string, but you're no longer in a string.
Remove that quote and you should be good to go.




On Oct 14, 10:50 am, "Ben Lisbakken" <[EMAIL PROTECTED]> wrote:
> Hey Siam --
> Try this:
> executeList : ["allintitle:Apple macbook"]
>
> -Ben
>
> 2008/10/14 ss0luu <[EMAIL PROTECTED]>
>
>
>
> > Hi all,
>
> > Quick silly question that I thought I knew the answer to. I went to
> > news.google.com and did an advanced search for all articles that had
> > "preferred stock" in its headline. The search query was:
>
> > allintitle: "loose credit"
>
> > So, I wanted to incorporate this in my news bar but was unable to
> > because the query would have gone in like this:
>
> >          executeList : ["allintitle: "preferred stock""]
>
> > I also tried:
>
> >          executeList : ["allintitle: "\"preferred stock\""]
>
> > but neither method seemed to work. I was thinking that whatever kind
> > of search I can do in Google News I could probably do in the newsbar
> > too. So, if I can do this, please let me know. If there is a way I can
> > redo my syntax, please let me know what the solution is. Thanks for
> > your help everybody!
>
> > Siam Luu
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google AJAX API" 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
-~----------~----~----~----~------~----~------~--~---

Reply via email to