Mailing List ArchiveSupport open source code!
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]Re: tlug: HTML beautifier
- To: tlug@example.com
- Subject: Re: tlug: HTML beautifier
- From: urs roesch <urs@example.com>
- Date: Thu, 23 Jul 1998 20:33:13 +0900
- Content-Transfer-Encoding: 7bit
- Content-Type: text/plain; charset=iso-2022-jp
- Organization: digital mines
- References: <Pine.LNX.3.96LJ1.1b7.980723143911.1288G-100000@example.com>
- Reply-To: tlug@example.com
- Sender: owner-tlug@example.com
Jonathan Byrne - 3Web wrote: I'm currently testing HTB (HTML Beautifier) from Tim Schramer. It does parts of what you want to do but not everything. <URL:http://www.digital-mines.com/htb/downloads.html> > 1) Convert all alphabetic characters following a < to uppercase, until a > space or = sign is encountered. It should not be spooked by double-byte > characters, and of course, ignore all characters other than alphabetic > ones, the = sign, or a space. With HTB you can convert to lowercase or uppercase. Content is not being touched unless you force to break every line that is longer than 80 characters. I never tried it on a Japanese page though) > 2) Convert all alphabetic characters between a set of quotation marks to > lowercase. Again, it should not be spooked by double-byte characters, > and it should ignore all non-alphabetic characters in the string to be > converted. HTB doesn't touch the attribute values for reasons mentioned earlier in this thread. > 3) Do the whole document in one fell swoop. HTB is a command line tool and does process the file in one swoop, actually you don't have another choice. Note: I had some trouble on my system lately with HTB spitting out Segmentation Faults. All the supported platforms seem to work fine, but Linux (and there is no source code available). :( You might contact the author about the lower case attribute values. The very first beta version did mess with my JavaScript and screwed everything up, I contacted Tim and he changed it. urs -- u r s r o e s c h h a c h i o j i, t o k y o ---------------------------------------------------------- e# urs@example.com aim# uru uru 71 w# http://www.digital-mines.com icq# 13780972 -------------------------------------------------------------- Next Meeting: 8 August, Tokyo Station Yaesu central gate 12:30 featuring Linux on multiple platforms: i386, Sparc, PA-Risc, Amiga, SGI, Alpha, PalmPilot, ... Next Nomikai: September, 19:30 Tengu TokyoEkiMae 03-3275-3691 -------------------------------------------------------------- Sponsor: PHT, makers of TurboLinux http://www.pht.co.jp
- References:
- tlug: HTML beautifier
- From: Jonathan Byrne - 3Web <jq@example.com>
Home | Main Index | Thread Index
- Prev by Date: Re: tlug: STB Velocity 3D and XFree 3.3.2
- Next by Date: tlug: custom keyboard
- Prev by thread: Re: tlug: HTML beautifier
- Next by thread: tlug: Four more Nomikai Phots
- Index(es):
Home Page Mailing List Linux and Japan TLUG Members Links