W3C home > Mailing lists > Public > html-tidy@w3.org > April to June 2000

Re: 30apr00 bugs: spaces in attributs, empty ALT attributes

From: Pete Gelbman <pete@arraycomm.com>
Date: Thu, 04 May 2000 03:00:39 +0800
Message-Id: <200005031900.DAA06586@isaiah.arraycomm.com>
To: Sebastian Lange <lange@cyperfection.de>
cc: micke@four04.com, html-tidy@w3.org

>>>>> On Wed, 3 May 2000, "Sebastian" == Sebastian Lange wrote:

  Sebastian> The basic task is following:  I have HTML content (just some text
  Sebastian> with HTML tags, not a complete document) in a string variable and
  Sebastian> want to pass this to Tidy via STDIN (no use of temporary files),
  Sebastian> and then read Tidy's output (the tidied HTML content) into another
  Sebastian> variable.  All my attempts with perls open() function did not work
  Sebastian> out so far.

  Sebastian> If somebody points me into the right direction, I am gonna write
  Sebastian> up an example or little tutorial and send it to Dave, so it can be
  Sebastian> added to the script examples on Tidy's home page.

Sebastian, I'm interested in doing the exact same thing. More often than not I 
need to only parse portions of html rather than complete files. I was planning 
on working on a Perl script of my own but haven't had time yet. I'm no Perl 
guru, but if you are looking for help on your script and would like to share 
it, I'd be happy to poke around and see if I can help out. Feel free to 
contact me via direct e-mail or on the list...

Received on Wednesday, 3 May 2000 16:36:10 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:38:47 UTC