Gnus development mailing list
 help / color / mirror / Atom feed
From: Reiner Steib <4.uce.03.r.s@nurfuerspam.de>
Subject: Re: spam-report.el pinging too fast?
Date: Tue, 25 May 2004 13:23:05 +0200	[thread overview]
Message-ID: <v9brkcpx7q.fsf@marauder.physik.uni-ulm.de> (raw)
In-Reply-To: <m3ekp9h1ui.fsf@quimbies.gnus.org>

On Tue, May 25 2004, Lars Magne Ingebrigtsen wrote:

> Lars Magne Ingebrigtsen <larsi@gnus.org> writes:
>
>> So there's two solutions to this: Either spam-report.el could wait
>> for a response (and serialize the reports), or I could write a new
>> "programmatic" spam.php that queues the reports and does the real
>> handling of them later.
>
> I've now done the latter.  :-)
>
> The new URL is
>
> http://gmane.org/ping-spam.php?group=some.group&article=1234&command=spam
>
> (or unspam).

It would be slightly nicer (easier parsing X-Report-Spam and
construction the ping-URL) to have ping-URLs similar to the normal
ones, e.g. by pre- or appending some keywords:

X-Report-Spam: http://spam.gmane.org/GROUP:NUMBER

           --> http://spam.gmane.org/GROUP:NUMBER&ping
or
           --> http://spam.gmane.org/ping?group=GROUP:NUMBER

While at it...  Some time ago we discussed[1] whether it would make
sense to report more than one article in a single HTTP request.
spam-report currently sends out one request for each article, see
`spam-report-gmane' and `spam-report-url-ping-plain'.  We could
collect the reports for each group (actually we already have a list of
articles in the first place) and do a single request, say
"http://spam.gmane.org/GROUP:NUMBER,NUMBER,NUMBER,NUMBER,NUMBER".
Would that be useful from Gmane's point of view?

Bye, Reiner.

[1] <URL:http://thread.gmane.org/v9r7xesw98.fsf@marauder.physik.uni-ulm.de>
    <news:v9d68tuqn3.fsf@marauder.physik.uni-ulm.de>
    <news:4nisigasec.fsf@collins.bwh.harvard.edu>
-- 
       ,,,
      (o o)
---ooO-(_)-Ooo--- PGP key available via WWW   http://rsteib.home.pages.de/




  reply	other threads:[~2004-05-25 11:23 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-05-24 22:40 Lars Magne Ingebrigtsen
2004-05-24 22:55 ` Lars Magne Ingebrigtsen
2004-05-25 11:23   ` Reiner Steib [this message]
2004-05-25 18:50   ` Ted Zlatanov

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=v9brkcpx7q.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).