* nnslashdot.el (nnslashdot-request-list): Always get the right
authorLars Magne Ingebrigtsen <larsi@gnus.org>
Fri, 5 Jan 2001 05:38:30 +0000 (05:38 +0000)
committerLars Magne Ingebrigtsen <larsi@gnus.org>
Fri, 5 Jan 2001 05:38:30 +0000 (05:38 +0000)
id.

lisp/ChangeLog
lisp/nnslashdot.el

index 5ed3448..3930aa8 100644 (file)
@@ -1,3 +1,8 @@
+2001-01-04 11:06:14  Gregory Chernov  <greg@visiontech-dml.com>
+
+       * nnslashdot.el (nnslashdot-request-list): Always get the right
+       sid. 
+
 2001-01-05 00:00:00  ShengHuo ZHU  <zsh@cs.rochester.edu>
 
        * message.el (message-minibuffer-local-map): New keymap.
index 7ef6dbe..246a361 100644 (file)
                    (nnweb-decode-entities-string (match-string 1)))
              (re-search-forward "<url>\\([^<]+\\)</url>")
              (setq sid (match-string 1))
-             (string-match "/\\([0-9/]+\\)\\(.shtml\\|$\\)" sid)
-             (setq sid (concat "01/" (match-string 1 sid)))
+             (string-match "sid=\\([0-9/]+\\)\\(.shtml\\|$\\)" sid)
+             (setq sid (match-string 1 sid))
              (re-search-forward "<comments>\\([^<]+\\)</comments>")
              (setq articles (string-to-number (match-string 1)))
              (setq gname (concat description " (" sid ")"))