Hello:
I’m writing an iOS client to the Open Library. I’m new to JSON and REST, and do
not see a way to specify which fields to return on query by author name.
I currently use a query like
https://openlibrary.org/search/authors.json?q=Tolkien
to search by author name. This may not be the best approach.
When I try a query like
https://openlibrary.org/query.json?type=type/author&name=Tolkein
I get the empty set.
A query using the Search API like:
http://openlibrary.org/search.json?author=tolkien
<http://openlibrary.org/search.json?author=tolkien>
returns a list of books whose authors match the name. That is not what I want
at all.
I intend to touch the database as lightly as I can. I would like to include
author thumbnails in the result list. It looks to me as though I would have to
retrieve the Author object before I have the author photo ID. I would like to
find a way to do it without an extra round-trip.
The author search on the web page does not return author thumbnails. Is that
because getting the thumbnail is expensive or merely awkward?
Am I going about this the right way? Can anyone suggest a better approach?
Thanks in advance for any light anyone can shed.
Regards,
Bob Wakefield
> On Feb 9, 2016, at 06:00 , [email protected] wrote:
>
> Send Ol-tech mailing list submissions to
> [email protected]
>
> To subscribe or unsubscribe via the World Wide Web, visit
> http://mail.archive.org/cgi-bin/mailman/listinfo/ol-tech
> or, via email, send a message with subject or body 'help' to
> [email protected]
>
> You can reach the person managing the list at
> [email protected]
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of Ol-tech digest..."
>
>
> Today's Topics:
>
> 1. Re: Bringing our archive home (Dan Scott)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Mon, 8 Feb 2016 17:05:26 -0500
> From: Dan Scott <[email protected]>
> To: Open Library -- technical discussion <[email protected]>
> Subject: Re: [ol-tech] Bringing our archive home
> Message-ID:
> <CAJcoVMhjp-PJgsPidKCT1pYOv7byyqb3Xv6=nkmkfxo0cem...@mail.gmail.com>
> Content-Type: text/plain; charset="utf-8"
>
> On Sat, Jan 30, 2016 at 10:44 AM, Tom Morris <[email protected]> wrote:
>
>> On Fri, Jan 29, 2016 at 7:24 PM, Karen Coyle <[email protected]> wrote:
>>
>>> Interesting article in the Code4Lib journal this issue - a library that
>>> has used the archive to archive their materials, but also wanted local
>>> access:
>>>
>>> http://journal.code4lib.org/articles/11131
>>
>>
>> Thanks for forwarding. The OpenLibrary "Search Inside" feature searches
>> across multiple items, so I'm not sure about their assertion that they
>> would have had to search a single item at a time.
>>
>> Perhaps the ability to restrict "Search Inside" to the items of a single
>> collection would have given them the bulk of the functionality that they
>> were looking for.
>>
>
> As far as I've been able to tell, archive.org does not let you search
> across the full-text of a single collection... which is why I built a
> similar "harvest the items from a given archive.org collection and build a
> full-text search engine on top of it" project a few years back:
> https://gitlab.com/ia-harvester/ia-harvester
>
> Not 100% sure what it has to do with OpenLibrary but it's nice to express
> functional requirements somewhere in the open :)
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL:
> <http://mail.archive.org/cgi-bin/mailman/private/ol-tech/attachments/20160208/4433b243/attachment.html>
>
> ------------------------------
>
> Subject: Digest Footer
>
> _______________________________________________
> Ol-tech mailing list
> [email protected]
> http://mail.archive.org/cgi-bin/mailman/listinfo/ol-tech
> To unsubscribe from this mailing list, send email to
> [email protected]
>
>
> ------------------------------
>
> End of Ol-tech Digest, Vol 96, Issue 2
> **************************************
_______________________________________________
Ol-tech mailing list
[email protected]
http://mail.archive.org/cgi-bin/mailman/listinfo/ol-tech
Archives: http://www.mail-archive.com/[email protected]/
To unsubscribe from this mailing list, send email to
[email protected]