1 Mar 2004 13:18
Viewing remote pics on html messages
Marcio Merlone <mm <at> surf.com.br>
2004-03-01 12:18:10 GMT
2004-03-01 12:18:10 GMT
Hello all, I have a small script that wget's a remote site (http://www.sai.msu.su/apod/) which has a link to a picture. That link is relative to original site, so I add a "<base href=\"$URL\">\n" to the beginning of the wgetted file. End message looks like (irrelevant parts cut): ===========8<------------- Content-Type: text/html; charset=US-ASCII Content-Transfer-Encoding: 7bit <base href="http://www.sai.msu.su/apod/"> <html> <head> <title>Astronomy Picture of the Day </title> <meta name="keywords" content="Moon, Venus, February 23"> </head> <body BGCOLOR="#F4F4FF" text="#000000" link="#0000FF" vlink="#7F0F9F" alink="#FF0000"> (...) <a href="image/0403/saturn0402_cassini_big.jpg"> <img src="http://www.sai.msu.su/apod/image/0403/saturn0402_cassini.jpg" alt="See Explanation. Clicking on the picture will download the highest resolution version available."></a> (...) </body> </html> ===========8<-------------(Continue reading)
RSS Feed