mirror of
https://github.com/standardebooks/web.git
synced 2025-07-13 18:11:52 -04:00
Add collections and authors RSS/Atom/OPDS feeds
This commit is contained in:
parent
e19847adac
commit
05e0f77b45
19 changed files with 280 additions and 142 deletions
|
@ -322,7 +322,10 @@ class Library{
|
|||
* @return array<string, array<int|string, array<int|string, mixed>>>
|
||||
*/
|
||||
public static function RebuildBulkDownloadsCache(): array{
|
||||
$collator = collator_create( 'en_US' ); // Used for sorting letters with diacritics like in author names
|
||||
$collator = Collator::create('en_US'); // Used for sorting letters with diacritics like in author names
|
||||
if($collator === null){
|
||||
throw new Exceptions\SeException('Couldn\'t create collator object when rebuilding bulk download cache.');
|
||||
}
|
||||
$months = [];
|
||||
$subjects = [];
|
||||
$collections = [];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue