in reply to "Web Automation" -- your input is greatly desired!

One project I undertook, (and found interesting) in this area, was a script using LWP which rendered my friends' blogs in a Palm-compatible format.

It was rather clunky, but essentially it hit on their websites and got their blog front pages, then used regexes to reduce the complexity of the HTML, removing tables and so on, re-writing their blogs into pages on my website.

Of course there are Palm browsers (I use AvantGo) which will attempt to reformat and render HTML for you, but I found it easier to run the reformatting script, getting any error messages along the way, just before a sync. And of course I could tweak the reformatting by adjusting a list of allowed and disallowed tags.
--

“Every bit of code is either naturally related to the problem at hand, or else it's an accidental side effect of the fact that you happened to solve the problem using a digital computer.”
M-J D
  • Comment on Re: "Web Automation" -- your input is greatly desired!