Announcements and discussions for Gnus, the GNU Emacs Usenet newsreader
 help / color / mirror / Atom feed
* How to access HTML DOM/source of MIME part?
@ 2020-06-11 22:36 Tim Landscheidt
  2020-06-11 23:21 ` Eric Abrahamsen
  0 siblings, 1 reply; 9+ messages in thread
From: Tim Landscheidt @ 2020-06-11 22:36 UTC (permalink / raw)
  To: info-gnus-english

Hi,

I am subscribed to several newsletters that are sent as
multipart/alternative with one part being text/html that
contains (inter alia) a list of links.  I want to write a
command to iterate over those links and prompt for each
whether to call browse-url on it.

Ideally, I would like to use the HTML DOM/source for
that.  How can I access that?

(I wouldn't mind examples of tighter integration with shr
(marking (some) links at parsing, iterating visually over
them), but for starters, parsing the DOM (again) would be
enough for me.)

TIA,
Tim


_______________________________________________
info-gnus-english mailing list
info-gnus-english@gnu.org
https://lists.gnu.org/mailman/listinfo/info-gnus-english

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2020-06-26  9:35 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-06-11 22:36 How to access HTML DOM/source of MIME part? Tim Landscheidt
2020-06-11 23:21 ` Eric Abrahamsen
2020-06-12  0:04   ` Tim Landscheidt
2020-06-16 15:34     ` Tim Landscheidt
2020-06-16 18:39       ` Eric Abrahamsen
2020-06-16 19:31         ` Lars Ingebrigtsen
2020-06-16 19:43           ` Eric Abrahamsen
2020-06-18  2:50             ` Tim Landscheidt
2020-06-26  9:30               ` Lars Ingebrigtsen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).