Jennifer Smith

Cat Scat DNA

The EOL Profile Newsfeed contains comments left for its owner by other members, EOL Community invitations, and gathers updates associated with the items in the owner's EOL watch list.

Add a new comment

  • Profile picture of Nathan Wilson who took this action.

    Nathan Wilson commented on "EOL API Discussion Group":

    Just fixed the example image. I believe the intent is to make the cropping available to all curators including assistant curators.

    over 1 year ago

  • Profile picture of Yan Wong who took this action.

    Yan Wong commented on "EOL API Discussion Group":

    @Jeff Holmes:

    Sure - it's from http://eol.org/data_objects/5902712

    For the majority, I think a single version is good enough. Maybe the tool should be available to curators?

    Out of interest, are you likely to rename the thumbnails to "small_square", "small_proportional", or the like? I don't have strong views on the matter, though, and I guess you could just provide both options via redirects

    over 1 year ago • edited: over 1 year ago

  • Profile picture of Jeff Holmes who took this action.

    Jeff Holmes commented on "EOL API Discussion Group":

    @Yan Wong: We do have a tool that is available to admin users that does let us adjust thumbnails but only one version can be saved. I'll have a go at fixing the one you mentioned... Can you provide a link to that page?

    over 1 year ago

  • Profile picture of Jeff Holmes who took this action.

    Jeff Holmes commented on "EOL API Discussion Group":

    @Yan Wong: I encourage the building of tools on EOL to let users add value to content that is aggregated. For images, I'd like to see an editor that enables a user to crop a thumbnail as desired and save their version back to EOL for others to use as well. Currently, we have 2 sizes of thumbnails with the ability to have only one version of each - it would be nice to have more options available.

    over 1 year ago

  • Profile picture of Yan Wong who took this action.

    Yan Wong commented on "EOL API Discussion Group":

    @Roderic Page:

    With reference to thumbnails, there are (of course) some unfortunate effects of creating non-proportional thumbnails. Here's an amusing one: http://media.eol.org/content/2012/06/15/04/39036_130_130.jpg.

    In this case the effect is avoidable, I think. Is there any way for curators to change the centering of individual thumbnails for specific pictures on EoL, so as to override the default options? For people using thumbnails, that might save some duplication of effort in looking through thumbnails to see which are sensible and which are not.

    Of course, a nicer way to do this would be to pick the centre of the image programmatically, but I guess that's staggeringly hard, even if the task is just confined to vertebrates.

    over 1 year ago

  • Profile picture of Jeff Holmes who took this action.

    Jeff Holmes commented on "EOL API Discussion Group":

    @Patrick Leary: I think what we need is an email option in the account settings that says "I want to receive technical notifications from EOL". That way developers could be notified beforehand as well so they would have a chance to monitor the changes more closely.

    over 1 year ago

  • Profile picture of Patrick Leary who took this action.

    Patrick Leary commented on "EOL API Discussion Group":

    @Roderic Page: The API changed in that an new optional parameter cache_ttl was added, but that should not have any impact on existing use of the API. The cache_ttl parameter is optional, and the responses from all requests that choose not to use it should not have changed.

    I just tried a few uses of cURL with no problem. On the command line:
    curl http://eol.org/api/search_by_provider/1.0/180542?hierarchy_id=903

    And in PHP (using PHP 5.3.15):
    $ch = curl_init();
    curl_setopt($ch, CURLOPT_URL, 'http://eol.org/api/search_by_provider/1.0/180542.json?hierarchy_id=903');
    curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
    $result = json_decode(curl_exec($ch));
    echo $result[0]->eol_page_id."\n";

    Can you provide an example where you are seeing a problem? As for announcing API changes I agree we need better communication. This was part of the reason we developed a forum, and that forum does include a post about the new cache_ttl parameter. I realize I did not make a similar post to this group, so I will make sure to share information about API releases more widely next time.

    over 1 year ago • edited: over 1 year ago

  • Profile picture of Roderic Page who took this action.

    Roderic Page commented on "EOL API Discussion Group":

    Argh, the API has changed, causing me to waste time trying to debug code that worked previously.
    Turns out I now need to add now need to add &cache_ttl= to http://eol.org/api/docs/search_by_provider API to get anything back if I'm calling the API from a script (e.g. cURL in PHP).
    Guys, can please we have some way of being notified of these changes?

    over 1 year ago

  • Profile picture of Tom Devitt who took this action.
    Tom Devitt joined the community "EOL Photographers".

    over 1 year ago

  • Profile picture of Devendra Kumar Maravi who took this action.
    Devendra Kumar Maravi joined the community "EOL Photographers".

    over 1 year ago

  • Profile picture of Roderic Page who took this action.

    Roderic Page commented on "EOL API Discussion Group":

    @Patrick Leary: HI Patrick, you're right I can do everything here, but if square images are available from EOL it would save a little effort at my end. If you have 88x88 and 130x130 available then listing those URLs would be helpful. Maybe they could be more cleanly rewritten as "small" and "medium" so if you decide that some other size works better, users won't have to rewrite their API client code (maybe the URLs could also specify whether the image was square or proportional).

    over 1 year ago

  • Profile picture of Patrick Leary who took this action.

    Patrick Leary commented on "EOL API Discussion Group":

    @Roderic Page: replacing the end of the file name with _88_88, or _130_130 should always work... for now. How would you prefer to get the list of images sizes? Should they always be returned with the data object, or conditionally based on a parameter, or would you want there to be a separate method just for image sizes?

    We have a set number of predefined image sizes which are generated and saved to disk - we don't offer any dynamic image resizing services. If we exposed all the image size URLs (2 square, 3 proportionally scaled, and the original) do you still think there would be a need for us to offer a service that accepts user-defined image sizes? For our purposes the pre-generated sizes are sufficient for most needs. More advanced users like yourself could generate their own custom sizes, and others could find a close-enough size and use CSS to scale the image (not ideal but since we have a few options hopefully there isn't a huge amount of wasted bandwidth when downloading something slightly larger than they need). I guess I'm wondering if you think this is a service EOL should offer (essentially a hosted imagemagick) or something the user could do themselves by chaining together services.

    over 1 year ago

  • Profile picture of Roderic Page who took this action.

    Roderic Page commented on "EOL API Discussion Group":

    The ability to grab a square thumbnail image for a taxon would be handy. As far as I can tell EOL doesn't provide this via the API, so I end up grabbing the full image, then centring (using ImageMagick's notion of "gravity") and resizing it. Square images have all sorts of uses, including mobile apps (I use them my iPad interface to EOL).

    EOL's web pages display square thumbnails that seem to all end in "_88_88.jpg" (e.g., http://media.eol.org/content/2013/02/03/12/43681_88_88.jpg ). Obviously this is an awful hack, but is there any reason not to construct equivalent URLs for other images and grab those? It would be much easier there was an API call to retrieve a square thumbnail, either of predefined size or user specified.

    over 1 year ago

  • Profile picture of George Sims who took this action.
    George Sims joined the community "EOL Discussion Group".

    over 1 year ago

  • Profile picture of Cyndy Parr who took this action.

    Cyndy Parr commented on "EOL API Discussion Group":

    @Yan Wong: We might have to change more than the harvesting code for Wikimedia if these are license values that the rest of EOL isn't set up to handle. We can add it to our queue but I don't know how quickly our developers will get to it. Harvesting code for Wikimedia might be on Github, which would mean that it is open source code others could potentially update.

    over 1 year ago

  • Profile picture of 一凡 王 who took this action.
    一凡 王 joined the community "EOL Learning and Education Community".

    over 1 year ago

  • Profile picture of Amin Sorbi who took this action.
    Amin Sorbi joined the community "EOL Photographers".

    over 1 year ago

  • Profile picture of Cyndy Parr who took this action.

    Cyndy Parr commented on "EOL API Discussion Group":

    @Barb Banbury: I don't see a ticket in our system for this. I'll add it -- if it is considered a bug it might get fixed on Monday (our bug fix day) but I can't promise. Can you work around it?

    over 1 year ago

  • Profile picture of Barb Banbury who took this action.

    Barb Banbury commented on "EOL API Discussion Group":

    I know this has been mentioned, but I thought I would add that I am waiting for a fix on the taxon search without quotes as well. For example, http://eol.org/api/search/1.0.xml?q=Ursus+arctos&page=1&exact=true should return he same as http://eol.org/api/search/1.0.xml?q=%22Ursus+arctos%22&page=1&exact=true, but it doesn't.

    over 1 year ago

  • Profile picture of Tracy  Barbaro who took this action.

    Tracy Barbaro commented on "EOL Learning and Education Community":

    @Sam Owens: Hi Sam! Welcome to the Learning and Education Community! Please check out the community links (just updated them today!) and let us know if we can be of any help. We'd love to hear your ideas about how to use EOL in the classroom!

    over 1 year ago