Gossamer Forum
Home : General : Perl Programming :

View Source? (with additional image attributes)

Quote Reply
View Source? (with additional image attributes)
My server is running perl version 5.00502. I'm looking for something simple, in which to view the source code of a web document. Idealy, I'd like to implement something in "form" format, with history.previous as the textarea referrer input. I can handle the javacsript, but what perl coding would I use if I wanted to view the source of web pages?

Additionally, (or separately in another file, if necessary), if the page has images, I'd like them automatically highlighted on the returned page, along with the "height" and "width" of these images.

Is this possible?

Thanks again!

Please remove -NOSPAM- from the above address for email correspondance!
Quote Reply
Re: View Source? (with additional image attributes) In reply to
LWP::Simple

Regards,

Eliot Lee
Quote Reply
Re: View Source? (with additional image attributes) In reply to
Check this out: http://144.132.157.127/view_source/

It's something I've been working on, the highlighting of images could be easily added. If you'd like I could email you the source code.

- Mark


Astro-Boy!!
http://www.zip.com.au/~astroboy/
Quote Reply
Re: View Source? (with additional image attributes) In reply to
Mark, thank you. That's the basic core I'm looking for. Would you mail that to me? My address is in the profile, however please remove the -nospam- insert.

Thanks!

PS- Eliot, please don't confuse me with someone who can write perl. I cannot! I *can* (barely) modify someone elses work, though. I'm akin to a great chef who reheats with some degree of edibility ;-)


Please remove -NOSPAM- from the above address for email correspondance!