(nnslashdot-request-article): Be more lenient.
authorLars Magne Ingebrigtsen <larsi@gnus.org>
Wed, 10 May 2000 12:29:44 +0000 (12:29 +0000)
committerLars Magne Ingebrigtsen <larsi@gnus.org>
Wed, 10 May 2000 12:29:44 +0000 (12:29 +0000)
lisp/ChangeLog
lisp/nnslashdot.el

index 27c4ff8..299fc20 100644 (file)
@@ -5,6 +5,7 @@
        (nnslashdot-sane-retrieve-headers): Ditto.
        (nnslashdot-request-article): Ditto.
        (nnslashdot-threaded-retrieve-headers): Thread properly.
+       (nnslashdot-request-article): Be more lenient.
 
 2000-05-09 13:23:50  Shenghuo ZHU  <zsh@cs.rochester.edu>
 
index e2d72c0..e352cfa 100644 (file)
          (setq lines (count-lines
                       (point)
                       (search-forward
-                       "A href=\"/article" nil t)))
+                       "A href=\"\\(http://slashdot.org\\)?/article" nil t)))
          (push
           (cons
            1
        (forward-line 2)
        (setq lines (count-lines (point)
                                 (search-forward
-                                 "A href=\"/article")))
+                                 "A href=\"\\(http://slashdot.org\\)?/article")))
        (push
         (cons
          1
                           (point)
                           (progn
                             (re-search-forward
-                             "<p>.*A href=\"/article")
+                             "<p>.*A href=\"\\(http://slashdot.org\\)?/article")
                             (match-beginning 0)))))
                (search-forward (format "<a name=\"%d\">" (1- article)))
                (setq contents