aboutsummaryrefslogtreecommitdiffstats
path: root/doc/misc
diff options
context:
space:
mode:
authorEshel Yaron2023-06-17 13:48:51 +0300
committerEli Zaretskii2023-06-24 14:52:23 +0300
commitdfba4347c71d70b8357979ff0fb4bb070b0ed60c (patch)
tree7e7dd66cbe9751ce766de5e0272570527adc13a4 /doc/misc
parent8e8667246a4c06c8362515cbd6bead889babb748 (diff)
downloademacs-dfba4347c71d70b8357979ff0fb4bb070b0ed60c.tar.gz
emacs-dfba4347c71d70b8357979ff0fb4bb070b0ed60c.zip
New command 'eww-copy-alternate-url'
This adds a new command to EWW that copies an alternate link to the currently visited page into the kill ring. This is useful for subscribing to website feeds, etc. * lisp/net/eww.el (eww--alternate-urls, eww-read-alternate-url): New functions. (eww-copy-alternate-url): New command. (eww-mode-map): Bind it to 'A'. * doc/misc/eww.texi (Basics): Document it. * etc/NEWS: Announce it. (Bug#64126)
Diffstat (limited to 'doc/misc')
-rw-r--r--doc/misc/eww.texi15
1 files changed, 15 insertions, 0 deletions
diff --git a/doc/misc/eww.texi b/doc/misc/eww.texi
index c02e9db11c9..cff48bd601e 100644
--- a/doc/misc/eww.texi
+++ b/doc/misc/eww.texi
@@ -115,6 +115,21 @@ web page hit @kbd{g} (@code{eww-reload}).
115@kbd{w} calls @code{eww-copy-page-url}, which will copy the current 115@kbd{w} calls @code{eww-copy-page-url}, which will copy the current
116page's URL to the kill ring instead. 116page's URL to the kill ring instead.
117 117
118@findex eww-copy-alternate-url
119@kindex A
120 The @kbd{A} command (@code{eww-copy-alternate-url}) copies the URL
121of an alternate link of the current page into the kill ring. If the
122page specifies multiple alternate links, this command prompts for one
123of them in the minibuffer, with completion. Alternate links are
124references that an @acronym{HTML} page may include to point to other
125documents that act as its alternative representations. Notably,
126@acronym{HTML} pages can use alternate links to point to their
127translated versions and to @acronym{RSS} feeds. Alternate links
128appear in the @samp{<head>} section of @acronym{HTML} pages as
129@samp{<link>} elements with @samp{rel} attribute equal to
130@samp{``alternate''}, they are part of the page's metadata and are not
131visible in its rendered content.
132
118@findex eww-open-in-new-buffer 133@findex eww-open-in-new-buffer
119@kindex M-RET 134@kindex M-RET
120 The @kbd{M-@key{RET}} command (@code{eww-open-in-new-buffer}) opens the 135 The @kbd{M-@key{RET}} command (@code{eww-open-in-new-buffer}) opens the