From f2fd5b1db1ed95a75ec4c08732f3071a1921d852 Mon Sep 17 00:00:00 2001 From: Tom Willemse Date: Wed, 20 Aug 2014 23:43:27 +0200 Subject: [PATCH] Update Conkeror webjumps --- conkeror/.conkerorrc/init.js | 40 ++++++++++++++----- .../.conkerorrc/search-engines/archwiki.xml | 1 + conkeror/.conkerorrc/search-engines/ddg.xml | 10 +++++ .../.conkerorrc/search-engines/github.xml | 10 +++++ .../.conkerorrc/search-engines/wordpress.xml | 1 + 5 files changed, 51 insertions(+), 11 deletions(-) create mode 100644 conkeror/.conkerorrc/search-engines/archwiki.xml create mode 100644 conkeror/.conkerorrc/search-engines/ddg.xml create mode 100644 conkeror/.conkerorrc/search-engines/github.xml create mode 100644 conkeror/.conkerorrc/search-engines/wordpress.xml diff --git a/conkeror/.conkerorrc/init.js b/conkeror/.conkerorrc/init.js index 3385ad1..96e712c 100644 --- a/conkeror/.conkerorrc/init.js +++ b/conkeror/.conkerorrc/init.js @@ -7,6 +7,7 @@ load_paths.push("file:///home/slash/projects/cdispass/"); load_paths.push("file:///home/slash/.conkerorrc/site-js/"); load_paths.push("file:///home/slash/.conkerorrc/clark-conkeror/"); theme_load_paths.push("/home/slash/.conkerorrc/themes/"); +opensearch_load_paths.push(make_file("/home/slash/.conkerorrc/search-engines/")); require("clark"); require("cdispass"); @@ -93,15 +94,15 @@ define_webjump("emacswiki", define_webjump("php", "http://www.php.net/manual-lookup.php?pattern=%s&scope=quickref", $alternative="http://www.php.net"); -define_webjump("python", - "http://docs.python.org/search.html?q=%s&check_keywords=yes&area=default", +define_webjump("python2", + "http://docs.python.org/2/search.html?q=%s&check_keywords=yes&area=default", + $alternative="http://www.python.org"); +define_webjump("python3", + "http://docs.python.org/3/search.html?q=%s&check_keywords=yes&area=default", $alternative="http://www.python.org"); define_webjump("pypi", "https://pypi.python.org/pypi?%3Aaction=search&term=%s&submit=search", $alternative="https://pypi.python.org"); -define_webjump("ddg", - "https://duckduckgo.com/?q=%s", - $alternative="https://duckduckgo.com"); define_webjump("metal-archives", "http://www.metal-archives.com/search?searchString=%s&type=band_name", $alternative="http://www.metal-archives.com"); @@ -113,9 +114,6 @@ define_webjump("djangodocs1.5", $alternative="https://docs.djangoproject.com/en/1.5/"); define_webjump("google", "https://duckduckgo.com?q=!google%%20%s"); -define_webjump("github", - "https://github.com/search?q=%s&type=Everything&repo=&langOverride=&start_value=1", - $alternative="https://github.com"); define_webjump("mdn", "https://developer.mozilla.org/en-US/search?q=%s", $alternative="https://developer.mozilla.org/"); @@ -124,16 +122,36 @@ define_webjump("monsterhunter", $alternative="http://monsterhunter.wikia.com/"); define_webjump("quickdocs", "http://quickdocs.org/search?q=%s", $alternative="http://quickdocs.org/"); +define_webjump("jquery", "http://api.jquery.com/?s=%s", + $alternative="http://jquery.com"); +define_webjump("l1sp", "http://l1sp.org/search?q=%s", + $alternative="http://l1sp.org/"); +define_webjump("tvdb", "http://thetvdb.com/?string=%s&searchseriesid=&tab=listseries&function=Search", + $alternative="http://thetvdb.com"); +define_webjump("clhs", "http://www.xach.com/clhs?q=%s", + $alternative="http://www.lispworks.com/documentation/HyperSpec/Front/"); +define_webjump("cliki", "http://www.cliki.net/admin/ssearch?words=%s", + $alternative="http://www.cliki.net"); +define_webjump("gems", "https://rubygems.org/search?utf8=%E2%9C%93&query=%s", + $alternative="https://rubygems.org/"); // Archlinux -define_webjump("arch/wiki", - "https://wiki.archlinux.org/index.php?search=%s", - $alternative="https://wiki.archlinux.org"); define_webjump("arch/aur", "https://aur.archlinux.org/packages.php?O=0&K=%s&do_Search=Go", $alternative="https://aur.archlinux.org"); define_webjump("arch/packages", "https://www.archlinux.org/packages/?sort=&q=%s&limit=50", $alternative="https://packages.archlinux.org"); +define_webjump("explainshell", + "http://www.explainshell.com/explain?cmd=%s", + $alternative="http://www.explainshell.com"); +define_webjump("thetvdb", + "http://thetvdb.com/?string=%s&searchseriesid=&tab=listseries&function=Search", + $alternative="http://thetvdb.com"); + +define_opensearch_webjump("ddg", "ddg.xml"); +define_opensearch_webjump("archwiki", "archwiki.xml"); +define_opensearch_webjump("github", "github.xml"); +define_opensearch_webjump("wordpress", "wordpress.xml"); /// Chickadee // From http://conkeror.org/Webjumps diff --git a/conkeror/.conkerorrc/search-engines/archwiki.xml b/conkeror/.conkerorrc/search-engines/archwiki.xml new file mode 100644 index 0000000..eaa343f --- /dev/null +++ b/conkeror/.conkerorrc/search-engines/archwiki.xml @@ -0,0 +1 @@ +ArchWiki (en)ArchWiki (en)https://wiki.archlinux.org/favicon.icohttps://wiki.archlinux.org/index.php/Special:Search \ No newline at end of file diff --git a/conkeror/.conkerorrc/search-engines/ddg.xml b/conkeror/.conkerorrc/search-engines/ddg.xml new file mode 100644 index 0000000..c6fd081 --- /dev/null +++ b/conkeror/.conkerorrc/search-engines/ddg.xml @@ -0,0 +1,10 @@ + + + DuckDuckGo + Search DuckDuckGo + UTF-8 + DuckDuckGo Search + data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAMAAAAoLQ9TAAAABGdBTUEAALGPC/xhBQAAACBjSFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAB8lBMVEUAAADkRQzjPwPjQQXkRQ3iPwTiQQXgPQPeQgrcOwPVNgDVNQDWOgbTMwDRMgDQMwDSMwDRNwTQLgDRJgDSJwDSLgDSNwTjOgDiOADjOQDkPADhQAXzs5v+/fv////0vKbiRQvgPQHpdUr85NzuknPdKgDcIwDnZzj2w7HqeU/gPQLsimb/+PftjWn97Obpb0LdJQDeLQDtjmvsi2jgSBDnbULgOQD/39HgLQDeMgDpeFLgSBH0v670uqbaJQD2qImWvP/G1Ob5+/3u//+fvvXyp47dMwDaLwD0u6v0v6/aNQDiXi/aKQD3qozU7/8gSY2vvtg0ZK/OqLDaKQHYKgLgWTfaNADZMgDZMADZLADzqpD7//+xwdz//9H/5Bn/7Bn//ADofADYMADYMQDZOgPXLgDiZDj//97/0AD3tQDvlgHZOgbXLATXMADWMgDfXjLVLQD///z+0AD/3Rn/yRnwnQDcVjbVMQDyv67wuKTSJwDRHQD+8O/tg3/iQQDwhAHnawHWMADvtKfyva7XQxHga0bQGQD2vbH/u8LXIQCmPQzja07XQxLliGn99fPkcVHvhnGZ5VguvUU5wktBwCcAgxzydVv/8/XmiGngdlL+ysi3+I8LtCE80V6P3YmX4sDleljSNQLzr6D7sKPXNQTSIwAEAbMrAAAAF3RSTlMARqSkRvPz80PTpKRG3fPe3hio9/eoGP50jNsAAAABYktHRB5yCiArAAAAyElEQVQYGQXBvUqCYRiA4fu2V9Tn+UQddI3aCpxaOoU6iU4gcqqpoYbALXBuCuoYmttamqJDiEoh4YP+MOi6BNCh+uYKEGiOVNCXXxA2XDVV/UyfKbRCXTLQWAxbP2vt8Ue/uYDvfim91615sb2um6rqtrr/NFb1cUf1Ybd06areU6lSlYpK79jzK1SyJOkfhOl8JGEcqV5zoKrTRqO6yUzIzNu46ijdM1VV9bhuUJ/nZURExLRzUiPQm3kKXHi4BAEGOmOi78A/L1QoU/VHoTsAAAAldEVYdGRhdGU6Y3JlYXRlADIwMTQtMDEtMTlUMjA6MDE6MTEtMDU6MDAuET6cAAAAJXRFWHRkYXRlOm1vZGlmeQAyMDE0LTAxLTE5VDIwOjAxOjExLTA1OjAwX0yGIAAAAABJRU5ErkJggg== + + + diff --git a/conkeror/.conkerorrc/search-engines/github.xml b/conkeror/.conkerorrc/search-engines/github.xml new file mode 100644 index 0000000..a2e25b1 --- /dev/null +++ b/conkeror/.conkerorrc/search-engines/github.xml @@ -0,0 +1,10 @@ + + + GitHub + Search GitHub + UTF-8 + https://github.com/favicon.ico + + https://github.com/search + diff --git a/conkeror/.conkerorrc/search-engines/wordpress.xml b/conkeror/.conkerorrc/search-engines/wordpress.xml new file mode 100644 index 0000000..a1b5d2a --- /dev/null +++ b/conkeror/.conkerorrc/search-engines/wordpress.xml @@ -0,0 +1 @@ +Codex (en)Codex (en)http://codex.wordpress.org/favicon.icohttp://codex.wordpress.org/Special:Search \ No newline at end of file