[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: HTML validation by directory



On Fri, Apr 18, 2003 at 01:57:07PM -0700, $?r?ciya Kurdistan? wrote:
> Hello,
> 
> Di Fri, Apr 18, 2003 at 04:34:24PM -0400 da Emma Jane Hogbin nivîsand:
> > Does anyone know of a package that I can run through a directory and
> > output whether or not all the files in that directory are XHTML 1.0
> > Transitional/Frameset valid? Assume no internet connection.
> 
>   Look up "tidy", you may have to write a little script to get all that
>   directory traversing functionality though.

Good advice.

On Fri, Apr 18, 2003 at 04:42:46PM -0400, Emma Jane Hogbin wrote:
> I just realized I can use "tidy" and make a little shell script to have it
> wander through directories looking for HTML files.
> 
> emmajane@debian:~/websites/emmajane.net/html$ tidy -e index.html
> Info: Doctype given is "-//W3C//DTD XHTML 1.0 Transitional//EN"
> Info: Document content looks like XHTML 1.0 Strict
> No warnings or errors were found.
> 
> It gives the exact output that I need. :)

On Fri, Apr 18, 2003 at 02:11:27PM -0700, $?r?ciya Kurdistan? wrote:
> Hello,
> 
> Di Fri, Apr 18, 2003 at 04:42:46PM -0400 da Emma Jane Hogbin nivîsand:
> > I just realized I can use "tidy" and make a little shell script to have it
> > wander through directories looking for HTML files.
> 
>   I'm glad it was *you* that came up with that idea, and not me
>   from having posted that.

Er, no.  Look at the above dates. :-)

> +--------------------------------------------------------------+
> | Welat xwe ava nake, dest bidin hevdu, pist nedin tu dijminî  |
> |   Riya azadiyê ne hêsan e, hêviya xwe bernedin, dema me      |
> |     nêzîk e.                                                 |
> |                                                              |
> | Hevaltî bi kesên du rû nekin, hevaltî bi hevdu ra bikin      |
> |   Ne ji hevaltiya wan kesên pêxwas û rû dirêj, ne bi wan     |
> |     kesên xwînperest, ne jî ji yên din.                      |
> |                                                              |
> |                                   -$êrêciya Kurdistanî       |
> +--------------------------------------------------------------+
>   translation provided on request: sereciya at kurdistan.ath.cx

Heh, a 12 line .sig for a 2 line reply :-)

-- 
Rob Weir <rweir@ertius.org>                              http://www.ertius.org/
GPG keys: 1024D/1E73B7CD, 4096R/3ABDE5EC     |      Do I look like I want a CC?
Words of the day:         Reno Marxist clones plutonium 2600 Magazine terrorist

Attachment: pgpF3ec4bUuh0.pgp
Description: PGP signature


Reply to: