[GH-ISSUE #42] Automatic Backup for bookmarks per seperate Folder as HTML #41

Closed
opened 2026-02-25 22:35:54 +03:00 by kerem · 10 comments
Owner

Originally created by @v3nd3tta1337 on GitHub (Dec 20, 2017).
Original GitHub issue: https://github.com/floccusaddon/floccus/issues/42

Hello Guys,

As this is a stalemate position between the devs of the nextcloud bookmarks and you guys,
just do a KISS implementation by adding a sync for a seperate, manual-importable format of Bookmarks and Folders: HTML.
IMO the bookmarks Extension for NextCloud is useless and can therefore be discarded.

So just add a method to have a "Bookmarks" Folder within the base directory and then save a floccus-bookmarks.html in it.

Regards.

Originally created by @v3nd3tta1337 on GitHub (Dec 20, 2017). Original GitHub issue: https://github.com/floccusaddon/floccus/issues/42 Hello Guys, As this is a stalemate position between the devs of the nextcloud bookmarks and you guys, just do a KISS implementation by adding a sync for a seperate, manual-importable format of Bookmarks and Folders: HTML. IMO the bookmarks Extension for NextCloud is useless and can therefore be discarded. So just add a method to have a "Bookmarks" Folder within the base directory and then save a floccus-bookmarks.html in it. Regards.
kerem 2026-02-25 22:35:54 +03:00
Author
Owner

@filippomicheletti commented on GitHub (Jan 4, 2018):

I agree with @v3nd3tta1337 : the lack of folder support make completely unuseful the Chrom/Chromium extension.
OK, the vertical hyerarchical organization of bookmarks adopted by Google in its browser is not the best, all we know that tags work better (and all we loved Google products for using them so why having opted for folders in managing Chrome bookmarks remains a mistery) but this is the reality, Chrome uses folders and without them is completely unuseful to have an unique "Nextcloud bookmarks" folder with hundreds of links inside.
I've seen that something in folder support has been done in the past with the Owncloud bookmarks application but I don't know which is the relations with the Nextcloud one.

<!-- gh-comment-id:355274638 --> @filippomicheletti commented on GitHub (Jan 4, 2018): I agree with @v3nd3tta1337 : the lack of folder support make completely unuseful the Chrom/Chromium extension. OK, the vertical hyerarchical organization of bookmarks adopted by Google in its browser is not the best, all we know that tags work better (and all we loved Google products for using them so why having opted for folders in managing Chrome bookmarks remains a mistery) but this is the reality, Chrome uses folders and without them is completely unuseful to have an unique "Nextcloud bookmarks" folder with hundreds of links inside. I've seen that something in folder support has been done in the past with the Owncloud bookmarks application but I don't know which is the relations with the Nextcloud one.
Author
Owner

@marcelklehr commented on GitHub (Jan 4, 2018):

Thank you for your thoughts on this!
For now, I'm focusing my efforts on integrating with the nextcloud bookmarks app, as I've decided to work on improving it as well, because there is a lot of potential. It is possible to extend floccus to allow the user to choose from multiple sync backends, however.
I still agree with you, though: Without folders floccus is not very useful, which is why I have been working on adding support for syncing folders. You can already test the first beta version of that feature over here: #46 ;)

<!-- gh-comment-id:355398768 --> @marcelklehr commented on GitHub (Jan 4, 2018): Thank you for your thoughts on this! For now, I'm focusing my efforts on integrating with the nextcloud bookmarks app, as I've decided to work on improving it as well, because there is a lot of potential. It is possible to extend floccus to allow the user to choose from multiple sync backends, however. I still agree with you, though: Without folders floccus is not very useful, which is why I have been working on adding support for syncing folders. You can already test the first beta version of that feature over here: #46 ;)
Author
Owner

@filippomicheletti commented on GitHub (Jan 5, 2018):

Really nice!
I've just installed the beta version you suggested and I get an error during syncing, here ther is what the debug console says:

Failed to load resource: the server responded with a status of 405 (Method Not Allowed)
Nextcloud.js:110Error: Failed to retrieve bookmark from ownCloud
at NextcloudAdapter._callee2$ (chrome-extension://djejpebekaoommcjfeaiipdikmdjkblg/dist/js/background-script.js:5106:23)
at tryCatch (chrome-extension://djejpebekaoommcjfeaiipdikmdjkblg/dist/js/polyfill.js:6150:40)
at GeneratorFunctionPrototype.invoke [as _invoke] (chrome-extension://djejpebekaoommcjfeaiipdikmdjkblg/dist/js/polyfill.js:6424:22)
at GeneratorFunctionPrototype.prototype.(anonymous function) [as next] (chrome-extension://djejpebekaoommcjfeaiipdikmdjkblg/dist/js/polyfill.js:6183:21)
at step (chrome-extension://djejpebekaoommcjfeaiipdikmdjkblg/dist/js/background-script.js:4819:191)
at chrome-extension://djejpebekaoommcjfeaiipdikmdjkblg/dist/js/background-script.js:4819:361

I'm on Chromium 52.0.2743.116 built on Debian stretch/sid, running on Debian buster/sid (64-bit) and my Nextcloud server is running a (little bit old) version 11.
What I've tried was just to copy a folder containing some bookmarks from my Chromium bookmarks to the Nextcloud folder created by floccus. I noticed also that on the cloud Bookmarks app the bookmarks contained in the folder that I copied have been synced and a tag named "floccus-path:folder_name" have been created... not perfect but good!
Can I help you in some way to solve these problems?

<!-- gh-comment-id:355529169 --> @filippomicheletti commented on GitHub (Jan 5, 2018): Really nice! I've just installed the beta version you suggested and I get an error during syncing, here ther is what the debug console says: Failed to load resource: the server responded with a status of 405 (Method Not Allowed) Nextcloud.js:110Error: Failed to retrieve bookmark from ownCloud at NextcloudAdapter._callee2$ (chrome-extension://djejpebekaoommcjfeaiipdikmdjkblg/dist/js/background-script.js:5106:23) at tryCatch (chrome-extension://djejpebekaoommcjfeaiipdikmdjkblg/dist/js/polyfill.js:6150:40) at GeneratorFunctionPrototype.invoke [as _invoke] (chrome-extension://djejpebekaoommcjfeaiipdikmdjkblg/dist/js/polyfill.js:6424:22) at GeneratorFunctionPrototype.prototype.(anonymous function) [as next] (chrome-extension://djejpebekaoommcjfeaiipdikmdjkblg/dist/js/polyfill.js:6183:21) at step (chrome-extension://djejpebekaoommcjfeaiipdikmdjkblg/dist/js/background-script.js:4819:191) at chrome-extension://djejpebekaoommcjfeaiipdikmdjkblg/dist/js/background-script.js:4819:361 I'm on Chromium 52.0.2743.116 built on Debian stretch/sid, running on Debian buster/sid (64-bit) and my Nextcloud server is running a (little bit old) version 11. What I've tried was just to copy a folder containing some bookmarks from my Chromium bookmarks to the Nextcloud folder created by floccus. I noticed also that on the cloud Bookmarks app the bookmarks contained in the folder that I copied have been synced and a tag named "floccus-path:folder_name" have been created... not perfect but good! Can I help you in some way to solve these problems?
Author
Owner

@marcelklehr commented on GitHub (Jan 5, 2018):

Ah, I forgot to point out that you need the latest changes of the bookmarks app repository as well :/ So, in order to make it work, you'll need to remove the nextcloud/apps/bookmarks directory and git clone the repo into nextcloud/apps/ again.

The floccus-path tags are intentional, since it's currently the only way to retain folder information.

<!-- gh-comment-id:355616127 --> @marcelklehr commented on GitHub (Jan 5, 2018): Ah, I forgot to point out that you need the latest changes of the bookmarks app repository as well :/ So, in order to make it work, you'll need to remove the nextcloud/apps/bookmarks directory and git clone the repo into nextcloud/apps/ again. The floccus-path tags are intentional, since it's currently the only way to retain folder information.
Author
Owner

@e-alfred commented on GitHub (Jan 6, 2018):

This looks awesome. Does it sync all existing bookmarks from a browser? How does it handle linking multiple browsers with existing bookmark trees (for example duplicates)?

<!-- gh-comment-id:355743916 --> @e-alfred commented on GitHub (Jan 6, 2018): This looks awesome. Does it sync all existing bookmarks from a browser? How does it handle linking multiple browsers with existing bookmark trees (for example duplicates)?
Author
Owner

@marcelklehr commented on GitHub (Jan 7, 2018):

You still get a dedicated floccus folder, unfortunately, since preexisting bookmarks are indeed a bit of a pickle.

<!-- gh-comment-id:355790710 --> @marcelklehr commented on GitHub (Jan 7, 2018): You still get a dedicated floccus folder, unfortunately, since preexisting bookmarks are indeed a bit of a pickle.
Author
Owner

@filippomicheletti commented on GitHub (Jan 9, 2018):

@marcelklehr I updated nextcloud to the last (stable) version (12.04) and removed the bookmarks app substituting it with the last version got from git (even if I haven't been able to find the version number there I've seen from the apps manager it should be the 0.10.1) but the folder naming problem still remains. All the folders I create or copy from my browser bookmarks are synced by floccus and named as "__floccus-path:foldername/" .
Have I done something wrong?

<!-- gh-comment-id:356312160 --> @filippomicheletti commented on GitHub (Jan 9, 2018): @marcelklehr I updated nextcloud to the last (stable) version (12.04) and removed the bookmarks app substituting it with the last version got from git (even if I haven't been able to find the version number there I've seen from the apps manager it should be the 0.10.1) but the folder naming problem still remains. All the folders I create or copy from my browser bookmarks are synced by floccus and named as "__floccus-path:foldername/" . Have I done something wrong?
Author
Owner

@marcelklehr commented on GitHub (Jan 9, 2018):

As I said: "The floccus-path tags are intentional, since it's currently the only way to retain folder information." ;) I hope everything else works as expected :)

<!-- gh-comment-id:356413712 --> @marcelklehr commented on GitHub (Jan 9, 2018): As I said: "The floccus-path tags are intentional, since it's currently the only way to retain folder information." ;) I hope everything else works as expected :)
Author
Owner

@marcelklehr commented on GitHub (Apr 22, 2018):

As there are now efforts to add an alternative backend to floccus (see https://github.com/marcelklehr/floccus/issues/86) I'm closing this, for now. Thanks for your input, everyone! :)

<!-- gh-comment-id:383404616 --> @marcelklehr commented on GitHub (Apr 22, 2018): As there are now efforts to add an alternative backend to floccus (see https://github.com/marcelklehr/floccus/issues/86) I'm closing this, for now. Thanks for your input, everyone! :)
Author
Owner

@github-actions[bot] commented on GitHub (Mar 21, 2023):

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

<!-- gh-comment-id:1478010374 --> @github-actions[bot] commented on GitHub (Mar 21, 2023): This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/floccus#41
No description provided.