Gnus development mailing list
 help / color / mirror / Atom feed
* duplicate items in nnrss groups
@ 2006-09-10 20:25 Jochen Küpper
  2006-09-10 21:48 ` David Hansen
  0 siblings, 1 reply; 10+ messages in thread
From: Jochen Küpper @ 2006-09-10 20:25 UTC (permalink / 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.)



^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2006-09-16 13:54 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-09-10 20:25 duplicate items in nnrss groups Jochen Küpper
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

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