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
- To: "eprints-tech@ecs.soton.ac.uk" <eprints-tech@ecs.soton.ac.uk>
- Subject: [EP-tech] OEmbed & EPrints
- From: Christopher Gutteridge <totl@soton.ac.uk>
- Date: Fri, 2 Nov 2018 09:51:10 +0000
I'm thinking how EPrints could implement the oembed protcol; https://emea01.safelinks.protection.outlook.com/?url=https%3A%2F%2Foembed.com%2F&data=01%7C01%7C%7C522037672e554cd3427108d640a8b7bd%7C4a5378f929f44d3ebe89669d03ada9d8%7C1&sdata=Oqt8jmDKf5D4RNbZp8wYL97LEj5eI6nFAJr6wHmZwrM%3D&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. Examples https://emea01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fpublish.twitter.com%2Foembed%3Furl%3Dhttps%3A%2F%2Ftwitter.com%2FFloppy%2Fstatus%2F1058258182693240832&data=01%7C01%7C%7C522037672e554cd3427108d640a8b7bd%7C4a5378f929f44d3ebe89669d03ada9d8%7C1&sdata=qrZIZCkZouHTCqpsMBemg8cfN%2BVjksR3LVX3Ua8SCJM%3D&reserved=0 https://emea01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.youtube.com%2Foembed%3Furl%3Dhttps%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3DdukYLcP627Y&data=01%7C01%7C%7C522037672e554cd3427108d640a8b7bd%7C4a5378f929f44d3ebe89669d03ada9d8%7C1&sdata=q4%2FLLzbpZNgGBMfu8TMSroXZyNPy6PLej9BG3uDmn80%3D&reserved=0 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/
- Follow-Ups:
- [EP-tech] OEmbed & EPrints
- From: Christopher Gutteridge <totl@soton.ac.uk>
- [EP-tech] OEmbed & EPrints
- References:
- [EP-tech] OEmbed & EPrints
- From: Christopher Gutteridge <totl@soton.ac.uk>
- [EP-tech] OEmbed & EPrints
- Prev by Date: [EP-tech] Filter Depositor in Irstats
- Next by Date: Re: [EP-tech] Reset an archive before going live
- Previous by thread: [EP-tech] Sort view with creators_name and corp_creators
- Index(es):