Nvu logo

Lindows.com supports Nvu link to Disruptive Innovations

Nvu 0.20, 25-march-2004

Short changelog

  • based on Mozilla 1.7b
  • "New" button modified for Templates
  • File > New dialog added
  • Templates management added
    • creation/load/save of a template (*.mzt files)
    • Insert > Templates > Insert editable area
    • contextual menu added to structure toolbar to make a given element editable
    • It's possible to declare an element editable, optional, repeatable, movable. If an element is repeatable, its contents are not editable.
    • creation of a "blank" document attached to a template
    • Format > Page Properties   extended to allow the transformation of an existing doc into a template and vice-versa
    • Edit > Detach From Template  to detach a document from its template
  • CSS enhancements
    • new panels reachable from contextual click in structure toolbar: background, box and aural properties
    • a new contextual menu entry in structure toolbar allows to extract the CSS inline styles of a given element and turn them into a global embedded CSS rule
  • PHP pseudo-PIs <? ... ?> are now preserved. You can also enter new such instructions in the Source view. See below the Issues section for more information
  • Nvu logo icon
  • many bug fixes

Known issues in Nvu 0.20

  • in a document based on a template, all areas not explicitely declared as editable are not selectable. But using the arrow keys, you can place the caret in such places. That's a bug in layout.
  • it's not possible to have two unsaved documents based on the same template in the same window. That's a bug.
  • the Preview mode should not show the editable areas specific layout; that's not the case for the moment
  • the Site Manager does not allow to browse a local directory on a local HD
  • the relevant extension is not proposed in the file picker when the user saves a document; that's a bug.
  • don't try to insert a PHP pseudo-PI <? ... ?> through the "Insert HTML" menu entry. Don't dream, ASP- and JSP-like format is not supported.

Download Nvu 0.20 binaries

Build the source

  1. First read the instructions in this document
  2. get mozilla/client.mk
    cvs -d :pserver:anonymous@cvs-mirror.mozilla.org:/cvsroot co mozilla/client.mk

    the password for the anonymous account is anonymous.

  3. If you're using Windows, save this file in the mozilla directory the previous command just created and edit it.
    If you are using Linux, save this file in the mozilla directory the previous command just created and edit it.
    In both cases the name of the file is .mozconfig (dot mozconfig).
    Then carefully read the Mozilla build instructions for Windows or the detailed  Mozilla build instructions for Linux and do
    make -f client.mk pull_all
  4. delete the directory composer (and all its contents) located in the mozilla directory created above
  5. get the Nvu specific code:
    1. save this file and uncompress it into the mozilla directory created above
      tar xfz nvu-0.20-source.tar.gz
    2. save this patch file, uncompress it and apply it from the mozilla directory created above
      gunzip trunk-0.20.patch.gz
      patch -p 0 < trunk-0.20.patch
  6. build the code
    make -f client.mk build_all
  7. after the build, there is in the mozilla/dist/bin (Linux) or mozilla\dist\bin (Windows) directory a file called nvu or nvu.exe. Just run it to start Nvu. Don't forget to look at the Tips and Hints section just below.

Made With Nvu

Made with Nvu logoWe got really a lot of feedback asking for an official "Made with Nvu" button :-) So here is the code snippet you can include in your web pages to support Nvu and tell the world you like it:

<a href="http://www.nvu.com"><img
       alt="Document made with Nvu"

If http://www.nvu.com/made-with-Nvu-t.png brings a 404, the image is not uploaded yet. Please come back a bit later.

Please do not make a local copy of the image since we would like to use our web server logs to count how many pages include the "Made with Nvu" button. Thanks a lot!

Tips and Hints

LINUX users :

  • To view an external URL (to browse an edited file or select one Help menu entry) with Mozilla Application Suite, install this executable script in your system, for instance in the directory where mozilla lives. Edit the MOZILLA_FIVE_HOME environment variable in that script to meet your system settings. Add the following lines to your prefs.js:
    user_pref("network.protocol-handler.app.http", "/path/to/the_shell_script");
    user_pref("network.protocol-handler.app.https", "/path/to/the_shell_script");
    user_pref("network.protocol-handler.app.ftp", "/path/to/the_shell_script");
    user_pref("network.protocol-handler.app.file", "/path/to/the_shell_script");
    For Mozilla Firebird, adjust that variable too and change the last line of the script to
    exec $MOZILLA_FIVE_HOME/MozillaFirebird $url
  • If you can't launch Mozilla after Nvu, it's because your Mozilla version is too old. You need a build made after 22-nov-2003. Just get a 1.7b from Mozilla.org if you don't want to try a nightly.