News, Events, Trends, Activities, Conferences and Notes to do with Web Culture, Development, New Media, Content Management, Mobile and PDA Access and Web Infrastructure
|
See Also: Home Links Personal Site Blogroll FriendFeed CV | |
Wiki Menu:Tags:
|
De TabliserIn the dark-ages of webpage design <tables> were used as the only reliable cross-browser means of laying out a web page in columns and rows. This Script decomposes a fetched page in a graphical way so you can get a quick handle on the tables horrors within.
You can use a live copy of this script at the following URL Takes a URL specified in an FORM INPUT field, requests the page using LWP and parses it using HTML::Parser to extract the TABLE layout used in the page for debugging purposes. HTML::Parser does a good job of emaulating browser activity when reading and parsing fetched HTML, all we do in this script really is keep a track of table nesting and open/close tag pairs as the parser triggers the event handlers.
Sample Output
See Also: Web Projects | Web Development | Notes Index |