February 17, 2024

'Embedding' observations using an iFrame

HOW TO
Paste the following iframe code into your iNat journal (or other website page), change the '0000' to the id number for the observation you wish to display.

<iframe height="172px" width="100%" frameBorder="0"
src="https://inat-obs-embed.glitch.me/?obs_id=0000"></iframe>

OPTIONS
height - vertical dimension of the iframe, '172px' should be perfect for most cases. Adjust as required, if it's too small a scroll bar will appear on the right side
width - horizontal dimension of the iframe, adjust as required, either as an exact dimension in pixels(px) or as a percentage(%) of the available space.
frameBorder - 1 or 0, view or hide the iframe border. See examples below
scr - must have https://inat-obs-embed.glitch.me/?obs_id=0000 where 0000 is changed to the required observation ID.
    - optional: add &date_format=us to change the date format to 'DD Month, YYYY, the default is YYYY-MM-DD. See examples below

STATUS
The observation iframe will work as currently displayed in this journal post, but improvement work is ongoing. If something looks broken, give it a moment and try reloading the page. For bugs and suggestions please leave a comment below.

TODO
Specify language for common names

Examples

<iframe height="172px" width="600px" frameBorder="0"
 src="https://inat-obs-embed.glitch.me/?obs_id=199511059&date_format=us"></iframe>

<iframe height="160px" width="100%" frameBorder="1"
 src="https://inat-obs-embed.glitch.me/?obs_id=192643475"></iframe>

Name Tests

Error Tests

No obs_id parameter in the iframe src url

No observation ID

Invalid observation ID

Posted on February 17, 2024 09:06 AM by lwnrngr lwnrngr | 0 comments | Leave a comment

December 03, 2022

August 27, 2021

Updated ranges for Surniculus dicruroides and S. lugubris

IUCN ranges modified to reflect distributions in eBird/Clements Checklist v2021 (Unchanged from v2019) see discussion on this flag

References:
BirdLife International. 2016. Surniculus dicruroides. The IUCN Red List of Threatened Species 2016: e.T22736080A95124166. https://dx.doi.org/10.2305/IUCN.UK.2016-3.RLTS.T22736080A95124166.en. Downloaded on 27 August 2021.

BirdLife International. 2016. Surniculus lugubris. The IUCN Red List of Threatened Species 2016: e.T22728167A94972858. https://dx.doi.org/10.2305/IUCN.UK.2016-3.RLTS.T22728167A94972858.en. Downloaded on 27 August 2021.

Clements, J. F., T. S. Schulenberg, M. J. Iliff, S. M. Billerman, T. A. Fredericks, J. A. Gerbracht, D. Lepage, B. L. Sullivan, and C. L. Wood. 2021. The eBird/Clements checklist of Birds of the World: v2021. Downloaded from https://www.birds.cornell.edu/clementschecklist/download/

Posted on August 27, 2021 09:48 AM by lwnrngr lwnrngr | 1 comment | Leave a comment

Archives