Gnus development mailing list
 help / color / mirror / Atom feed
From: "Jochen Küpper" <jochen-+It19tn3Rl9sbm7dSapR3bNAH6kLmebB@public.gmane.org>
Subject: duplicate items in nnrss groups
Date: Sun, 10 Sep 2006 22:25:04 +0200	[thread overview]
Message-ID: <9e64fv31wf.fsf@doze.jochen-kuepper.de> (raw)

I use Gnus to read some rss feeds using the configuration shown below.

I believe there is nothing special about the config, the only
parameter I see related to my problem is nnrss-use-local (= t).

With this I get repeatedly the same entries listed as new. This seems
to happen every time I press "g" *and* the date/time of the xml-file
is newer than at the previous update, or something similar.

Has anybody else seen that? Is this a know problem? Is there any cure
to it?

If this is not known, how would one go ahead and debug this?

Thanks for any help/hints.

,----[from .gnus]
| (require 'nnrss)
| (setq nnrss-use-local t)
| (add-hook 'gnus-summary-mode-hook
|           (lambda ()
|             (if (string-match "nnrss:" gnus-newsgroup-name)
|                 (progn
|                   (make-local-variable 'gnus-show-threads)
|                   (make-local-variable 'gnus-article-sort-functions)
|                   (make-local-variable 'gnus-use-adaptive-scoring)
|                   (make-local-variable 'gnus-use-scoring)
|                   (make-local-variable 'gnus-score-find-score-files-function)
|                   (make-local-variable 'gnus-summary-line-format)
|                   (setq gnus-show-threads nil)
|                   (setq gnus-article-sort-functions 'gnus-article-sort-by-number)
|                   (setq gnus-use-adaptive-scoring nil)
|                   (setq gnus-use-scoring t)
|                   (setq gnus-score-find-score-files-function 'gnus-score-find-single)
|                   (setq gnus-summary-line-format "%U%R%z%[%d%] %I%( %s%)\n")))))
| (defun jk/browse-nnrss-url(arg)
|   (interactive "p")
|   (let ((url (assq nnrss-url-field
|                    (mail-header-extra
|                     (gnus-data-header
|                      (assq (gnus-summary-article-number)
|                            gnus-newsgroup-data))))))
|     (if url
|         (progn
|           (browse-url (cdr url))
|           (gnus-summary-mark-as-read-forward 1))
|       (gnus-summary-scroll-up arg))))
| (add-to-list 'nnmail-extra-headers nnrss-url-field)
| (add-hook 'gnus-summary-mode-hook
|           (lambda ()
|             (if (string-match "nnrss" gnus-newsgroup-name)
|                 (define-key gnus-summary-mode-map (kbd "<RET>") 'jk/browse-nnrss-url))))
`----

One feed where I always see that is the following:
,----
| <?xml version="1.0" encoding="ISO-8859-1"?>
| <?xml-stylesheet href="http://www.tagesspiegel.de/feed/rss.css" type="text/css"?>
| <rdf:RDF xmlns="http://purl.org/rss/1.0/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:sy="http://purl.org/rss/1.0/modules/syndication/" xmlns:admin="http://webns.net/mvcb/" xmlns:content="http://purl.org/rss/1.0/modules/content/">
| 
| <channel>
|   <title>Tagesspiegel Online: Nachrichten</title>
|   <link>http://www.tagesspiegel.de</link>
|   <language>de</language>
|   <description>Nachrichten für Berlin und Deutschland</description>
|   <copyright>Urban Media GmbH</copyright>
|   <image>
|   	<title>Tagesspiegel Online: Nachrichten</title>
| 	<url>http://www.tagesspiegel.de/feed/images/tslogo.png</url>
| 	<link>http://www.tagesspiegel.de</link>
|   </image>
| </channel>
`----

Greetings,
Jochen
-- 
Einigkeit und Recht und Freiheit                http://www.Jochen-Kuepper.de
    Liberté, Égalité, Fraternité                GnuPG key: CC1B0B4D
        (Part 3 you find in my messages before fall 2003.)



             reply	other threads:[~2006-09-10 20:25 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-09-10 20:25 Jochen Küpper [this message]
2006-09-10 21:48 ` David Hansen
     [not found]   ` <87slizbdgb.fsf-/PVU1wbgskXSxOb6xA1WPVLmfr9GSJok@public.gmane.org>
2006-09-11  8:07     ` Jochen Küpper
2006-09-14 16:51   ` Mark Plaksin
     [not found]     ` <wszmd2xuh3.fsf-QSdS4MO2Nel/RRfBVNJ3YIdd74u8MsAO@public.gmane.org>
2006-09-14 19:40       ` Jochen Küpper
2006-09-14 20:50         ` Mark Plaksin
     [not found]           ` <wsejuexjds.fsf-QSdS4MO2Nel/RRfBVNJ3YIdd74u8MsAO@public.gmane.org>
2006-09-14 21:34             ` Jochen Küpper
2006-09-15 16:12               ` Mark Plaksin
     [not found]                 ` <wsmz91un18.fsf-QSdS4MO2Nel/RRfBVNJ3YIdd74u8MsAO@public.gmane.org>
2006-09-16 13:02                   ` Jochen Küpper
     [not found]                     ` <9e64fo9d7v.fsf-X+QEHg5KIgm/8B4OpmtwqPxnRIzENc/G@public.gmane.org>
2006-09-16 13:54                       ` generated dates should not be hashed (was: duplicate items in nnrss groups) Jochen Küpper

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=9e64fv31wf.fsf@doze.jochen-kuepper.de \
    --to=jochen-+it19tn3rl9sbm7dsapr3bnah6klmebb@public.gmane.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).