I can't seem to get the price of an item out of the snippets feed. All
the other data is valid just the price appears blank. I tried with the
google sample query of digital camera and all the other data is comming
back fine but if I request entry.GBaseAttributes.Price it is blank.
This code works find for getting stuff like expiration date, location,
etc... just price comes back blank. I grab straight entry properties
like entry.Title and it comes back just fine too.
Any one no what I am doing wrong?
Dim service As GBaseService = New GBaseService("Google-Tutorial-1.0",
"ABQTHERESTOFMYKEY")
Dim query As GBaseQuery = New
GBaseQuery(GBaseUriFactory.Default.SnippetsFeedUri)
query.GoogleBaseQuery = " [item type: products] digital camera"
Dim feed As GBaseFeed = service.Query(query)
For Each entry As GBaseEntry In feed.Entries
response.write(entry.Title.Text)
response.write(entry.GBaseAttributes.ExpirationDate)
response.write(entry.GBaseAttributes.Price)
Next
Results in:
Digital Camera Battery
2/18/2007 5:32:07 AM
Thanks in advance!