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

`w3m-relationship-estimate-rules' and google code search



2006-10-11  David Hansen <david.hansen@xxxxxxxxxxxxxxxxxxx>

	* w3m.el (w3m-relationship-estimate-rules): Support for google code
          search added.

diff -c /home/dhansen/cvs-src/emacs-w3m/w3m.el /home/dhansen/share/emacs/site-lisp/w3m/w3m.el
*** /home/dhansen/cvs-src/emacs-w3m/w3m.el	2006-10-05 04:12:18.000000000 +0200
--- /home/dhansen/share/emacs/site-lisp/w3m/w3m.el	2006-10-11 10:16:51.000000000 +0200
***************
*** 1803,1809 ****
  
  (defcustom w3m-relationship-estimate-rules
    `((w3m-relationship-simple-estimate
!      "\\`http://\\(?:www\\|blogsearch\\|groups\\|news\\)\\.google\\.[^/]+/\\(?:search\\|blogsearch\\|groups\\|news\\)"
       ,(concat "<a[^>]+?href=" w3m-html-string-regexp
  	      "><img src=[^>]*nav_next\\.gif")
       ,(concat "<a[^>]+?href=" w3m-html-string-regexp
--- 1803,1809 ----
  
  (defcustom w3m-relationship-estimate-rules
    `((w3m-relationship-simple-estimate
!      "\\`http://\\(?:www\\|blogsearch\\|groups\\|news\\)\\.google\\.[^/]+/\\(?:\\(?:blog\\|code\\)?search\\|groups\\|news\\)"
       ,(concat "<a[^>]+?href=" w3m-html-string-regexp
  	      "><img src=[^>]*nav_next\\.gif")
       ,(concat "<a[^>]+?href=" w3m-html-string-regexp