3 messages in com.googlegroups.google-base-data-api[Google-Base-API] Re: Publishing Prio...
FromSent OnAttachments
Brendan Ryder17 Jul 2008 07:50 
Brendan Ryder22 Jul 2008 15:57 
Eric (Google)23 Jul 2008 11:47 
Subject:[Google-Base-API] Re: Publishing Priority Problem
From:Eric (Google) (api.@google.com)
Date:07/23/2008 11:47:00 AM
List:com.googlegroups.google-base-data-api

Agustin,

Setting the publishing priority in .NET: http://code.google.com/p/google-gdata/wiki/UnderstandingTheUnknown

Eric

On Jul 22, 3:57 pm, Brendan Ryder <bren@dkit.ie> wrote:

Eric,

Many thanks for your speedy reply. I would appreciate if you would check the high PP limits for me.

I attempted adding data items yesterday (July 21st) with a high publishing priority and they were available after a few minutes. I'll continue to monitor this over time. All I can assume is that the maintenance being performed effected the availability of data items.

I will certainly post into the group with more details in time !!!

Kind Regards, Brendan

On Jul 22, 8:13 pm, "Eric (Google)" <api.@google.com> wrote:

Hi Brendan,

Sorry for the late reply--the Interactive Demo page is down for maintenance so it's hard to quickly test this. I  _was_ able insert an item (with publishing_priority set to high) and have it show up in an API search withing a few minutes using PHP.  I can post the code if you're curious.

In the sake of fairless to all users, I believe there's a limit to the number of times/items a user can use a 'high' PP.  I'll have to get back to you on what those limits are.

Also for a sanity check, you can always filter a snippets feed search by your customer id like this:

http://www.google.com/base/feeds/snippets/?bq=[customer id:12345678] or click 'View all searchable items' in your admin dashboard.

Thanks, Eric

p.s. Your project sounds very inserting.  Feel free to post here when you have something to checkout.

On Jul 17, 7:50 am, Brendan Ryder <bren@dkit.ie> wrote:

I have aquestion in relation to specifying the publishing priority on a Google Base entry.

I am posting entries into Google Base using raw HTTP and XML in a GWT application. Everything has been working fine (i.e. add, delete, update) until recently. I am aware of the changes that have been made to the publishing priority  for each GBase entry that took effect on 3rd June 2008 and have consulted the description
athttp://code.google.com/apis/base/starting-out.html#PubPriority. When I posted some entries yesterday (16th July 2008) I noticed that they were not publishable and searchable for the max 12 hours and realised that this was as a result of the changes that have been made to the publishing priority (i.e. default is low and not high as before).

Based on this change I updated all newly created or updated entries with the recommended elements:

<entry xmlns:app='http://purl.org/atom/app#'        xmlns:gm='http://base.google.com/ns-metadata/1.0'>    ...    <app:control>       <gm:publishing_priority>high</gm:publishing_priority>    </app:control> </entry>

I then tested my application to determine if the added entries were available and they were NOT (not even within a few minutes). I then attempted to troubleshoot the problem. The added entries are appearing correctly in the Google Base DashBoard with a status of "publishable and searchable" ( I am assuming that this status indicates availability through the API also; it did so before the publishing priority (PP) was changed). I then performed a query using the Google Base Interactive demo (http://www.google.com/base/api/demo/html/ demo.html) and noticed that the added entries were not being returned in the result feed even after a few minutes. Even when the publishing priority is set to high the entries do not seem to be available after a few minutes.

I was just wondering is there something that I have missed or is the Google team still working on changes to the publishing priority ? If the PP is set to high should the added/updated entries be available in a result feed after a few minutes ? It appears at the moment that they are not (based on my discussion above).

I would appreciate any help or guidance with this problem as it is causing significant problems for a live GBase application. The application is dependent on the entries added/updated to be available within a few minutes, not after a specified number of hours.