[Date Prev][Date Next][Thread Prev][][Date Index][Thread Index]

Re: sb-heise.el update



Hello,

It slowly converges against something stable ;-)

* shimbun/sb-heise.el (shimbun-heise-get-telepolis-headers): Fixed
  bug that gave same message id to different articles.
--- /home/dhansen/cvs-src/emacs-w3m/shimbun/sb-heise.el	2004-12-08 13:07:56.000000000 +0100
+++ /home/dhansen/share/emacs/site-lisp/w3m/sb-heise.el	2004-12-11 20:15:45.000000000 +0100
@@ -101,8 +101,8 @@
 	    (let ((author (concat (match-string 1) " <invalid@heise.de>"))
 		  (date (match-string 2)) (id))
 	      (setq url (w3m-expand-url url shimbun-heise-url))
-	      (string-match "/\\w+/[0-9]+/" url)
-	      (setq id (concat "<telepolis" (match-string 0 url) "@heise.de>"))
+	      (string-match "\\(/\\w+/[0-9]+/\\)[^/]+\\.html" url)
+	      (setq id (concat "<telepolis" (match-string 1 url) "@heise.de>"))
 	      (when (shimbun-search-id shimbun id)
 		(throw 'stop nil))
 	      (string-match "\\([0-9]+\\)\\.\\([0-9]+\\)\\.\\([0-9]+\\)" date)