<<< Date Index >>>     <<< Thread Index >>>

Re: viewing URLs (muttils or lynx?)



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Saturday, March 15 at 11:52 AM, quoth Robert Svoboda:
>> This is relatively easy to do for typical text-based <a href="URL"> 
>> links and links listed in text/plain email, but what about things 
>> like <a href=""> links around images, or <blockquote cite="URL"> or 
>> <embed src="foo" pluginspage="bar">? Or even <iframe 
>> src="gotcha!">? That gets tricky fast. I wouldn't want to make it 
>> impossible to access those links...  but if not, how do we display 
>> things? I don't know that there's a really good solution without 
>> doing a full-blown html render (I'm open to being wrong).
>
> I don't get much html email anyway so for me the basic functionality 
> would do the job fine. I was thinking about urifind ( 
> http://search.cpan.org/dist/urifind/urifind ) which is able to 
> extract links from text documents (be it html, plain, whatever).

Well, that'd output your links, but wouldn't do much for identifying 
their context in the text. And it can't properly handle mail that has 
the delsp=yes flag set.

> As I said I don't get much html email and if it comes it's certainly 
> not that advanced as to contain frames or other embedded things. 
> Maybe displaying link to that content would be enough?

What, you mean transform <iframe src="foo"> into just "foo"? That's 
not too bad an idea... could really muck with layout of your email, 
though, especially if the iframe was just a way to insert an 
advertisement (such as yahoogroups emails).

I still think that, in order to do it "right", you'd need to basically 
do it within a full-blown html renderer (that way you could do things 
like limit how much a given behavior will rearrange the content of the 
email).

~Kyle
- -- 
To invent, you need a good imagination and a pile of junk.
                                                    -- Thomas Jefferson
-----BEGIN PGP SIGNATURE-----
Comment: Thank you for using encryption!

iEYEARECAAYFAkfcJJkACgkQBkIOoMqOI14rqQCdEHpVeNXLldQCcP0q998uWgJD
M+IAoJraQql9P74aO0Mcsnlep78YMsG2
=zpCV
-----END PGP SIGNATURE-----