diff options
author | Lionel Chauvin <megabigbug@yahoo.fr> | 2011-02-17 17:08:24 +0100 |
---|---|---|
committer | Andrea Diamantini <adjam7@gmail.com> | 2011-02-17 17:09:03 +0100 |
commit | 9f201fd21c16a0aeeb5294dc135cce9b3d95c15d (patch) | |
tree | 8da8f38ed574f294b95eb72f050faba84ac969fe | |
parent | Cleans up TabHighLightEffects indentation (diff) | |
download | rekonq-9f201fd21c16a0aeeb5294dc135cce9b3d95c15d.tar.xz |
Add opensearch description file for bing and yahoo suggestions
-rw-r--r-- | src/data/CMakeLists.txt | 26 | ||||
-rw-r--r-- | src/data/bing.xml | 8 | ||||
-rw-r--r-- | src/data/yahoo.xml | 8 |
3 files changed, 30 insertions, 12 deletions
diff --git a/src/data/CMakeLists.txt b/src/data/CMakeLists.txt index f34936b4..cde938c3 100644 --- a/src/data/CMakeLists.txt +++ b/src/data/CMakeLists.txt @@ -1,37 +1,39 @@ # image files -INSTALL( - FILES +INSTALL( + FILES bg2.png bg.png tile.gif category.png button.png - busywidget.gif loading.mng + busywidget.gif loading.mng webkit-icon.png DESTINATION ${DATA_INSTALL_DIR}/rekonq/pics ) # default bookmarks -INSTALL( - FILES +INSTALL( + FILES defaultbookmarks.xbel DESTINATION ${DATA_INSTALL_DIR}/rekonq ) # .desktop file -INSTALL( - PROGRAMS rekonq.desktop +INSTALL( + PROGRAMS rekonq.desktop DESTINATION ${XDG_APPS_INSTALL_DIR} ) # htmls -INSTALL( - FILES - rekonqinfo.html +INSTALL( + FILES + rekonqinfo.html home.html DESTINATION ${DATA_INSTALL_DIR}/rekonq/htmls ) # opensearch engines -INSTALL( - FILES +INSTALL( + FILES beolingus.xml + bing.xml + yahoo.xml de2en.xml dictfr.xml facebook.xml diff --git a/src/data/bing.xml b/src/data/bing.xml new file mode 100644 index 00000000..5c18a651 --- /dev/null +++ b/src/data/bing.xml @@ -0,0 +1,8 @@ +<?xml version="1.0" encoding="UTF-8"?> +<OpenSearchDescription xmlns="http://a9.com/-/spec/opensearch/1.1/"> + <ShortName>Bing</ShortName> + <Description>Use the Bing Decision Engine to search the Web.</Description> + <Url method="get" type="text/html" template="http://www.bing.com/search?q={searchTerms}&FORM=MO0001"/> + <Url method="get" type="application/x-suggestions+xml" template="http://api.search.live.com/qsml.aspx?query={searchTerms}"/> + <Image width="16" height="16">http://www.bing.com/s/wlflag.ico</Image> +</OpenSearchDescription> diff --git a/src/data/yahoo.xml b/src/data/yahoo.xml new file mode 100644 index 00000000..d769ef25 --- /dev/null +++ b/src/data/yahoo.xml @@ -0,0 +1,8 @@ +<?xml version="1.0" encoding="UTF-8"?> +<OpenSearchDescription xmlns="http://a9.com/-/spec/opensearch/1.1/"> + <ShortName>Yahoo!</ShortName> + <Description>Yahoo! Web Search</Description> + <Url method="get" type="text/html" template="http://{country}.search.yahoo.com/search?p={searchTerms}&ie=utf-8"/> + <Url method="get" type="application/x-suggestions+json" template="http://ff.search.yahoo.com/gossip?output=fxjson&command={searchTerms}"/> + <Image width="16" height="16">http://www.yahoo.com/favicon.ico</Image> +</OpenSearchDescription> |