Hello Tim, Your response was really helpful.
In fact, you defining what the "same input" is about, proved to be the key. So, appending a timestamp to the bookmark's title (and thus avoiding the "same input" case), seems to have solved the syncing issues. As for url.length; It can go up to at least 2k, as I noticed. Notes bigger than that in length, are just trimmed ( for now ). Sure, multiple bookmarks (parts) can be used in order to increase this size limit to whatever, but that’s for a future version. Thank you again. ps1: Bookmark.update doesn’t change the url (not yet). Will this change any time soon? ps2: There was this thread I started earlier suggesting a Sync API to be introduced for generic syncing needs (instead of this trick). Any chance of this happening? On Jan 13, 11:07 pm, timsteele <timste...@google.com> wrote: > Hi George, > > As Phistuck says, fetching should occur almost instantaneously -- if > XMPP notifications are enabled. They should always be enabled, but > it's possible that firewall settings or other things get in the way > and cause them to be turned off. You can see the status by browsing > to 'about:sync' in Chrome, and noting the 'Notifications Enabled' > field value. What do you see here? > > As for the quota errors, there are limitations imposed by the > extension API for repeated invocations of an individual bookmark- > mutating API function with the same input, where 'same input' is > defined differently depending on the function: > For bookmarks.update and bookmarks.move, "same bookmark item ID > parameter". > For bookmarks.create and bookmarks.remove, "same title of parent, same > title, and same URL". > > And we have two forms of limitations on these repeated invocations > with "same input": > 100 invocations per hour > More than 2 invocations per minute, sustained over 10 minutes. > > These limits are one of several mechanisms we have to avoid excessive > sync traffic from bogging down our web service. Restarting the > browser will clear the limits for that browser, but if you are really > hammering on it other precautionary measures will eventually kick in > server-side and start denying requests. > > Lastly, in general, it's an interesting (and as you mention, > unsanctioned :P) use of the bookmark sync system :) I suspect other > limitations might give you problems, particularly when a "note" gets > more than a few lines in length. > > Hope that helps, > Tim > > On Jan 9, 9:42 am, George Papadakis <phaiston...@gmail.com> wrote: > > > > > Here is my little experiment utilizing bookmark syncing. > > >https://chrome.google.com/extensions/detail/ffbhefmlcoihbjcmibbfkocmn... > > > I know, bookmarks are not supposed to be used this way (and the whole > > thing needs super testing), but it kind of works. > > > Now, if only Google would let us sync any kind of that (not just > > bookmarks) using an API , the potentials are numerous. > > > On Jan 9, 8:47 am, George Papadakis <phaiston...@gmail.com> wrote: > > > > Spent some more time on testing. > > > > As it seems, pushing the changes is almost instant, yet fetching them > > > is not. > > > > It will either take loads of time, or will require a browser restart > > > for a sync to take place on the other clients. > > > > Looks like a glitch to me. > > > > On Jan 9, 2:41 am, Meok <meok...@gmail.com> wrote: > > > > > But you are using an extension to do this, right? That may be the > > > > problem. > > > > > On Jan 8, 7:58 pm, George Papadakis <phaiston...@gmail.com> wrote: > > > > > > For some reason, this is not the case for me. > > > > > > I faced an error earlier mentioning something about quota (when > > > > > invoking a bookmarks.create() ), so maybe this error has something to > > > > > do with the (still standing) issue. > > > > > > Hopefully, it will be resolved by tomorrow - if it's a glitch or has > > > > > to do with sync related quotas. > > > > > > On Jan 9, 1:49 am, Meok <meok...@gmail.com> wrote: > > > > > > > Not sure what your problem is. It happens instantly for me between > > > > > > Chrome & Chromium on a single profile. As soon as he bookmark is > > > > > > created in Chrome it appears in Chromium and when I delete it in > > > > > > Chromium and switch back to Chrome, it's gone already. > > > > > > > On Jan 8, 4:41 pm, George Papadakis <phaiston...@gmail.com> wrote: > > > > > > > > Here is the setup: > > > > > > > - Windows running latest Chrome dev. > > > > > > > - A VM running Chrome BETA. > > > > > > > - MBP running Chrome dev. > > > > > > > > Editing or adding a bookmark on the Windows dev, has absolutely no > > > > > > > effect on other two (clients). > > > > > > > > Tried this many times, same result. > > > > > > > > What worked was to exit Chrome and launch it again. This obviously > > > > > > > forces syncing. > > > > > > > > So, it's either something wrong on the syncing process between > > > > > > > different Chrome versions (doubt it), or it just isn't that > > > > > > > instant. > > > > > > > > - George > > > > > > > > On Jan 8, 10:31 pm, PhistucK <phist...@gmail.com> wrote: > > > > > > > > > Well, almost instantly. As far as I understand, there is an > > > > > > > > open connection > > > > > > > > between the sync client and the sync server through a Google > > > > > > > > Talk like > > > > > > > > protocol - XMPP. It send sa message to the server which sends a > > > > > > > > message to > > > > > > > > the other clients (if they are open at the moment). So, almost > > > > > > > > instantly. > > > > > > > > > ☆PhistucK > > > > > > > > > On Fri, Jan 8, 2010 at 22:27, George Papadakis > > > > > > > > <phaiston...@gmail.com>wrote: > > > > > > > > > > I am not sure this is the right place to ask this one, but > > > > > > > > > hey, ignore > > > > > > > > > it if it isn't. > > > > > > > > > > There is this extension I am working on (more of an > > > > > > > > > experiment) and I > > > > > > > > > have been trying to figure out how and when bookmarks syncing > > > > > > > > > takes > > > > > > > > > place in Chrome. > > > > > > > > > > On BETA release and on Mac dev release, I have the impression > > > > > > > > > it only > > > > > > > > > takes place when restarting the browser, while on the windows > > > > > > > > > dev > > > > > > > > > releases "seem better" > > > > > > > > > > So, the question is, when does Chrome sync bookmarks? > > > > > > > > > > What is the intervals and conditions for a sync to take place? > > > > > > > > > > George. > > > > > > > > > > -- > > > > > > > > > You received this message because you are subscribed to the > > > > > > > > > Google Groups > > > > > > > > > "Chromium-extensions" group. > > > > > > > > > To post to this group, send email to > > > > > > > > > chromium-extensi...@googlegroups.com. > > > > > > > > > To unsubscribe from this group, send email to > > > > > > > > > chromium-extensions+unsubscr...@googlegroups.com<chromium-extensions%2Bunsu > > > > > > > > > bscr...@googlegroups.com> > > > > > > > > > . > > > > > > > > > For more options, visit this group at > > > > > > > > >http://groups.google.com/group/chromium-extensions?hl=en.
-- You received this message because you are subscribed to the Google Groups "Chromium-extensions" group. To post to this group, send email to chromium-extensi...@googlegroups.com. To unsubscribe from this group, send email to chromium-extensions+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/chromium-extensions?hl=en.