Code Monkey home page Code Monkey logo

Comments (22)

pmorch avatar pmorch commented on May 20, 2024 3

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.

marcelklehr avatar marcelklehr commented on May 20, 2024 3

Fixed in version 2.0.0 🎉 :)

from floccus.

marcelklehr avatar marcelklehr commented on May 20, 2024 2

@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.

marcelklehr avatar marcelklehr commented on May 20, 2024 1

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.

MA3o avatar MA3o commented on May 20, 2024 1

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.

arminbw avatar arminbw commented on May 20, 2024 1

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.

kewlfft avatar kewlfft commented on May 20, 2024

all right this is understandable we are limited by owncloud here. This works pretty well but does not replace a full sync.

from floccus.

trueshanti avatar trueshanti commented on May 20, 2024

maybe push the feature: nextcloud/bookmarks#13 (comment)

from floccus.

marcelklehr avatar marcelklehr commented on May 20, 2024

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.

brantje avatar brantje commented on May 20, 2024

We could convert the folders structure to tags imo.
And still send the structure to the server for syncing reasons.

from floccus.

marcelklehr avatar marcelklehr commented on May 20, 2024

@brantje How would you convert tags back to a fodler hierarchy? Converting folders to tags looses the hierarchy.

from floccus.

danopz avatar danopz commented on May 20, 2024

We could just create tags like my/folder/structure, but this would be ugly

from floccus.

nodiscc avatar nodiscc commented on May 20, 2024

Firefox does support tags: https://support.mozilla.org/en-US/kb/categorizing-bookmarks-make-them-easy-to-find

from floccus.

marcelklehr avatar marcelklehr commented on May 20, 2024

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.

MA3o avatar MA3o commented on May 20, 2024

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.

marcelklehr avatar marcelklehr commented on May 20, 2024

Yeah, setting a tag for the whole path makes more sense. It's still a hack, though.

from floccus.

danopz avatar danopz commented on May 20, 2024

ref: nextcloud/bookmarks#13

from floccus.

e-alfred avatar e-alfred commented on May 20, 2024

@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.

mikeziri avatar mikeziri commented on May 20, 2024

@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.

mikeziri avatar mikeziri commented on May 20, 2024

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.

marcelklehr avatar marcelklehr commented on May 20, 2024

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.

github-actions avatar github-actions commented on May 20, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.