EPrints Technical Mailing List Archive

Message: #07554

< Previous (by date) | Next (by date) > | < Previous (in thread) | Next (in thread) > | Messages - Most Recent First | Threads - Most Recent First

[EP-tech] OEmbed & EPrints

I'm thinking how EPrints could implement the oembed protcol;
https://emea01.safelinks.protection.outlook.com/?url=https%3A%2F%2Foembed.com%2F&amp;data=01%7C01%7C%7C522037672e554cd3427108d640a8b7bd%7C4a5378f929f44d3ebe89669d03ada9d8%7C1&amp;sdata=Oqt8jmDKf5D4RNbZp8wYL97LEj5eI6nFAJr6wHmZwrM%3D&amp;reserved=0 so that when people copy links from it into oembed
aware tools it would do something smart.

There's a couple of things to think about. First of all, the protocol
has no fixed location. It can be discovered from a <link> header in an
HTML page which would work for abstract pages, but not PDFs etc.
Annoyingly you have to register an endpoint URL with them to make it
work for non HTML pages. My thinking in the short term is to do the easy
bit, making it work for summary pages.

The second issue is what to embed. The metadata parts are quite easy,
but you can also generate a small HTML fragment to be used for showing
the link. Often this has text and a thumbnail. It needs to be quite
compact, and academic citations are... not. Maybe title, authors and
icon link to first document, and full summary? Maybe hover text with
lots more info in?

I guess the actual work is a classic export plugin.




Anybody got an ideas or suggestions?

Christopher Gutteridge <totl@soton.ac.uk>
You should read our team blog at http://blog.soton.ac.uk/webteam/