From 925725bfcf0f3ffba5107949bc8424e1fd6d1902 Mon Sep 17 00:00:00 2001 From: Andrea Diamantini Date: Tue, 21 Dec 2010 21:59:23 +0100 Subject: Icon at the right of the urlbar that allows to add an opensearch engine introduce search icon description file downloaded after validation, not before icons updated when engine added add opensearch xml description files sync desktop file => fix add webshortcut use db_opensearch.json file to track opensearch engines create an opensearch description only when the engine support suggestions remove opensearch description when an engine is deleted in the webshortcut setting dialog popup: disable ok button when webshortcut is already used Lionel Chauvin is the man having done this big, big, big work!! I'm just merging ;) --- src/data/CMakeLists.txt | 12 ++++++++ src/data/beolingus.xml | 8 ++++++ src/data/db_opensearch.json | 67 +++++++++++++++++++++++++++++++++++++++++++++ src/data/de2en.xml | 8 ++++++ src/data/dictfr.xml | 8 ++++++ src/data/facebook.xml | 8 ++++++ src/data/kde_techbase.xml | 8 ++++++ src/data/kde_userbase.xml | 8 ++++++ src/data/voila.xml | 8 ++++++ src/data/wikia.xml | 8 ++++++ src/data/wikipedia.xml | 4 +-- src/data/wiktionary.xml | 8 ++++++ src/data/wr_english.xml | 6 ++++ src/data/youtube.xml | 7 +++++ 14 files changed, 166 insertions(+), 2 deletions(-) create mode 100644 src/data/beolingus.xml create mode 100644 src/data/db_opensearch.json create mode 100644 src/data/de2en.xml create mode 100644 src/data/dictfr.xml create mode 100644 src/data/facebook.xml create mode 100644 src/data/kde_techbase.xml create mode 100644 src/data/kde_userbase.xml create mode 100644 src/data/voila.xml create mode 100644 src/data/wikia.xml create mode 100644 src/data/wiktionary.xml create mode 100644 src/data/wr_english.xml create mode 100644 src/data/youtube.xml (limited to 'src/data') diff --git a/src/data/CMakeLists.txt b/src/data/CMakeLists.txt index 5f499941..f34936b4 100644 --- a/src/data/CMakeLists.txt +++ b/src/data/CMakeLists.txt @@ -31,7 +31,19 @@ INSTALL( # opensearch engines INSTALL( FILES + beolingus.xml + de2en.xml + dictfr.xml + facebook.xml google.xml + kde_techbase.xml + kde_userbase.xml + youtube.xml + voila.xml + wikia.xml wikipedia.xml + wiktionary.xml + wr_english.xml + db_opensearch.json DESTINATION ${DATA_INSTALL_DIR}/rekonq/opensearch ) diff --git a/src/data/beolingus.xml b/src/data/beolingus.xml new file mode 100644 index 00000000..60901163 --- /dev/null +++ b/src/data/beolingus.xml @@ -0,0 +1,8 @@ + + + De-En Beolingus + Beolingus: German-English Dictionary + + + http://dict.tu-chemnitz.de/pics/beo-de.png + diff --git a/src/data/db_opensearch.json b/src/data/db_opensearch.json new file mode 100644 index 00000000..16fc3f89 --- /dev/null +++ b/src/data/db_opensearch.json @@ -0,0 +1,67 @@ +[["http://www.7digital.com/osd.xml","7digital"], +["http://dict.tu-chemnitz.de/de-en/opensearch.xml","beolingus"], +["http://www.blip.tv/opensearch.xml","blip"], +["http://b.static.ak.fbcdn.net/rsrc.php/zJ/r/H2SSvhJMJA-.xml","facebook"], +["http://www.flickr.com/opensearch.xml","flickr"], +["https://github.com/opensearch.xml","github"], +["https://bugs.kde.org/search_plugin.cgi","bugft"], +["http://st.pimg.net/tucs/opensearch.xml","cpan"], + +["http://citeseerx.ist.psu.edu/search_plugins/citeseerx_general.xml","citeseerx"], +["http://citeseerx.ist.psu.edu/search_plugins/citeseerx_authorl.xml","citeseerx"], +["http://citeseerx.ist.psu.edu/search_plugins/citeseerx_title.xml","citeseerx"], + +["http://identi.ca/opensearch/people","identica_people"], +["http://identi.ca/opensearch/notice","identica_notices"], + +["http://www.cnrtl.fr/portail/opensearch.xml","dictfr"], + +["http://www.youtube.com/opensearch?locale=en_GB","youtube"], +["http://static1.urbandictionary.com/osd.xml?1292027099","urbandictionary"], + +["http://www.wordreference.com/tools/OpenSearch/enes.xml","en2es"], +["http://www.wordreference.com/tools/OpenSearch/esen.xml","es2en"], +["http://www.wordreference.com/tools/OpenSearch/enfr.xml","en2fr"], +["http://www.wordreference.com/tools/OpenSearch/fren.xml","fr2en"], +["http://www.wordreference.com/tools/OpenSearch/enit.xml","en2it"], +["http://www.wordreference.com/tools/OpenSearch/iten.xml","it2en"], +["http://www.wordreference.com/tools/OpenSearch/definition.xml","wordref"], +["http://dict.tu-chemnitz.de/de-en/opensearch.xml","de2en"], +["http://www.dict.cc/opensearch.xml","en2de"], +["http://dict.leo.org/plugins/Shared/Searches/leo_frde_de.xml","fr2de"], +["http://dict.leo.org/plugins/Shared/Searches/leo_ende_de.xml","leo"], + +["http://opensearch.search.ke.voila.fr/voila.xml","voila"], +["http://www.wikia.com/opensearch_desc.php","wikia"], + +["http://techbase.kde.org/opensearch_desc.php","kde_techbase"], +["http://userbase.kde.org/opensearch_desc.php","kde_userbase"], + +["http://duckduckgo.com/opensearch.xml","duckduckgo"], + +["http://ecosia.org/_files/searchplugin.xml","ecosia"], + +["http://fr.wikipedia.org/w/opensearch_desc.php","wikipedia"], +["http://en.wikipedia.org/w/opensearch_desc.php","wikipedia"], +["http://it.wikipedia.org/w/opensearch_desc.php","wikipedia"], +["http://de.wikipedia.org/w/opensearch_desc.php","wikipedia"], +["http://es.wikipedia.org/w/opensearch_desc.php","wikipedia"], +["http://nl.wikipedia.org/w/opensearch_desc.php","wikipedia"], +["http://pl.wikipedia.org/w/opensearch_desc.php","wikipedia"], +["http://ja.wikipedia.org/w/opensearch_desc.php","wikipedia"], +["http://ru.wikipedia.org/w/opensearch_desc.php","wikipedia"], +["http://pt.wikipedia.org/w/opensearch_desc.php","wikipedia"], + +["http://fr.wiktionary.org/w/opensearch_desc.php","wiktionary"], +["http://en.wiktionary.org/w/opensearch_desc.php","wiktionary"], +["http://it.wiktionary.org/w/opensearch_desc.php","wiktionary"], +["http://de.wiktionary.org/w/opensearch_desc.php","wiktionary"], +["http://es.wiktionary.org/w/opensearch_desc.php","wiktionary"], +["http://nl.wiktionary.org/w/opensearch_desc.php","wiktionary"], +["http://pl.wiktionary.org/w/opensearch_desc.php","wiktionary"], +["http://ja.wiktionary.org/w/opensearch_desc.php","wiktionary"], +["http://ru.wiktionary.org/w/opensearch_desc.php","wiktionary"], +["http://pt.wiktionary.org/w/opensearch_desc.php","wiktionary"], + +["http://search.yippy.com/search?v:project=opensearch-desc&v:frame=form&","yippy"], +["http://www.wolframalpha.com/searchDescription.xml","wolfram_alpha"]] \ No newline at end of file diff --git a/src/data/de2en.xml b/src/data/de2en.xml new file mode 100644 index 00000000..60901163 --- /dev/null +++ b/src/data/de2en.xml @@ -0,0 +1,8 @@ + + + De-En Beolingus + Beolingus: German-English Dictionary + + + http://dict.tu-chemnitz.de/pics/beo-de.png + diff --git a/src/data/dictfr.xml b/src/data/dictfr.xml new file mode 100644 index 00000000..64e90ea3 --- /dev/null +++ b/src/data/dictfr.xml @@ -0,0 +1,8 @@ + + + Portail Lexical - CNRTL + Cherche dans le TLF sur le portail lexical du CNRTL + + + http://www.cnrtl.fr/favicon.ico + diff --git a/src/data/facebook.xml b/src/data/facebook.xml new file mode 100644 index 00000000..612e7cd0 --- /dev/null +++ b/src/data/facebook.xml @@ -0,0 +1,8 @@ + + + Facebook + Search Facebook + + + http://www.facebook.com/favicon.ico + diff --git a/src/data/kde_techbase.xml b/src/data/kde_techbase.xml new file mode 100644 index 00000000..25fc6e4c --- /dev/null +++ b/src/data/kde_techbase.xml @@ -0,0 +1,8 @@ + + + KDE TechBase (en) + KDE TechBase (en) + + + http://techbase.kde.org/favicon.ico + diff --git a/src/data/kde_userbase.xml b/src/data/kde_userbase.xml new file mode 100644 index 00000000..64877019 --- /dev/null +++ b/src/data/kde_userbase.xml @@ -0,0 +1,8 @@ + + + KDE UserBase (en) + KDE UserBase (en) + + + http://userbase.kde.org/favicon.png + diff --git a/src/data/voila.xml b/src/data/voila.xml new file mode 100644 index 00000000..55780275 --- /dev/null +++ b/src/data/voila.xml @@ -0,0 +1,8 @@ + + + Voila + Moteur de recherche Voila + + + http://www.voila.fr/favicon.ico + diff --git a/src/data/wikia.xml b/src/data/wikia.xml new file mode 100644 index 00000000..0a1eac69 --- /dev/null +++ b/src/data/wikia.xml @@ -0,0 +1,8 @@ + + + Wikia (en) + Wikia (en) + + + http://images.wikia.com/wikiaglobal/images/6/64/Favicon.ico + diff --git a/src/data/wikipedia.xml b/src/data/wikipedia.xml index 4e152087..9f9bdda4 100644 --- a/src/data/wikipedia.xml +++ b/src/data/wikipedia.xml @@ -2,7 +2,7 @@ Wikipedia Wikipedia - - + + http://en.wikipedia.org/favicon.ico diff --git a/src/data/wiktionary.xml b/src/data/wiktionary.xml new file mode 100644 index 00000000..033f5b9e --- /dev/null +++ b/src/data/wiktionary.xml @@ -0,0 +1,8 @@ + + + Wiktionary + Wiktionary + + + http://en.wiktionary.org/favicon.ico + diff --git a/src/data/wr_english.xml b/src/data/wr_english.xml new file mode 100644 index 00000000..30c9339b --- /dev/null +++ b/src/data/wr_english.xml @@ -0,0 +1,6 @@ + + + WR English + WordReference monolingual English dictionary search + + diff --git a/src/data/youtube.xml b/src/data/youtube.xml new file mode 100644 index 00000000..1fa8338a --- /dev/null +++ b/src/data/youtube.xml @@ -0,0 +1,7 @@ + + + Recherche de vidéos YouTube + Recherche de vidéos sur YouTube + + http://www.youtube.com/favicon.ico + -- cgit v1.2.1