I am inserting vehicles using API. When I see the listing, it appreas
the description is parsed and parts of content from it is taken as
amenities. I want to keep the listing simple and not have the
amenities. How can I do that? You can see my test listing at
http://base.google.com/base/a/5300748/D9084842915350834951
Following is the code I have
Dim entry As New GBaseEntry
Dim author As New AtomPerson
entry.BatchData = New GDataBatchEntryData
entry.GBaseAttributes.ItemType = "Vehicles"
entry.Title.Text = vdr("Year") + " " + vdr("Make") + " " +
vdr("Model")
entry.GBaseAttributes.AddTextAttribute("year", vdr
("Year").ToString)
entry.GBaseAttributes.AddTextAttribute("make", vdr
("Make").ToString)
entry.GBaseAttributes.AddTextAttribute("model", vdr
("Model").ToString)
entry.GBaseAttributes.AddTextAttribute("condition", vdr
("SaleType").ToString)
entry.GBaseAttributes.AddTextAttribute("mileage", vdr
("Mileage").ToString)
entry.GBaseAttributes.AddTextAttribute("color", vdr
("ExteriorColor").ToString)
' code to build the description string
entry.GBaseAttributes.AddTextAttribute("description", str)
entry.BatchData.Type = GDataBatchOperationType.insert
Dim out As New GBaseEntry
Try
out = service.Insert
(GBaseUriFactory.Default.ItemsFeedUri, entry)
Catch ex As Exception
MsgBox(ex.Message)
End Try
What am I doing wrong?
Any help highly appreciated.
Ananth
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---