Aaron Parecki's Webmentions are an elegant way to integrate web sites and social media. This could easily be integrated with Mastodon...



Let's do this with curl:

curl -v -d 'source=https%3A%2F%2Fidf.social%2F%40djoerd%2F107475324613938785&target=https%3A%2F%2Faaronparecki.com%2F2017%2F01%2F12%2F13%2Fwebmention-rec' -X POST -H 'Content-Type: application/x-www-form-urlencoded' 'webmention.io/aaronpk/webmenti'

ยท 1 ยท 2 ยท 1

@djoerd did you try his website on a phone? His profile picture remains vertical when you tilt your phone!!

@djoerd maybe only android? It's the second photo (at bottom) that does this for me.

@arjen It does!!! Websites can read my accelerometer ๐Ÿ˜ฎ


Found the source: appropriately titled "Web APIs You [Probably] Didn't Know Existed"

// Lolz. youtube.com/watch?v=EZpdEljk5d
// thanks seblog.nl!
let photo = document.querySelector('.about .image img')
if(photo) {
window.addEventListener('deviceorientation', (e) => {
let tiltLR = e.gamma; let tiltFB = e.beta;
photo.style.transform = `rotate(${tiltLR * -1}deg)`

Sign in to participate in the conversation

The "unofficial" Information Retrieval Mastodon Instance.

Goal: Make idf.social a viable and valuable social space for anyone working in Information Retrieval and related scientific research.

Everyone welcome but expect some level of geekiness on the instance and federated timelines.