* nnslashdot.el (nnslashdot-request-close): New function.
authorLars Magne Ingebrigtsen <larsi@gnus.org>
Mon, 10 Jul 2000 15:59:31 +0000 (15:59 +0000)
committerLars Magne Ingebrigtsen <larsi@gnus.org>
Mon, 10 Jul 2000 15:59:31 +0000 (15:59 +0000)
lisp/ChangeLog
lisp/nnslashdot.el

index e99aa6f..713c443 100644 (file)
@@ -1,3 +1,12 @@
+2000-07-11 18:00:49  Lars Magne Ingebrigtsen  <larsi@gnus.org>
+
+       * nnslashdot.el (nnslashdot-request-close): New function.
+
+2000-07-04 23:23:23  Lars Magne Ingebrigtsen  <larsi@gnus.org>
+
+       * nnslashdot.el (nnslashdot-threaded-retrieve-headers): Get the
+       right line number for the article.
+
 2000-07-10 22:41:58  ShengHuo ZHU  <zsh@cs.rochester.edu>
 
        * nnslashdot.el (nnslashdot-threaded-retrieve-headers): Save point.
index cbae5ec..bebb06c 100644 (file)
          (search-forward " on ")
          (setq date (nnslashdot-date-to-date
                      (buffer-substring (point) (1- (search-forward "<")))))
-         (forward-line 2)
-         (setq lines (count-lines
-                      (point)
-                      (re-search-forward
-                       "A href=\"\\(http://slashdot.org\\)?/article" nil t)))
+         (setq lines (/ (- (point)
+                           (progn (forward-line 1) (point)))
+                        60))
          (push
           (cons
            1
                                nnslashdot-groups))
   (nnslashdot-write-groups))
 
+(deffoo nnslashdot-request-close ()
+  (setq nnslashdot-headers nil
+       nnslashdot-groups nil))
+
 (nnoo-define-skeleton nnslashdot)
 
 ;;; Internal functions