How are you submitting the items ? Are you submitting these as
drafts ?

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 Feb 20, 5:59 pm, jake <[email protected]> wrote:
> Hello ,
>
> I started uploading products to google base from my website using the
> google base api recently .
> The thing is that I am able to insert items without any problem .
> However when i try to retrieve an item that
> i inserted, I am unable to do it . But once I log into google,
> navigate to my items, open the item to edit
> and click on the publish button , retrieval becomes possible.
>
> For example :
>
>   Dim service As New GBaseService("testapp", AppSettings("devkey"))
>
>         service.setUserCredentials(AppSettings("Uname"), AppSettings
> ("pass"))
>         Dim entry As New GBaseEntry
>         entry.Title.Text = "test shoes771"
>         Dim images As String() = {AppSettings("url")}
>
>         Dim author As New AtomPerson
>         author.Name = "[email protected]"
>
>         entry.Authors.Add(author)
>         entry.Content.Content = "OegentestdataOegentestdata"
>         entry.GBaseAttributes.ItemType = "Shoes"
>         entry.GBaseAttributes.ImageLinks = images
>         entry.GBaseAttributes.AddTextAttribute("Skucode", "test")
>
>         ''Dim Gbase As GBaseEntry = service.Insert
> (GBaseUriFactory.Default.ItemsFeedUri, entry)
>
> The above given code is what i use to insert my items into google
> base. But when i try to retrieve the item using the below given code ,
> the feed returns with 0 entries
>
>   Dim query As New GBaseQuery(GBaseUriFactory.Default.ItemsFeedUri)
>
>         query.GoogleBaseQuery = "test shoes771"
>
>         Dim feed As GBaseFeed = service.Query(query)
>
> But once i log into google base, and edit the item test shoes771 and
> hit the publish button (even without making any changes to the item),
> the quesry returns the entry in the feed without any probs ...
>
> Can someone please help ? Can i get around the problem in some other
> way
>
> Regards
> Jake
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to