There are two ways that Firefox bookmarks are stored, as I understand it: a .json file and an sqlite3 database. Nextcloud bookmarks are stored strictly in the database in the 3 bookmark tables (again, as I understand it). I am running MySQL on my NC server. Is there anything to stop me from installing Firefox on the same machine, logging into my Firefox Sync account, running a daily database backup and getting it properly imported into those tables?
I’m by no means a developer, or anything of the sort, so I’m hoping that if this is possible, someone can help me fill in the gaps, or point me in a direction.
If you manage to pull this off, this would be cool One obstacle is probably that even though firefox stores bookmarks in an SQL database, the format is probably vastly different from that of the bookmarks app, so you’d need to implement some kind of translation.
If you are less adventurous you could also try out https://github.com/marcelklehr/floccus which syncs your browser bookmarks with the bookmarks app from firefox, chrome and any browser that supports web extensions.
Nice, thanks! It sounds like this is exactly what I want, but I’m having some trouble getting it to make new bookmarks I add.
I tried using WebDAV and gave this address (username removed): https://www.example.com/nextcloud/remote.php/dav/files/username/. It says the sync is successful, but the new bookmarks aren’t showing in NC. I also was unable to get the ‘NextCloud Bookmarks’ option to work.
If you use the WebDAV sync method, it merely creates an xbel file at the location you specified on your server. Did it not create an xbel file?
The nextcloud bookmarks option requires the server-side installation of the bookmarks app.
If this doesn’t solve you trouble, please provide browser, browser version, nextcloud version, nextcloud bookmarks app version, and if applicable the floccus error message, describe in detail what you did and optionally provide debug logs
I did find the xbel file in my documents section, actually, so that seems to work ok. It seems there is not a way to make that auto-populate my Bookmarks app, though, correct? No criticism, just asking
I do have the Bookmarks app installed, but I have a feeling the error still exists in between the couch and the keyboard. Can you confirm what the standard URL would be for a NC instance at ‘https://example.com/nextcloud’ using the Bookmarks method?
It seems there is not a way to make that auto-populate my Bookmarks app
Yes, that’s correct.
Can you confirm what the standard URL would be for a NC instance at ‘https://example.com/nextcloud’ using the Bookmarks method?
That would be
Yup, good ol’ ID-10-t error. I was trying to use ‘Bookmarks Menu’ as the folder to sync from, rather than ‘root’. Works great, now, thanks for your help!