1>Introduction When writing web-sites, you typically either write the HTML code or use a 'WYSIWYG' (What You See Is What You Get) editor to make it for you. Some sites use dynamic content languages, e.g., ASP or PHP, to generate their code for them on the fly. SWL is an efficient alternative to each of these. 2>What is SWL? SWL is, simply put, abbreviated HTML. In fact, with a 2 character header, most HTML files can be put directly into a SWL file and compile back to the same HTML they started out as. But, SWL offers an alternative to writing 'bulk HTML', through the use of 'line-tags'. A line-tag is a brief ID (usually a single character) followed by a closed angle bracket, '>'. Using line-tags, you can reduce: "> <table> <tr> <td> Cell 1 </td> <td> Cell 2 </td> </tr> <tr> <td> Cell 3 </td> <td> Cell 4 </td> </tr> </table> /> To: "> t> Cell 1 Cell 2 Cell 3 Cell 4 /> /> And that is a mere scratch of its power. j>benefits 2>Benefits *> Easy to learn. Easy to write. Easy to use. Brevity. SWL code is as short as it gets. SWL source files (without file includes) tend to be one half to one third the size of the HTML they generate. Brevity. The HTML that SWL outputs doesn't include unnecessary information. WYSIWYG editors tend to put lots of junk line breaks and font information. Brevity. Copy a document you want to publish into a text 'SWL' file. It's almost ready for publication. Your paragraphs are already set. To format your headings will take 2 characters each. To format your tables usually takes the addition of 4 characters. No loss in developing potential. Anything that SWL doesn't recognize won't be changed in your object HTML. Plays well with others. SWL is perfect for use with CSS (Cascading Style Sheets). A lot of the junk that WYSIWYG editors pump out is for formatting each individual section. Using a style sheet in your SWL template will automatically make every similar tag look the same, without junk code. Most document editors (e.g., MS Word, Adobe Pagemaker) already include 'style' information which can be directly interpreted into SWL. You could even write your PHP in SWL with just a flip of the template. Plays well with others. SWL can import data from plain text, HTML, tab delimited text, and comma separated values (CSV). Clean HTML. The ugliest SWL code outputs to easy-to-read HTML. SWL indents nested tags and puts white space between major sections. Efficiency. Once you compile your SWL into HTML, it's done. When you use PHP and ASP to generate your pages, your web server has to start a program to compile it every time someone looks at it on the web. You only have to compile SWL once. Extensibility. You can make your own 'SWL tags' on the fly in your document. You can use SWL's internal variables to change the ones it already has. You can create templates and template modifications on the fly in your SWL documents, or include them from an external SWL library. You don't have to be a programmer. You could teach a monkey to write 'SWL' and they would like it so much that they would forget to eat. Etc. /> < introduction.swl >