Menu

Linxet File Format

Sergey Bogdanov

Linxet File Format

The Linxet stores information about favorites in plain text file. So you can edit it with any text editor on PC with normal keyboard (and avoid D-keyboard pain). Or a simple program can be created to export the favorites from other storage. Say from web-browser bookmarks list.

Here is the format of the file:

:::text
0,51,1,0,Newspapers
51,52,0,0,http://www.nytimes.com
0,53,1,1,Wiki
53,54,0,0,http://en.wikipedia.org
53,55,0,0,http://ru.wikipedia.org

Each row in this file corresponds to a single element in favorites tree. The element may be a folder or an URL. Each element has five part separated by commas:

Path # Example Description
1 51 identity of parent folder or '0' if the entity is attached to the root folder
2 52 identity of the entity. Must be unique across the file. If some other entity uses the same ID the last entity in the file will be shown
3 0 type of entity. 0 - this is a link, 1 - this is a folder
4 0
5 http://www.nytimes.com the text up to end of line - the content of entity. This is the folder name for folders and URL for links

in the example above you can see we have two folders attached to the root: "Newspapers" and "Wiki". The "Newspapers" folder contains one link to NYTimes site. The "Wiki" folder contains two links to English and Russian versions of the Wikipedia

So as you can see the format of file is plain. And you can easily add entities in any text editors.


MongoDB Logo MongoDB