Comments (22)
Oh, no! My primary use case is to be able to sync the contents of the Bookmarks Toolbar. And so I can't use nextcloud for that, I presume, since all bookmarks need to be in the owncloud folder :-(
from floccus.
Fixed in version 2.0.0 🎉 :)
from floccus.
@mikeziri yep, that should be doable. And although it's a hack, it's probably the quickest way to achieve folder sync in the short term, as the bookmarks app is undergoing some general overhaul at the moment the duration of which is no easy to determine, even though it's also me who does the work 😂. I'll release v1.3 soon-ish and will work on this afterwards, I think.
from floccus.
Hi there!
The owncloud bookmarks app doesn't provide folders, afaik, so that's why I didn't implement that, yet. I know it's pretty shitty without folders and tags (firefox doesn't have tags, owncloud/nextcloud should, I think, might be worth implementing a conversion between tags and folders in fx) :/
Still for as-you-type suggestions it's quite useful, as it is.
from floccus.
There won't be a non-hack solution without changes in the bookmarks app, I guess. The Issue regarding folder support on their project seems more or less quiet the past weeks. Is it the plan to wait until the feature is added?
One could ask the same question regarding other browserdata sync like history and open tabs. Are there any ideas about how to realize that? "Full" browser sync with nextcloud is a very desirable feature for me, and even though I have no clue about programming browser extensions, I could imagine to help with the PHP backend.
from floccus.
I like the idea of being able to choose the folder to be synced. I made a little FF addon, which acts as a read-it-later-like depot for links. Used together with floccus it could work as a lightweight private alternative to Pocket/Instapaper/etc.
from floccus.
all right this is understandable we are limited by owncloud here. This works pretty well but does not replace a full sync.
from floccus.
maybe push the feature: nextcloud/bookmarks#13 (comment)
from floccus.
One short term solution is to provide a floccus option to choose the folder you'd like to sync yourself, instead of having to use the built-in one.
The long term solution is definitely to push the feature, which shouldn't be too hard, knowing the database model of nextcloud/bookmarks. First up is making the REST API work, though, which is coming along reasonably well.
from floccus.
We could convert the folders structure to tags imo.
And still send the structure to the server for syncing reasons.
from floccus.
@brantje How would you convert tags back to a fodler hierarchy? Converting folders to tags looses the hierarchy.
from floccus.
We could just create tags like my/folder/structure
, but this would be ugly
from floccus.
Firefox does support tags: https://support.mozilla.org/en-US/kb/categorizing-bookmarks-make-them-easy-to-find
from floccus.
Not all browsers support tags, though, and the goal is to be cross browser. Also, it's not ideal imo, to convert the user's carefully constructed folder hierarchy to tags and then dump the hierarchy, if this is what you're suggesting.
from floccus.
If I get @danopz point right, he means that you can "hide" the folder structure in a tag that contains the full path, e.g. a tag named "path/to/some/subfolder/". That would fit into the tag-organization of the bookmarks app while still leaving the actual folder structure and hierarchy of all bookmarks reproducable. The browser extension would have to parse that tag and reconstruct the hierarchy out of it.
The downside is that this will flood your bookmarks-app with alot of tags that the user did not create on his own. This could impair the user experience quiet a bit, espacially when you have alot of subfolders and suddenly after installing floccus some 100s of new tags appear in the bookmark app.
An easy and cheap solution to this would be to add "hidden" tags to the bookmarks app. If the bookmarks app automatically ignores / hides all tags that start with, say, a dollar sign ($), a double underscore (__) or whatever abstract symbol combination that is usually not used by a normal user, we could just hide all the new tags created by the method above. That shouldn't be too hard to implement and keeps the bookmarks user experience where it is right now with minimal restrictions.
from floccus.
Yeah, setting a tag for the whole path makes more sense. It's still a hack, though.
from floccus.
from floccus.
@arminbw Sounds like a good idea, quickly bookmarking things to read them later would give Nextcloud Bookmarks/Floccus a great additional use case.
from floccus.
@marcelklehr is the folder structure parsing from a tag (/path/to/bookmarks/) doable for you?
meaning:
from nextcloud/bookmarks api > browser: converting each bookmarks tag of a path to a tree structure in the browser
and from browser > nc/bookmarks api converting each bookmarks path to a tag path
from floccus.
cool ! I cloned your repo and am already trying this on the pullBookmarks function on lib/adapters/Nextcloud.js . compiled with gulp and added the extension to chrome. it's a bit hardcoded as I don't know too much about this new ecmascript notation and chrome extensions apis. but will try to figure it out.
from floccus.
Ok, so as pointed out in #27 I've implemented folder to tags sync in a separate branch, which I'll be refining after the release of v1.3. The current implementation relies on this pr: nextcloud/bookmarks#408 so we'll have to wait for that to hit release.
from floccus.
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.
from floccus.
Related Issues (20)
- syncing browser tabs (read only, no upload) fails while same config works when changed to sync bookmarks HOT 5
- Folder named with asterisks can't be opened from android app HOT 5
- Push rejected because it was not a simple fast-forward. Use "force: true" to override. HOT 4
- Floccus iOS Git error HOT 2
- Support for SigmaOS HOT 2
- Android app sync HOT 4
- "Resource is locked, trying again soon". How to fix this? HOT 5
- Root Level sync only syncs the Bookmarks Toolbar (not the other Bookmarks folder) HOT 6
- floccus doesnt sync anywhere anymore it says sheduling on most devices a if it try to sync it does nothing HOT 3
- Android sync error HOT 3
- Unescaped HTML tag `<script>` in bookmark title names HOT 12
- Reproducible Builds (for IzzyOnDroid) HOT 4
- [Android] re-directed to cloud rather than "Grant Access" screen after successful login HOT 6
- Add profile: radio buttons for sync method don't activate with screen readers HOT 3
- Add a folder tree view HOT 4
- Please solve annoying sync in getting back focus of floccus! HOT 2
- Floccus unavailable in ChromeWebStore and reporting that existing installs may no longer be supported. HOT 3
- IzzyDroid App not syncthing HOT 3
- Kiwi and Chrome: Unable to login? HOT 6
- Android bug: E016: Request timed out HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from floccus.