* nnrss: relative links in message bodies
@ 2009-02-20 4:47 jidanni
2009-02-20 5:52 ` [emacs-w3m:10715] " Katsumi Yamaoka
0 siblings, 1 reply; 4+ messages in thread
From: jidanni @ 2009-02-20 4:47 UTC (permalink / raw)
To: ding
What should nnrss do when encountering a link like:
<p>Bob, the fact is that the Israeli government ... refugee relief
aid; see my <a href="../04/on-netanyahu-on-gaza">previous letter</a>.
When tabbed to, we see "buffer://../04/on-netanyahu-on-gaza".
What is this "buffer:" protocol? A red flag that there is a bug.
Why can't it detect that this is a relative link?
^ permalink raw reply [flat|nested] 4+ messages in thread
* [emacs-w3m:10715] Re: nnrss: relative links in message bodies
2009-02-20 4:47 nnrss: relative links in message bodies jidanni
@ 2009-02-20 5:52 ` Katsumi Yamaoka
2009-02-20 6:03 ` [emacs-w3m:10716] " jidanni
2009-02-20 23:43 ` [emacs-w3m:10715] " Kevin Ryde
0 siblings, 2 replies; 4+ messages in thread
From: Katsumi Yamaoka @ 2009-02-20 5:52 UTC (permalink / raw)
To: jidanni; +Cc: ding, emacs-w3m
>>>>> jidanni@jidanni.org wrote:
> What should nnrss do when encountering a link like:
> <p>Bob, the fact is that the Israeli government ... refugee relief
> aid; see my <a href="../04/on-netanyahu-on-gaza">previous letter</a>.
The base tag, like <base href="http://host/directory/">, in the
<head>...</head> section is needed to expand relative links to
the absolute ones. If it exixts, emacs-w3m, an html renderer
for Gnus, should handle it properly. The base tag is often
omitted in html data. Even in such a case, shimbun (bundled
with emacs-w3m) uses the directory of the current page address
to generate the base tag. However, IIUC, nnrss doesn't.
> When tabbed to, we see "buffer://../04/on-netanyahu-on-gaza".
> What is this "buffer:" protocol? A red flag that there is a bug.
The `buffer:' scheme is for the emacs-w3m internal. It is mainly
for accessing `name' tags within an html article. Maybe emacs-w3m
misidentifies it as a name link because of no base tag.
;; BTW, this feature has been made by your request. ;-)
;; Cf. <b4mbpynrbmw.fsf@jpl.org>
> Why can't it detect that this is a relative link?
To make it work, nnrss.el needs to be improved further.
Regards,
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2009-02-20 23:43 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-02-20 4:47 nnrss: relative links in message bodies jidanni
2009-02-20 5:52 ` [emacs-w3m:10715] " Katsumi Yamaoka
2009-02-20 6:03 ` [emacs-w3m:10716] " jidanni
2009-02-20 23:43 ` [emacs-w3m:10715] " Kevin Ryde
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).