please give me directions of how to list my paintings for sale on google...thanks aleeta ----- Original Message ----- From: "Tom Wilson" <[email protected]> To: "Google Base Data API" <[email protected]> Sent: Saturday, July 11, 2009 4:39 PM Subject: [Google-Base-API] Re: Ranking Language, expression needs int
Can you provide example queries ? Why exactly are you trying to search on this attribute and whats its for ? Tom Wilson Freelance Google Base Developer and Consultant www.tomthedeveloper.com Google Base Tools - http://dev.tomthedeveloper.com/googlebase Featured Project : http://google-code-featured.blogspot.com/2008/02/google-base-competitor-analysis.html On Jul 11, 3:46 pm, Josh Cummings <[email protected]> wrote: > I am trying to use the follow expression to rank my items: > > orderby=[x = myattribute(int): if (x%252==0) then x else fail()] > > (The %25 evaluates to '%') > > I get the following back: > > "Invalid expression: malformed expression: (x % 2); expected operand > of type int, but found myattribute(int)" > > 'myattribute' is a custom attribute which I supply in a data feed like > this 'c:myattribute:integer'. When I pull up the item for editing, it > displays as type 'Number'. > > I wondered if it was because 'myattribute' is a custom attribute, so I > also tried 'quantity' with the same results. > > What do I need to change? > > Thanks, > Josh --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
