[Date Prev][Date Next][Thread Prev][][Date Index][Thread Index]

Google News: next page



安宅です。

Google News でも Google なんかと同じように動くようにするパッチです。
さっきの Yahoo と一緒に出せばよかったですね。すみません。


                                    ----Input with T-Code!
                         http://pop-club.hp.infoseek.co.jp
     Masayuki Ataka / 安宅 正之 (ataka@milk.freemail.ne.jp)

2005-06-26  Masayuki Ataka  <ataka@milk.freemail.ne.jp>

	* w3m.el (w3m-relationship-estimate-rules): Improve regexp for
	Google in order to make the scroll-to-next-page feature work on
	Google News as well.


*** w3m.el	17  6 2005 23:12:35 +0900	1.1146
--- w3m.el	26  6 2005 23:02:47 +0900	
***************
*** 1742,1752 ****
  
  (defcustom w3m-relationship-estimate-rules
    `((w3m-relationship-simple-estimate
!      "\\`http://\\(?:www\\|groups\\)\\.google\\.[^/]+/\\(?:search\\|groups\\)"
       ,(concat "<a href=" w3m-html-string-regexp
! 	      "><img src=/\\(?:intl/[^/]+/\\)?nav_next\\.gif")
       ,(concat "<a href=" w3m-html-string-regexp
! 	      "><img src=/\\(?:intl/[^/]+/\\)?nav_previous\\.gif")
       nil nil)
      (w3m-relationship-simple-estimate
       "\\`http://www\\.zdnet\\.co\\.jp/news/"
--- 1742,1752 ----
  
  (defcustom w3m-relationship-estimate-rules
    `((w3m-relationship-simple-estimate
!      "\\`http://\\(?:www\\|groups\\|news\\)\\.google\\.[^/]+/\\(?:search\\|groups\\|news\\)"
       ,(concat "<a href=" w3m-html-string-regexp
! 	      "><img src=\\(?:/intl/[^/]+/\\)?nav_next\\.gif")
       ,(concat "<a href=" w3m-html-string-regexp
! 	      "><img src=\\(?:/intl/[^/]+/\\)?nav_previous\\.gif")
       nil nil)
      (w3m-relationship-simple-estimate
       "\\`http://www\\.zdnet\\.co\\.jp/news/"