PHP opds/opensearch server itemsperPage don't work -
using php have generated opds/opensearch file. source:
<?xml version="1.0" encoding="utf-8"?> <feed xmlns="http://www.w3.org/2005/atom" xmlns:dc="http://purl.org/dc/terms/" xmlns:opds="http://opds-spec.org/2010/catalog" xmlns:opensearch="http://a9.com/-/spec/opensearch/1.1/" xmlns:relevance="http://a9.com/-/opensearch/extensions/relevance/1.0/"> <title>opds server</title> <id>opds:categories:5</id> <updated>2017-08-15t10:24:23+02:00</updated> <authors> <name>sandra</name> </authors> <link rel="start" href="opds.php" type="application/atom+xml;profile=opds-catalog;kind=navigation" title="home"/> <link rel="self" href="opds.php?page=categories&categoryid=5" type="application/atom+xml;profile=opds-catalog;kind=navigation"/> <link rel="search" href="opds.php?page=search" type="application/opensearchdescription+xml" title="suchen"/> <opensearch:itemsperpage>3</opensearch:itemsperpage> <opensearch:startindex>1</opensearch:startindex> <entry> ......
but xml shows results , not 3. have looking other opds server, don't see issue why opensearch itemsperpage don't work.
when show sourc of http://m.gutenberg.org/ebooks/search.opds/?sort_order=downloads see 2 parameter itemsperpage , startindex. on gutenberg see 25 entries, , opds reader can load more results
Comments
Post a Comment