tazweb view README @ rev 69

Restore back and forward button (now we have put some item to context menu) and make all thet look nice
author Christophe Lincoln <pankso@slitaz.org>
date Fri Apr 22 22:06:47 2011 +0200 (2011-04-22)
parents 329c2beaf754
children 1a3cdce1d9eb
line source
1 TazWeb - SliTaz Web Browser
2 ================================================================================
5 TazWeb is a radically simple and very light web browser providing a single
6 window with one small bottom toolbar using buttons and an URL entry, but no
7 menubar or tabs. Please keep the code simple and clean, if you are
8 motivated and want to add some entries to the context menu, please talk
9 to the AUTHOR before commiting anything in the repos.
11 TazWeb uses a custom page in the user Freedesktop directory to let users add
12 any content to it and get with one click from the toolbar. We may have
13 an external apps/script to handle that file for users who can't manage to
14 edit pure xHTML.
16 This application have been created for Tazpanel and future SliTaz integrated
17 Web applications. The goal is by far to have a fully-featured web browser. But
18 if you find a way to provide a simple plugins mechanism, that would be great.
20 The idea with TazWeb is to have a minimal interface, the approach is to
21 build all the GUI with xHTML and CSS like in TazPanel.
23 For general and end-user documentation have a look at doc/tazweb.html.
24 TazWeb is published, like webkit source under a free BSD license.
26 BUG: Right clicking on "Open Link in New Window" doesn't work.
29 Build and install
30 -----------------
31 TazWeb depends on GTK and libwebkit. To build and test, simply:
33 $ make
34 $ ./tazweb
36 Install with 'make install' (PREFIX and DESTDIR are supported for packaging)
39 Coding notes
40 ------------
42 * To get the filename of a WebKitDownload
43 file = webkit_download_get_suggested_filename (download);
45 * Check mime-type before download (needs a callback function)
46 g_signal_connect (web_view, "mime-type-policy-decision-requested",
47 G_CALLBACK (mime_type_decision_cb), web_view);
49 * Get user config directory path in $HOME
50 config = g_strdup_printf ("%s/.config/tazweb", g_get_home_dir ());
53 ================================================================================