If you post the full query your using i'll tell you if its correct. As for which language the choice is really yours, the API is flexible enough for almost any application in any language as long as it can handle xml sufficiency. I personally use PHP to query and collate results for display on screen because its what I've used and use to.
I built this tool using the API : http://dev.tomthedeveloper.com/googlebase/ca/ this doesn't directly use the attributes feed yet but will in the next update to 'suggest' attributes to add to items. It does however query the item type feed when selecting a region. On Apr 18, 3:09 pm, zweb <[email protected]> wrote: > Hello Tom, > > Thanks for your time; much appreciated. > > I see; so the Google example more or less pulls up commonly queried > for manufacturers. I suppose the attributes feed was used for > educational purposes. > > Having seen the AutosMasher Mashup, a pure JavaScript application > looked very attractive; however, if I should supply my own list of > makes, maybe it'll have to be PHP/MySQL based. > > On the second point regarding the locale, I added this to the > 'snippet' query variable (can a locale be set for the attributes > feed?): > > query = query + "[target country : GB]"; > > In your informed opinion, should I attempt to build such applications > in JavaScript or PHP? If PHP, simpleXML or Zend? Still getting my head > around Google Base; looks fascinating. > > Again, thanks for your time. > > Matt > > On Apr 18, 1:46 pm, Tom Wilson <[email protected]> wrote: > > > > > The attribute feed pulls all a collections of relevant attribute to > > the specific query not all attribute values specified across all items > > returned. > > > As stated here > > :http://code.google.com/apis/base/docs/2.0/reference.html#AttributesFeed > > > 'It provides statistics about how an item type has been used and lists > > what values have been used frequently for its attributes.' > > > If your wanting a full list of makes and models you'll need to supply > > these yourself, then query Google Base on the user selection. > > > On your second point how have you changed the locale exactly ? The > > correct why is to specifcy the target_country (which would be GB) > > > Tom Wilson > > Freelance Google Base Developer and Consultantwww.tomthedeveloper.com > > > Google Base Tools -http://dev.tomthedeveloper.com/googlebase > > Featured Project > > :http://google-code-featured.blogspot.com/2008/02/google-base-competit... > > > On Apr 18, 9:29 am, zweb <[email protected]> wrote: > > > > Hello there, > > > > Would anyone know why 'JavaScript AutosMasher Mashup' example only > > > generates fives makes of car manufacturers? > > > > Specifically, the getMakeOptions() queries the attributes feed for a > > > list of vehicle makes and only returns five. This doesn't make much > > > sense as there are surely more makes. Moreover, I've set the local to > > > GB and it still pulls up US specific car makers. > > > > Could anyone shed some light on this? > > > > Thanks in advance for any help.- Hide quoted text - > > > - Show quoted text - --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Google Base Data 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-Base-data-API?hl=en -~----------~----~----~----~------~----~------~--~---
