Joshua Bronson
2008-11-07 17:46:42 UTC
---------- Forwarded message ----------
From: Joshua Bronson <jabronson-***@public.gmane.org>
Date: Fri, Nov 7, 2008 at 12:44 PM
Subject: Re: feed lookup service only returns 1 result?
To: Google-AJAX-Search-API-/***@public.gmane.org
Hey Ben,
http://code.google.com/p/google-ajax-apis/issues/entry, there didn't seem to
be a way for me to specify 'suggestion' rather than 'defect'. Did I miss
something?
possible I'll be able to use this instead, though I have to think about it
some more. But for the sake of argument if nothing else, feed find and feed
lookup do serve two distinct purposes: find takes some search terms and
returns related feeds, whereas (as I understand it) lookup expects the url
of an html document and returns (currently only the first of possibly many)
feeds referenced in it. For this particular use case, I would want to plug
in "http://ianbicking.org", and get back all two feeds referenced via <link
rel="alternate"...> inside http://ianbicking.org/index.html, and no others.
This seems more like the intended purpose of lookup rather than find, and
I'm guessing the only reason lookup caps results at one is to
be conservative. Maybe it could instead return the first n, up to a certain
maximum that Google allows. If it's too much of a hassle to implement
though, I can continue to roll my own for this particular service.
Thanks again for the helpful reply.
Josh
Regards,
From: Joshua Bronson <jabronson-***@public.gmane.org>
Date: Fri, Nov 7, 2008 at 12:44 PM
Subject: Re: feed lookup service only returns 1 result?
To: Google-AJAX-Search-API-/***@public.gmane.org
Hey Ben,
Hey Josh --
So I updated the ticket
Thanks.So I updated the ticket
but it looks more like it would be a 'suggestion' than a 'defect'.
Agreed. When I created the ticket usinghttp://code.google.com/p/google-ajax-apis/issues/entry, there didn't seem to
be a way for me to specify 'suggestion' rather than 'defect'. Did I miss
something?
The lookup isn't supposed to return more than 1 item, but the feed find is.
http://ajax.googleapis.com/ajax/services/feed/find?v=1.0&q=site:http://ianbicking.org
With a bit of modification in the query, maybe it will serve you better?
Let me know if it works. If it does then I will mark the ticket as a
suggestion and 'will not fix' because I think that the feed find would be
the correct tool for the job.
Thanks for the suggestion. It's definitely a nice workaround, and it'shttp://ajax.googleapis.com/ajax/services/feed/find?v=1.0&q=site:http://ianbicking.org
With a bit of modification in the query, maybe it will serve you better?
Let me know if it works. If it does then I will mark the ticket as a
suggestion and 'will not fix' because I think that the feed find would be
the correct tool for the job.
possible I'll be able to use this instead, though I have to think about it
some more. But for the sake of argument if nothing else, feed find and feed
lookup do serve two distinct purposes: find takes some search terms and
returns related feeds, whereas (as I understand it) lookup expects the url
of an html document and returns (currently only the first of possibly many)
feeds referenced in it. For this particular use case, I would want to plug
in "http://ianbicking.org", and get back all two feeds referenced via <link
rel="alternate"...> inside http://ianbicking.org/index.html, and no others.
This seems more like the intended purpose of lookup rather than find, and
I'm guessing the only reason lookup caps results at one is to
be conservative. Maybe it could instead return the first n, up to a certain
maximum that Google allows. If it's too much of a hassle to implement
though, I can continue to roll my own for this particular service.
Thanks again for the helpful reply.
Josh
Regards,
Ben
This message is part of the topic "feed lookup service only returns 1
result?" in the Google Group "Google AJAX APIs" for which you requested
email updates.
To stop receiving email updates for this topic, please visit the topic
at
http://groups.google.com/group/Google-AJAX-Search-API/t/50e18134be97c101
-~----------~----~----~----~------~----~------~--~---
This issue was marked fixed on 10/15 but actually isn't. I said as
much in a comment but there has been no further activity. Can someone
with edit-issue privileges please update the ticket?
http://code.google.com/p/google-ajax-apis/issues/detail?id=111
Thanks,
Josh
http://jgeerdes.home.mchsi.com
--~--~---------~--~----~------------~-------~--~----~much in a comment but there has been no further activity. Can someone
with edit-issue privileges please update the ticket?
http://code.google.com/p/google-ajax-apis/issues/detail?id=111
Thanks,
Josh
http://code.google.com/p/google-ajax-apis/issues/detail?id=111
In case anyone else is interested in starring.
On Sep 11, 12:57 pm, "jgeerdes [AJAX APIs \"Guru\"]"
..In case anyone else is interested in starring.
On Sep 11, 12:57 pm, "jgeerdes [AJAX APIs \"Guru\"]"
If this is a feature suggestion, you'll want to post it to the issue
tracker.
http://code.google.com/p/google-ajax-apis/issues/list?can=2&q=&sort=-.
tracker.
http://code.google.com/p/google-ajax-apis/issues/list?can=2&q=&sort=-.
Jeremy R. Geerdes
Effective website design & development
Des Moines, IA
Effective website design & development
Des Moines, IA
If you're in the Des Moines, IA, area, check out Debra Heights
Wesleyan Church!
Wesleyan Church!
This message is part of the topic "feed lookup service only returns 1
result?" in the Google Group "Google AJAX APIs" for which you requested
email updates.
To stop receiving email updates for this topic, please visit the topic
at
http://groups.google.com/group/Google-AJAX-Search-API/t/50e18134be97c101
-~----------~----~----~----~------~----~------~--~---