- From: Pete Gelbman <pete@arraycomm.com>
- Date: Thu, 04 May 2000 03:00:39 +0800
- 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... -- ~pete
Received on Wednesday, 3 May 2000 16:36:10 UTC