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: Scott Stone <sstone@example.com>
- Date: Thu, 23 Jul 1998 15:56:12 +0900 (JST)
- Content-Type: TEXT/PLAIN; charset=US-ASCII
- In-Reply-To: <Pine.LNX.3.96LJ1.1b7.980723143911.1288G-100000@example.com>
- Reply-To: tlug@example.com
- Sender: owner-tlug@example.com
On Thu, 23 Jul 1998, Jonathan Byrne - 3Web wrote: > I'm trying to find a shortcut to take the way some people's HTML looks > and transmogrify it to how I want it to look. Specifically, they use > lowercase in all their tags, and oddly, sometimes make the attributes > uppercase. Accordingly, this shortcut needs to: > > 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. > > 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. > > 3) Do the whole document in one fell swoop. > > A standalone batch utility for this would be great, but if anybody knows > of an Xemacs macro that does this, that would be OK too. > > If there's no such beast, I'll try to figure out how to write one > myself, and pass it along if it works. a perl script would be excellent for this. -------------------------------------------------- Scott M. Stone <sstone@example.com, sstone@example.com> <sstone@example.com> Linux Developer/Systems Administrator for Pacific HiTech, Inc. http://www.pht.com http://armadillo.pht.co.jp http://www.pht.co.jp http://www.turbolinux.com -------------------------------------------------------------- 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
- Follow-Ups:
- Re: tlug: HTML beautifier
- From: Jonathan Byrne - 3Web <jq@example.com>
- References:
- tlug: HTML beautifier
- From: Jonathan Byrne - 3Web <jq@example.com>
Home | Main Index | Thread Index
- Prev by Date: tlug: HTML beautifier
- Next by Date: Re: tlug: HTML beautifier
- Prev by thread: tlug: HTML beautifier
- Next by thread: Re: tlug: HTML beautifier
- Index(es):
Home Page Mailing List Linux and Japan TLUG Members Links