NetSurf Bookmarks


From SamyGO
Jump to: navigation, search

The Bookmarks file, located in subdirectory framebuffer/res, contains informations about bookmarks set in the NetSurf Web Browser for SamyGO.

Currently, you can add new bookmarks from within the browser, but if you want to modify or delete existing bookmarks or change the bookmark groups, you will need to edit the Bookmarks file.

General information

The Options file is a simple text file which can be edited with any decent text editor.

Warning: The file must have UNIX-style line endings and must be saved in the UTF-8 encoding.

Windows users: Notepad is not a decent text editor. It cannot read or save UNIX-style line endings. Use another editor (e.g. Notepad++, PSPad, Textpad, UltraEdit, Crimson Editor) and make sure that the line endings and encoding settings are setup correctly when saving the file.

The file contains a number of bookmark groups, which are written like:

[groupname]

Each group contains a list of bookmarks, where each bookmark is written in two lines:

URL
  Title

Important: Please add an empty line at the beginning and the end of the file. Otherwise the first and last line might not be read correctly.

Example

You can use the following bookmark file as a starting point:

[Unsorted]

[Samples]
http://www.google.de/
  Google
http://en.wikipedia.org/wiki/Main_Page
  Wikipedia, the free encyclopedia

[NetSurf / SamyGO]
http://wiki.samygo.tv/?title=NetSurf_Web_Browser
  Help for NetSurf (Wiki)
http://www.netsurf-browser.org/
  NetSurf Homepage
http://forum.samygo.tv/viewtopic.php?f=5&t=403
  NetSurf Forum thread
http://samygo.sourceforge.net/
  SamyGO Homepage

Limitations

Currently, groups cannot be nested. Also, you cannot put bookmarks outside of any group. NetSurf cannot display more than 20 groups or more than 20 entries within each group.