Sync.
authoryamaoka <yamaoka>
Wed, 10 May 2000 12:37:25 +0000 (12:37 +0000)
committeryamaoka <yamaoka>
Wed, 10 May 2000 12:37:25 +0000 (12:37 +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 be4591c..c1e0ce3 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