looking for html to text renderer that keeps links
What I am looking for, is an html2text application, that can do something like this
example 1 (newsbeuter) Code:
I’ve moved this post to be a page, but I didn’t want to delete the comments associated with this older post. Code:
If this message is not displaying properly, please view the [1]online |
'links -dump proto://some/page'?
|
actually, even before I posted that question, I was wondering why mutt was rendering the html like that, when (I though), it wasn't supposed to, now that you gave that answer, I got it, it's because of the way I have my .mailcap file set up "text/html; elinks -default-mime-type text/html -dump -dump-charset %{charset} %s; copiousoutput", it was elinks that was doing that, 'elinks -dump' works (almost) as I wanted to (no links to images), actually 'links -dump' isn't doing it for me, for some reason (it's not keeping the links), neither is w3m (it's doing the same as links), and neither is lynx (it's just outputting the htmls source code), all of them I tried simply with the '-dump' option, and nothing more, so maybe I am missing something there, but at least elinks is doing it almost the way I want, and that is the one I usually use (because of the tabbed browsing capabilities), thank you for your help
EDIT - searched a bit on links options, and only had to set '-html-numbered-links 1' and it worked, this time, even better than elinks, since it kept all links, even images, and not only that, it informs me what links are images, once again, thanks for your help |
All times are GMT -5. The time now is 11:20 PM. |