Generates URL for xml request
Generates URL for JSON request to get book editions
Generates URL for JSON request to get an item
Read book data from cache or generate it by using chosen service.
Sends HTTP Request to AWS, parses the XML content and returns a new array containing needed information for book display.
Gets the available book editions, reads out the first 3 items and chooses the one with most information to return as a new array containing needed information for book display.
Read book data from cache
Sends HTTP Request for things to OpenLibrary, parses the JSON content and returns an array containing found editions of a book.
Read book data from cache or generate it by using chosen service and return compiled output template.
Sends HTTP Request for an item to OpenLibrary, parses the JSON content and returns an array containing the item information.
Read out configuration from database
Get text domain to use for gettext() translations