From 98a11b1afa8d82d4843705f6ffff799b1eeaed50 Mon Sep 17 00:00:00 2001 From: Marcin Koziej Date: Tue, 13 Dec 2011 11:27:26 +0100 Subject: [PATCH] documentation --- apps/opds/views.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/apps/opds/views.py b/apps/opds/views.py index cd91a743f..44baf5b2a 100644 --- a/apps/opds/views.py +++ b/apps/opds/views.py @@ -332,7 +332,11 @@ class SearchFeed(AcquisitionFeed): def get_object(self, request): """ For OPDS 1.1 We should handle a query for search terms - and atom:author, atom:contributor, atom:title + and criteria provided either as opensearch or 'inline' query. + OpenSearch defines fields: atom:author, atom:contributor (treated as translator), + atom:title. Inline query provides author, title, categories (treated as book tags), + description (treated as content search terms). + if search terms are provided, we shall search for books according to Hint information (from author & contributror & title). -- 2.20.1