comparison lisp/gnus/nnweb.el @ 75678:17f71e8e8472

Merge from gnus--rel--5.10 Patches applied: * gnus--rel--5.10 (patch 200-201) - Merge from emacs--devo--0 - Update from CVS: lisp/nnweb.el (nnweb-google-parse-1): Update parser. 2007-02-01 Andreas Seltenreich <uwi7@rz.uni-karlsruhe.de> * lisp/gnus/nnweb.el (nnweb-google-parse-1): Update parser. Revision: emacs@sv.gnu.org/emacs--devo--0--patch-629
author Miles Bader <miles@gnu.org>
date Mon, 05 Feb 2007 05:37:56 +0000
parents e3694f1cb928
children 73e575b86f8a 52a7f3f50b89
comparison
equal deleted inserted replaced
75677:459c3d0ca3f8 75678:17f71e8e8472
358 (mm-url-decode-entities) 358 (mm-url-decode-entities)
359 (setq Subject (buffer-string)) 359 (setq Subject (buffer-string))
360 (goto-char (point-max)) 360 (goto-char (point-max))
361 (widen) 361 (widen)
362 (narrow-to-region (point) 362 (narrow-to-region (point)
363 (search-forward "</td" nil t)) 363 (search-forward "</table" nil t))
364 364
365 (mm-url-remove-markup) 365 (mm-url-remove-markup)
366 (mm-url-decode-entities) 366 (mm-url-decode-entities)
367 (search-backward " - ") 367 (goto-char (point-max))
368 (when (looking-at 368 (when
369 "\\W+\\(\\w+\\) \\([0-9]+\\)\\(?: \\([0-9]\\{4\\}\\)\\)?") 369 (re-search-backward
370 "^\\(\\w+\\) \\([0-9]+\\)\\(?: \\([0-9]\\{4\\}\\)\\)? by \\(.*\\)"
371 nil t)
370 (setq Date (format "%s %s 00:00:00 %s" 372 (setq Date (format "%s %s 00:00:00 %s"
371 (match-string 1) 373 (match-string 1)
372 (match-string 2) 374 (match-string 2)
373 (or (match-string 3) 375 (or (match-string 3)
374 (substring (current-time-string) -4)))) 376 (substring (current-time-string) -4))))
375 (goto-char (match-end 0))) 377 (setq From (match-string 4)))
376 (when (looking-at "[^b]+by\\W+\\([^<\n]+\\)")
377 (setq From (match-string 1)))
378 (widen) 378 (widen)
379 (forward-line 1)
380 (incf i) 379 (incf i)
381 (unless (nnweb-get-hashtb url) 380 (unless (nnweb-get-hashtb url)
382 (push 381 (push
383 (list 382 (list
384 (incf (cdr active)) 383 (incf (cdr active))