SliTaz SliTaz Forum

#1 2011-10-14 21:21:50

babaorum
Moderator
Inscrit(e): 2011-03-29
Messages: 109

TazWeb Bookmarks Manager

TazWeb is a wonderful lightweight web browser for SliTaz. It is fast and small and it supports well advanced W3C standards for the World Wide Web.

Some (many ?) of you would be tempted to make their default browser of it, but it lacks something obvious: a management of bookmarks.

It all started from a post in Packages french section of officiel support bulletin board and I was just curious to see how far I could go to create a very small external management software for TazWeb bookmarks.

The story of twbm starts here: it is a -very very- small shell script written for Busybox, the SliTaz default shell command interpreter.

It allows to add or remove bookmarks with categories, using Javascript and CSS to display them in TazWeb, within its native home page. A small search function is proposed. I have to let you know that it supports regular expressions as implemented in Javascript (and so, in Perl POSIX regexp ;-}).

You need to download and manually install three files:

- twbm.sh in a path directory with rights for execution

- twbm.js in TazWeb user configuration directory ($HOME/.config/tazweb)

- twbm-style.css in the same folder than above

And then you need to manually modify once the HTML source code of the home page ($HOME/.config/tazweb/home.html), by inserting the following three lines in the [c]<head> ... </head>[/c] section:

<script type="text/javascript" src="twbm-bookmarks.js"></script>

<script type="text/javascript" src="twbm.js"></script>

<link rel="stylesheet" type="text/css" href="twbm-style.css"/>

Make sure, if copy/pasting this chunk of HTML code, that double-quotes are plain double-quotes and not litteral ones (modified because of SliTaz community message system formatting).

Run [c]twbm.sh build_script[/c] once and the refresh your home page: it is ready.

Use twbm.sh again to add/remove some bookmarks and refresh your home page to see the changes.

Source files: http://people.slitaz.org/~babaorum/source/twbm/

Hors ligne

#2 2012-03-04 01:53:38

ikem
Administrator
Inscrit(e): 2012-02-22
Messages: 20

Re: TazWeb Bookmarks Manager

I would like to see the result. Would you make a screenshot for me?

Hors ligne

#3 2012-04-28 15:52:16

babaorum
Moderator
Inscrit(e): 2011-03-29
Messages: 109

Re: TazWeb Bookmarks Manager

Unfortunately I don't have any repository for my files on SliTaz server anymore, so twbm is dead, unless I can get my hands on a backup somewhere on my USB drive.

Hors ligne

#4 2012-04-28 16:08:49

babaorum
Moderator
Inscrit(e): 2011-03-29
Messages: 109

Re: TazWeb Bookmarks Manager

Oh I just found my backup, here you are for a sample screenshot: http://www.hiboox.fr/go/images/informatique/twbm01,7a338fcdff96c67903b2e814de38af5d.png.html

Hors ligne

#5 2012-04-28 16:37:30

babaorum
Moderator
Inscrit(e): 2011-03-29
Messages: 109

Re: TazWeb Bookmarks Manager

Here is my own repository for TWBM: http://www.baba0rum.com/slitaz/twbm

Hors ligne

Utilisateurs enregistrés en ligne dans ce sujet: 0, Invité(s): 1
[Bot] ClaudeBot

Pied de page

Propulsé par FluxBB
Modifié par Visman Traduit par N-Studio18

[ Généré en 0.018 secondes, 7 requêtes exécutées - Utilisation de la mémoire: 1.53 MiO (Pic : 1.77 MiO) ]