aaronpkthe src attribute on the img tag is a data URI with a low-res version of the image, the real image URL is in a data attribute that is swapped into the img tag via javascript
shimmy1996Hi all - I'm in the process of adding mf2 to my sites, but I got varying instructions regarding how to handle p-name on notes: indiewebify.me suggest setting this to e-contents, while the mf wiki suggests against using a p-name at all. Which is the most dominant way?
aaronpkah that advice should be updated on indiewebify.me. the current best practice is to leave out the p-name for note posts, only including it for articles
ZegnatI wonder if there is a super clear data-* attribute that is shared by lots of sites, and if that would ever be worth integrating into mf2 parsing.
[grantcodes]I've seen `data-src` used by a decent number of lazy loading scripts. But that has been generally superceded by the native lazy loading and srcset and all that
Zegnatnative lazy load should take care of it for mf2 purposes. As it makes use of the normal src attribute. And I believe srcset parsing is already being discussed.