[Surfraw-commits] [SCM] surfraw - a fast unix command line interface to WWW branch, master, updated. surfraw_2-2-5_1-132-g254233c

Ian Beckwith ianb at erislabs.net
Mon Oct 25 01:39:09 UTC 2010


The following commit has been merged in the master branch:
commit 3a08de8d6f5c5d99d02b5f8cf64450164e351375
Author: Ian Beckwith <ianb at erislabs.net>
Date:   Mon Oct 25 02:27:21 2010 +0100

    fixed javasun and w3link

diff --git a/ChangeLog b/ChangeLog
index bd9f607..1dc2b2d 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -9,6 +9,8 @@
 	* removed altavista: is now just a front-end to yahoo.
 	* removed fast: another yahoo front-end.
 	* imdb: fix test.
+	* javasun: oracleized URLs.
+	* w3link: fixed URL.
 
 2010-08-22  Jameson Rollins <jrollins at finestructure.net>
 
diff --git a/elvi/javasun b/elvi/javasun
index 2616932..8bbaa7c 100755
--- a/elvi/javasun
+++ b/elvi/javasun
@@ -64,9 +64,9 @@ case "$SURFRAW_java_product" in
 esac
 
 if test -z "$w3_args"; then
-    w3_browse_url "http://java.sun.com/${JAVA_SITE}"
+    w3_browse_url "http://download.oracle.com/${JAVA_SITE}"
 else
     button=`w3_url_escape "I'm Feeling Lucky"`
     escaped_args=`w3_url_of_arg $w3_args`
-    w3_browse_url "http://www.google.com/search?q=${escaped_args}&sitesearch=java.sun.com/${JAVA_SITE}&btnI=${button}"
+    w3_browse_url "http://www.google.com/search?q=${escaped_args}&sitesearch=download.oracle.com/${JAVA_SITE}&btnI=${button}"
 fi
diff --git a/elvi/w3link b/elvi/w3link
index 3e51a6e..9f898b2 100755
--- a/elvi/w3link
+++ b/elvi/w3link
@@ -59,10 +59,10 @@ w3_config
 w3_parse_args "$@"
 # w3_args now contains a list of arguments
 if test -z "$w3_args"; then
-    w3_browse_url "http://validator.w3.org/checklink"
+    w3_browse_url "http://validator.w3.org/checklink/"
 else
     escaped_args=`w3_url_of_arg $w3_args`
-	url="http://validator.w3.org/checklink?uri=${escaped_args}&depth=${SURFRAW_w3link_depth}"
+	url="http://validator.w3.org/checklink/checklink?uri=${escaped_args}&depth=${SURFRAW_w3link_depth}"
 	if [ $SURFRAW_w3link_recurse -eq 1 -o $SURFRAW_w3link_depth -ge 0 ]
 	then
 		url="${url}&recursive=on"

-- 
surfraw -  a fast unix command line interface to WWW



More information about the Surfraw-commits mailing list