From: Marcin Koziej Date: Mon, 2 Apr 2012 10:23:49 +0000 (+0200) Subject: Merge branch 'master' of github.com:fnp/wolnelektury X-Git-Url: https://git.mdrn.pl/wolnelektury.git/commitdiff_plain/e5e8226c4d4bd610de5983e69b1b13684a17fe75?hp=bffd657027cd14b425c6c0a598992e6d14b82b35 Merge branch 'master' of github.com:fnp/wolnelektury --- diff --git a/apps/opds/views.py b/apps/opds/views.py index 5a9e44a41..ec93da138 100644 --- a/apps/opds/views.py +++ b/apps/opds/views.py @@ -370,6 +370,11 @@ class SearchFeed(AcquisitionFeed): author = request.GET.get('author', '') title = request.GET.get('title', '') translator = request.GET.get('translator', '') + + # Our client didn't handle the opds placeholders + if author == '{atom:author}': author = '' + if title == '{atom:title}': title = '' + if translator == '{atom:contributor}': translator = '' categories = None fuzzy = False diff --git a/lib/librarian b/lib/librarian index b8e34e0e6..9e13b0c99 160000 --- a/lib/librarian +++ b/lib/librarian @@ -1 +1 @@ -Subproject commit b8e34e0e6730ef76a353a15ff653faa9e8c88a77 +Subproject commit 9e13b0c994e9d481008bef7006a74609adfd16f8 diff --git a/wolnelektury/static/opensearch.xml b/wolnelektury/static/opensearch.xml index 1e05889ad..8ccdd269b 100644 --- a/wolnelektury/static/opensearch.xml +++ b/wolnelektury/static/opensearch.xml @@ -1,6 +1,7 @@ + xmlns:atom="http://www.w3.org/2005/Atom" + xmlns:moz="http://www.mozilla.org/2006/browser/search/"> Wolne Lektury WolneLektury.pl, szkolna biblioteka internetowa. UTF-8