mirror of
https://github.com/Yetangitu/owncloud-apps.git
synced 2025-10-02 14:49:17 +02:00
files_opds: who on earth writes overlong copyright statements in metadata? Cap it to 256 characters...
This commit is contained in:
parent
3fbee24f8e
commit
ecd5855990
2 changed files with 3 additions and 3 deletions
|
@ -10,7 +10,7 @@
|
|||
The feed is in compliance with the OPDS 1.1 specification according to the online OPDS validator (http://opds-validator.appspot.com/).
|
||||
</description>
|
||||
<licence>AGPL</licence>
|
||||
<version>0.6.11</version>
|
||||
<version>0.6.12</version>
|
||||
<author>Frank de Lange</author>
|
||||
<requiremin>8.1</requiremin>
|
||||
<shipped>false</shipped>
|
||||
|
|
|
@ -92,7 +92,7 @@ class Meta
|
|||
$meta['language'],
|
||||
$meta['publisher'],
|
||||
preg_replace('/[^0-9xX]/','',$meta['isbn']),
|
||||
$meta['copyright'],
|
||||
mb_strimwidth($meta['copyright'],0,252,'...'),
|
||||
mb_strimwidth($meta['description'],0,2044,'...'),
|
||||
$meta['subjects'],
|
||||
$meta['cover'],
|
||||
|
@ -111,7 +111,7 @@ class Meta
|
|||
$meta['language'],
|
||||
$meta['publisher'],
|
||||
preg_replace('/[^0-9xX]/','',$meta['isbn']),
|
||||
$meta['copyright'],
|
||||
mb_strimwidth($meta['copyright'],0,252,'...'),
|
||||
mb_strimwidth($meta['description'],0,2044,'...'),
|
||||
$meta['subjects'],
|
||||
$meta['cover'],
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue