Gnus development mailing list
 help / color / mirror / Atom feed
From: Reiner Steib <4.uce.03.r.s@nurfuerspam.de>
Subject: Buttons: HTTP <-> NNTP conversion (was: subscribe to lists without receiving mails)
Date: Fri, 25 Apr 2003 16:27:49 +0200	[thread overview]
Message-ID: <v9n0ie4nt5.fsf@marauder.physik.uni-ulm.de> (raw)
In-Reply-To: <87ptnbz8hq.fsf@jidanni.org>

On Fri, Apr 25 2003, Dan Jacobson wrote:

> R> nntp://news.gmane.org/gmane.discuss/2094
>
> I put the mouse on top of these here in gnus, and nothing lights up.

Get a fresh Oort (or wait for 5.10).  "nntp" is correct (and recommend
by RFC), but wasn't implemented in Gnus.

> By the way, links like that aren't the best for us offline folks too
> it seems.

For me, it's just the other way round (sometimes): When people post
links like <URL:http://article.gmane.org/gmane.discuss:3191> I'd like
Gnus to behave as if there was a
<URL:news://news.gmane.org/gmane.discuss/3191> link instead.  Then I
don't have to switch to the browser.

Same for Google-MID-URLs:
<URL:http://groups.google.com/groups?hl=en&rnum=1&
threadm=87bs6teihl%2Efsf%40amaterasu%2Esrvr%2Enix> should behave as
<news:87bs6teihl.fsf@amaterasu.srvr.nix>.

I already wrote some HTTP->NNTP URL conversion (not yet committed):

,----[ C-h v gnus-button-prefer-nntp RET ]
| gnus-button-prefer-nntp's value is nil
| 
| Documentation:
| Try to convert Google or Gmane HTTP URLs to corresponding NNTP URLs.
| 
| If `nil', no conversion will be done.  If `t', all URLs will be
| converted.  If `ask', query the user what do do.
| 
| You can customize this variable.
`----

> I know, I will sed s/nntp/http/|xargs wwwoffle and see what happens.
[...]
> OK, I will try also sed s/nntp/http/\;s/news/article/|xargs wwwoffle

Hey, your using Gnus, it should be done in Lisp!  Maybe I can
implement the other way round too, i.e.:

  (news|nntp)://news.gmane.org/gmane.discuss/3191 -->
  http://article.gmane.org/gmane.discuss/3191
and
  news:some@foo.bar.invalid -->
  http://groups.google.com/groups?hl=en&rnum=1&threadm=some@foo.bar.invalid

Does this make sense?

Bye, Reiner.

PS: Does (or could) Gmane convert...

| Newsgroups: gmane.discuss,gmane.emacs.gnus.general
| Followup-To: gmane.emacs.gnus.general

... to something like ...

| To: ding@gnus.org,gmane-discuss@hawk.netfonds.no
| Mail-Followup-To: ding@gnus.org

I'm not sure.  Let's test it:
Crosspost & Followup-To: gmane.emacs.gnus.general

... failed:

,----[ leafnode log ]
| Posting /var/spool/news/out.going/9113-1051280870-1
| Unable to post /var/spool/news/out.going/9113-1051280870-1:
|    "441 You are not allowed to approve postings", 
|    moving to /var/spool/news/failed.
| news.gmane.org: 0 articles posted
`----

,----[ 9113-1051280870-1 ]
| Newsgroups: gmane.discuss,gmane.emacs.gnus.general
| Followup-To: gmane.emacs.gnus.general
[...]
| Date: Fri, 25 Apr 2003 16:27:49 +0200
| Message-ID: <v9vfx24pp6.fsf@marauder.physik.uni-ulm.de>
`----

I'll try by mail now...
| To: ding@gnus.org,gmane-discuss@hawk.netfonds.no
| Mail-Followup-To: ding@gnus.org
-- 
       ,,,
      (o o)
---ooO-(_)-Ooo--- PGP key available via WWW   http://rsteib.home.pages.de/



       reply	other threads:[~2003-04-25 14:27 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <v9sms77l8m.fsf@marauder.physik.uni-ulm.de>
     [not found] ` <87ptnbz8hq.fsf@jidanni.org>
2003-04-25 14:27   ` Reiner Steib [this message]
2003-04-25 16:17     ` Buttons: HTTP <-> NNTP conversion Jesper Harder
2003-04-25 22:47       ` Reiner Steib
2003-04-26  0:24         ` Jesper Harder
2003-04-27  3:38       ` Lars Magne Ingebrigtsen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=v9n0ie4nt5.fsf@marauder.physik.uni-ulm.de \
    --to=4.uce.03.r.s@nurfuerspam.de \
    --cc=reiner.steib@gmx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).