Normally, one would use a proper snews:// URL scheme. For example, to
reference your post (which I'm replying to herein), you would give:
snews://
nntp.aioe.org:563/efGdnUvvdN-KyybM...@supernews.com
Sadly, many browsers are ill-equipped to directly handle these URLs.
Lynx works, however. For example:
$ lynx 'snews://
nntp.aioe.org:563/efGdnUvvdN-KyybM...@supernews.com'
Unlike Alex's solution, this approach is generic and will work for any
newsgroup. The downside is lack of browser support, and the fact that
a news server like
aioe.org may not go as far back as the
archives. So the links will get stale quicker.
If you view your news in emacs, I have created an emacs macro that
generates the complete URL and puts it on the clipboard for pasting
where ever you need it.
(defun my-gnus-get-article-url ()
"Copy an URL for the current article to the X clipboard"
(interactive)
(dolist (buf (buffer-list))
(with-current-buffer buf
(when (eq major-mode 'gnus-article-mode)
(goto-char (point-min))
(gnus-summary-show-all-headers)
(re-search-forward "^Message-ID: <\\(.*\\)>$")
(setq msgid (match-string 1))
(goto-char (point-min))
(re-search-forward "^Xref: \\([^ ]*\\)[ ]\\(.*\\)$")
(setq domain (match-string 1)
articleid (match-string 2))
(setq hosts '(("
aioe.org" . "nntp") ("
gmane.org" . "news")))
(setq articleurl (concat "snews://" (cdr (assoc domain hosts)) "." domain ":563/" msgid))
(message "the URL is %s" articleurl)
(setq x-select-enable-clipboard t)
(with-temp-buffer
(insert articleurl)
(clipboard-kill-ring-save (point-min) (point-max)))
(gnus-article-hide-headers)))))