sage icon indicating copy to clipboard operation
sage copied to clipboard

Get Firefox Sync to sync state of RSS feeds

Open AlexHarrowell opened this issue 12 years ago • 3 comments

Firefox Sync currently syncs bookmarks between devices. This includes Sage feed folders (tested) but does not include their read/unread state or any cached items. If the state of the livemarks was visible to sync, this would provide a synchronised view of your RSS feed across any and all devices where you run Firefox.

This would not only be nice, it would also be a replacement for that RSS reader. If I understood how you're saving state at the moment I'd be up for writing a pull request.

AlexHarrowell avatar Jul 02 '13 14:07 AlexHarrowell

Feed state is currently being stored in Places annotations, which it seems Firefox Sync isn't interested in syncing. I think we should be able to store state in some attribute of the bookmark that Firefox Sync does touch.

petea avatar Jul 05 '13 16:07 petea

On 05/07/13 17:33, Peter Andrews wrote:

Feed state is currently being stored in Places annotations, which it seems Firefox Sync isn't interested in syncing. I think we should be able to store state in some attribute of the bookmark that Firefox Sync /does/ touch.

Looking at the Mozilla documents, Livemark and Folder objects don't have any attribute like "last_modified", although there's substantial support for defining your own sync objects.

— Reply to this email directly or view it on GitHub https://github.com/petea/sage/issues/108#issuecomment-20527773.

AlexHarrowell avatar Jul 10 '13 14:07 AlexHarrowell

True. We should look into creating a custom sync engine to handle Sage metadata:

https://developer.mozilla.org/en-US/docs/Firefox_Sync/JavaScript_Client_API http://mxr.mozilla.org/mozilla-release/source/services/sync/modules/engines/bookmarks.js

and separately, preferences:

https://developer.mozilla.org/en-US/docs/Firefox_Sync/Syncing_custom_preferences

petea avatar Jul 16 '13 02:07 petea