💾 Archived View for makeworld.space › amfora-wiki › Bookmarks.gmi captured on 2022-07-16 at 13:53:09. Gemini links have been rewritten to link to archived content
-=-=-=-=-=-=-
Opening or streaming non text files
Amfora stores its bookmarks in an XML format called XBEL. It is simple to understand if you know XML.
In Amfora v1.8.0 and earlier, bookmarks were stored in a `bookmarks.toml` file. Later Amfora versions automatically convert your old bookmarks to the new XBEL format.
It is located at `~/.local/share/amfora/bookmarks.xml` by default. If the `$XDG_DATA_HOME` variable is set then the configuration file can be found at `$XDG_DATA_HOME/amfora/bookmarks.xml`.
On Windows, the file can be found at `%APPDATA%\amfora\bookmarks.xml`, which usually expands to `C:\Users\<username>\AppData\Roaming\amfora\bookmarks.xml`.
<?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE xbel PUBLIC "+//IDN python.org//DTD XML Bookmark Exchange Language 1.1//EN//XML" "http://www.python.org/topics/xml/dtds/xbel-1.1.dtd"> <xbel version="1.1"> <bookmark href="gemini://example.com/"> <title>Example Bookmark</title> </bookmark> </xbel>
If you'd like to support Amfora development, you can sponsor me through Ko-Fi or Github Sponsors. Feel free to submit a PR as well! Thanks.