[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: About Google Search in EmacsWiki
From: "Lazycat Manatee" <lazycat.manatee@xxxxxxxxx> said
Subject: [emacs-w3m:10101] About Google Search in EmacsWiki
Message-ID: <ee83ff120804171710j73b1fb96i15ac3dfd9bddcf31@xxxxxxxxxxxxxx>
Date: Fri, 18 Apr 2008 08:10:08 +0800
> But today all keyword search in EmacsWiki use Google Search can't jump
> next/previous page automatic.
Thank you your report.
I installed this patch to CVS HEAD and works well.
--- w3m.el 17 Apr 2008 13:40:14 -0000 1.1354
+++ w3m.el 18 Apr 2008 02:06:33 -0000
@@ -1908,9 +1908,11 @@
\\.google\\.[^/]+/\\(?:\\(?:blog\\|code\\)?search\\|groups\\|news\\|images\
\\|cse\\?cx=\\|custom\\?q=\\)"
,(concat "<a[^>]+?href=" w3m-html-string-regexp
- "><img src=[^>]*nav_next\\.gif")
+ ">\\(?:\\(?:<img src=[^>]*nav_next\\.gif\\)"
+ "\\|\\(?:<span>Next</span>\\)\\)")
,(concat "<a[^>]+?href=" w3m-html-string-regexp
- "><img src=[^>]*nav_previous\\.gif")
+ ">\\(?:\\(?:<img src=[^>]*nav_previous\\.gif\\)"
+ "\\|\\(?:<span>Previous</span>\\)\\)")
nil nil)
(w3m-relationship-simple-estimate
"\\`http://beta\\.search\\.yahoo\\.co\\.jp/"
--
Hideyuki SHIRAI (mailto:shirai@xxxxxxxxxxx)