A Tour of Linux HTML Editors SPINNING the WEB
Total Page:16
File Type:pdf, Size:1020Kb
REVIEWS HTML Editors A tour of Linux HTML Editors SPINNING THE WEB www.photocase.de The right HTML Editor can save you plenty of time and trouble. Read on for a roundup the best free editors for Linux. the Internet page. The results in the and this is something that any major dis- browser may be completely different tribution will give you. The documenta- BY TIM SCHÜRMANN from the view in the web generator tion additionally recommends Image due to the restrictions that HTML Magick and Weblint as external tools. imposes. So-called WYSIWYG (What August uses the former to check image You See Is What You Get) editors pro- proportions, and Weblint verifies the f you are familiar with HTML com- vide a useful compromise. Again, you layout. mands, you can use a simple text can click and point to create the layout, After upacking August, enter ./ august Ieditor such as Emacs, Vi, or Kwrite but the editor restricts you to HTML in the new august0.63b.src directory to to design your homepage. Most text compliant features. launch the editor. The GUI looks very editors recognize the HTML command The number of Linux applications in much like a normal text editor with syn- set and give you syntax highlighting for both categories is fairly low. There are tax highlighting. August has input boxes tags. just a handful of WYSIWYG editors, and for some tags, allowing users to click For a few simple pages, this approach I have yet to find a true web generators. to specify the required parameters – file- might look useful, but you will soon The figures for text-based editors are bet- names for links, for example, or the start to lose track of large-scale projects. ter. In this article, I’ll show you some of aspect for an image. Luckily, many third party tools provide the HTML editor options for Linux. August can save arbitrary strings of additional features for more complex text as templates that form the basis for projects. Text-based HTML editors, that August creating new documents. The default is text editors that specialize in HTML, The August HTML editor [1] (Figure 1) template, Basic Structure, creates a expect the user to provide the necessary is an old timer, and not exactly a famous HTML version 3.2 document, although HTML skills. In contrast, web generators representative of its species. The latest August understands both HTML 4.0 and allow you to create a page as you would version, 0.63b, dates back to 2001, but it CSS. with a graphics package. After complet- still does the job perfectly. August sim- August can launch a selection of web ing the layout, the tool then generates ply requires a working Tcl/ Tk system, browsers to Preview the results. The 44 ISSUE 59 OCTOBER 2005 WWW.LINUX - MAGAZINE.COM HTML Editors REVIEWS non-standard ity (Figure 3). The project was founded characters to in 1999, although the pace of develop- HTML code. The ment is fairly slow. The editor looks a lot dialog will replace like Bluefish without ever achieving the expressions in any same kind of functionality. For example, open files, if Erwin has just one Quickstart wizard, needed; this is a and a handful of rudimentary tools for useful tool if you standard elements such as table and need to modify all image integration. the subordinate Just like August, Erwin uses icons or pages in a project menu items to add formating instruc- at the same time. tions. Pressing [Ctrl-P] closes the current Although Blue- tag, but without actually checking to see fish was designed if this is actually necessary. Erwin also for use with lacks a validation routine for the HTML HTML, it can han- document, but at least it has an inte- Figure 1: Click on the buttons in the August GUI to add HTML tags to dle other formats. grated preview. your document. Syntax highlight- ing also works for (X)HTML Format selection includes Netscape, Konqueror, XML and JavaScript, as well as for the C The editor that answers to the unwieldy KDE help, and the Lynx text browser. and Python programming languages. name of (X)HTML-Format [4] is based Users can extend the list. Selecting Tools Assuming you have installed Ispell, on the multi-platform Java programming | Weblint Check tells August to verify a Bluefish will also spell check your docu- language and thus requires a working file, but the program lacks a spell- ments. It uses the external Weblint or Java environment. The program is free, checker. The help only gives you a rough Tidy programs to validate the code itself. but the author has not disclosed the overview of the program’s features. To avoid oversights, web authors can source code. enable a number of input aids. For The features available through Bluefish example, Bluefish will close any tags you (X)HTML-Format are comparable to the The Bluefish [2] HTML editor (Figure 2) have opened, or convert tags to lower features provided by Bluefish. The tool has a GTK interface that perfectly case. Bluefish does not have online help, can replace text strings across multiple matches a Gnome environment, and but you’ll find an excellent manual at files and automatically convert non- the program has an impressive set of fea- the project homepage. standard characters to HTML code; tures that have made it popular with (X)HTML-Format also has project man- users who favor the Gnome desktop. Erwin agement and an internal preview – This said, the sheer mass of options can Just like August, the Erwin [3] editor although it does not render even the make life hard for newcomers. On the mainly focuses on performance and clar- most simple of pages correctly. On the positive side, Bluefish supports custom- ization, allowing web authors to assign frequently used functions to the quick- access toolbox. The program also has project management facilities and a style sheet manager. Bluefish does not have an integrated preview mode, and it uses an external browser. The Dialogs menu has an assortment of wizards that handle critical HTML ele- ments. The Quick Start wizard gives you a selection of meta-tags that fill the HTML file header with details of the author or date. Bluefish also has a wiz- ard to help you publish photo collec- tions. The wizard takes a pile of image files as input and gives you a page with thumbnails as output. None of the other candidates in our test had a comparable feature. Other details reduce the web design- er's load. For example, the extended Replace function automatically converts Figure 2: Editing HTML in Bluefish. WWW.LINUX - MAGAZINE.COM ISSUE 59 OCTOBER 2005 45 REVIEWS HTML Editors based on the free The manual is less helpful and mainly version of the describes the installation. commercial The program provides all the function- Quanta Gold edi- ality you could wish for. For example, tor, although Quanta+ will upload your homepages development is no directly to a server. Besides syntax vali- longer related to dation, provided by the external Tidy the commercial tool, Quanta+ also has a link checker product and con- that checks the validity of any links in tinues under a free the document. Quanta+ also integrates license. In its the KImageMapEditor for image map KDEWebdev editing. Additionally, Quanta+ provides guise, Quanta now a CVS version management tool based forms the core ele- on Cervisia, making it a good choice for ment of the KDE group projects. web development Quanta+ supports visual modifica- module. tions in the so-called VPL editor. To do The version this, users can point and click to put number is ori- required elements together, although text ented on the input is not supported in this mode. As accompanying this view is still under development, you KDE version. As might like to restrict any experimenting all major distribu- to copies of your original documents. Figure 3: Erwin provides few options, but it is very frugal with tions provide Wizards help you set up common ele- system resources. Quanta+; you ments. For example, the quickstart wiz- should use your ard can handle various meta-tags and upside, you can opt for an external distribution’s package manager for the Document Type Definitions (DTDs). The browser as your preview tool. installation. CSS editor is easy to use, allowing users The Tools menu has a collection of Quanta+ has more options than its to put together a style sheet from a pal- useful programs and links, including Gnome Bluefish counterpart. Unfortu- ette of options using a simple point and search engine registration. Most menu nately, the feature overdose does make click approach. items and many other program functions Quanta+ hard to work with and difficult Quanta provides automatic routines to simply link to the developer website. to learn. The interface often displays ensure compliance with HTML conven- The Edit | Format option is a useful multiple windows within the main win- tions, such as modifying the opening tag exception to this rule, taking unformat- dow. For example, you always have the when an author changes a closing tag. ted code and returning readable results. document structure, the online refer- This feature allows authors to change (X)HTML-Format stores recurring con- ence, and explanations for all HTML, bold text to italics just by modifying a structions as Code Snippets. (X)HTML- PHP and JavaScript commands on view. single tag. Programmers used to working Format also has wizards in the form of simple dialog boxes for common ele- ments. The Quick Document feature creates the structure for a new docu- ment, giving you meta-tags, but lacking the DOCTYPE definition that the HTML standard stipulates.