From: michael@cadilhac.name (Michaël Cadilhac)
To: ding@gnus.org
Subject: Re: RSS and annoying always-changing article fields.
Date: Mon, 16 Apr 2007 23:04:22 +0200 [thread overview]
Message-ID: <874pngav55.fsf@lrde.org> (raw)
In-Reply-To: <87lkgs5hht.fsf@lrde.org> (=?iso-8859-1?Q?=22Micha=EBl?= Cadilhac"'s message of "Mon\, 16 Apr 2007 19\:58\:06 +0200")
[-- Attachment #1: Type: text/plain, Size: 1120 bytes --]
michael@cadilhac.name (Michaël Cadilhac) writes:
> Hi!
>
> I've subscribed to some RSS feeds that update the fields of articles
> continuously with useless informations, such as the number of comments
> for the article.
>
> I've read some bug report in the list that look like this one, so it
> probably is the very same bug.
>
> + (defun nnrss-make-hash-index (item)
> + (setq item (remove-if
> + (lambda (field)
> + (when (listp field)
> + (memq (car field) nnrss-ignore-article-fields)))
> + item))
> + (md5 (gnus-prin1-to-string item)))
> +
Oh, and just another rationale for adding a whole function for that :
it allows (me) to advice it so that I can perform stronger ignoring
procedures, such as removing all \n and squeezing spaces.
--
| Michaël `Micha' Cadilhac | Ajoutez du whisky |
| http://michael.cadilhac.name | à n'importe quel texte, |
| JID/MSN: | ça vous fera un beau pangramme. |
`---- michael.cadilhac@gmail.com | -- Michel Clavel - --'
[-- Attachment #2: Type: application/pgp-signature, Size: 188 bytes --]
next prev parent reply other threads:[~2007-04-16 21:04 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-04-16 17:58 Michaël Cadilhac
2007-04-16 21:04 ` Michaël Cadilhac [this message]
2007-04-26 7:31 ` Michaël Cadilhac
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=874pngav55.fsf@lrde.org \
--to=michael@cadilhac.name \
--cc=ding@gnus.org \
/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).