Bookmarks with folders


Dear lazyweb,

What is the easiest way to create a bookmarks structure with folders/subfolder feature?

Currently Vinagre’s bookmarks don’t support this, and is implemented through  an .ini-like file (GKeyFile).

Am I supposed to create and deal with a xml file by myself? Or is there any solution for this somewhere already implemented?

Thank you!

9 thoughts on “Bookmarks with folders”

  1. Hi,
    You could use a structure like the freedesktop menus specfication, where you have:

    – a .menu xml file which describes which .desktop files go into which categories (you can have overlap).
    – .directory key-files which describe a category
    – .desktop key-file describing the item.

    A simpler approach, using the same idea is:

    Each bookmark file (which is a key-file), has a ‘Category’ key, which is a csv of categories/folders. The folders themselves can be defined by a .directory key-file, where it’s category could be Root, or another directory name (for sub-sub-folders).

    Okay, so it sounds OTT, but it won’t be hard _that_ hard to implement ;-).

    /usr/share/applications
    /usr/share/desktop-directories
    /etc/xdg/menus

    will provide some examples.

    – Neil

  2. Sorry, no answer about a particular implementation, but why using folders ?

    for example, Epiphany uses tags for its bookmarks, which is way superior to hierarchical organisation in my opinion.

    Just my 2 cents…

  3. @Jeff: that’s because Epiphany doesn’t have folders, but tags. 🙂
    However an intelligent algorithm will create submenu divisions in the Bookmarks menu based on matching topics…

Comments are closed.