Yes Mr. Geerdes, you're right. It is returning no results. If you go
to the news.google.com searchbox and typed in, allintitle: "profit and
loss" as a search string though, it returns 3 results but in the
Google News Bar API, it returns 0 results (therefore it defaults to
"Google" as the search query). How can I get around that? And I do not
wish to use

executeList : ["allintitle: profit and loss"]

because that returns more results and some of them are sometimes
pertinent, sometimes not (results show articles with the words
"profit" and "loss" somewhere in the article title but not articles
that have those two words together as a string all the time).

...Sorry for being confusing and picky :) But I appreciate the help!

Siam Luu

That's what I was trying to point out. Sorry, my bad, my bad.


On Oct 14, 2:37 pm, Jeremy Geerdes <[EMAIL PROTECTED]> wrote:
> It sounds like your search returned no results.  If that's the case,  
> then the NewsBar will automatically use a fallback search of "google".
>
> Jeremy R. Geerdes
> Effective website design & development
> Des Moines, IA
>
> For more information or a project quote:http://jgeerdes.home.mchsi.com
> [EMAIL PROTECTED]
>
> Unless otherwise noted, any price quotes contained within this  
> communication are given in US dollars.
>
> If you're in the Des Moines, IA, area, check out Debra Heights  
> Wesleyan Church!
>
> On Oct 14, 2008, at 1:05 PM, ss0luu wrote:
>
>
>
>
>
> > Thanks Mr. Lisbakken and Mr. Foster. I tried your suggestions, and it
> > helped a little bit. It worked for "preferred stock" because and I'm
> > hoping to take the success from preferred stock to the next term where
> > I'm having more trouble. For the next one, the best way to show what
> > happens is if you go to google news and put these in the search boxes:
>
> > allintitle: profit and loss
> > or
> > allintitle: "profit and loss"
>
> > I want the results from the search string allintitle: "profit and
> > loss" to show but using what I learned from the previous methods, I
> > cannot get it to work in the API. That is, I tried  this:
>
> > executeList : ["allintitle: \"profit and loss\""]
>
> > And my results came out as if I did
>
> > executeList : ["google"]
>
> > Thanks very much for the help!
>
> > Siam Luu
>
> > On Oct 14, 12:05 pm, Matt Foster <[EMAIL PROTECTED]> wrote:
> >>>>         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- Hide quoted text -
>
> >> - Show quoted text -- Hide quoted text -
>
> - Show quoted text -
--~--~---------~--~----~------------~-------~--~----~
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