move to django 1.4 and django-pipeline,
[wolnelektury.git] / apps / wolnelektury_core / static / opensearch.xml
diff --git a/apps/wolnelektury_core/static/opensearch.xml b/apps/wolnelektury_core/static/opensearch.xml
new file mode 100644 (file)
index 0000000..8ccdd26
--- /dev/null
@@ -0,0 +1,20 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<OpenSearchDescription xmlns="http://a9.com/-/spec/opensearch/1.1/"
+                      xmlns:atom="http://www.w3.org/2005/Atom"
+                      xmlns:moz="http://www.mozilla.org/2006/browser/search/">
+    <ShortName>Wolne Lektury</ShortName>
+    <Description>WolneLektury.pl, szkolna biblioteka internetowa.</Description>
+    <InputEncoding>UTF-8</InputEncoding>
+    <Tags>lektury</Tags>
+    <Developer>Fundacja Nowoczesna Polska</Developer>
+    <Language>pl</Language>
+    <Contact>fundacja@nowoczesnapolska.org.pl</Contact>
+    <Image height="16" width="16" type="image/x-icon">http://static.wolnelektury.pl/static/img/favicon.ico</Image>
+    <Image height="64" width="64" type="image/png">http://static.wolnelektury.pl/static/img/wl_icon_64.png</Image>
+    <Url type="application/atom+xml;profile=opds-catalog"
+        template="http://wolnelektury.pl/opds/search/?q={searchTerms}&amp;author={atom:author}&amp;translator={atom:contributor}&amp;title={atom:title}" />
+    <Url type="text/html" method="GET" template="http://wolnelektury.pl/szukaj?q={searchTerms}" />
+    <Url type="application/x-suggestions+json" method="GET" template="http://www.wolnelektury.pl/katalog/jtags?mozhint=1&amp;q={searchTerms}" />
+    <moz:SearchForm>http://wolnelektury.pl/</moz:SearchForm>
+    <Query role="example" searchTerms="sÅ‚owa" />
+</OpenSearchDescription>