Posts tagged with: microformats
← Back to all tagsI don’t think the watch-of
property has to be geared towards internet videos. The URL can be the video you’re actually watching, like on YouTube, or something that represents what you watched, like Wikipedia. That link doesn’t need to be canonical, either. For example, a corollary with my event posts (example) is that I link the location to a venue page on my site where I publish the venue information with an h-card
.
If there is no meaningful URL to link to, it’s possible to use p-watch-of
instead and just mark up the title. In either case, I think the title of what was watched will be the most important for consumers, at least initially. Getting into categorizing (movies, TV, YouTube, etc.) and uniquely identifying titles would be more complex. That complexity might also be part of why we haven’t seen aggregators yet.
Yep, definitely room for improvement on that. I mentioned it in the #microformats chat. Feel free to stop by with any questions or ideas. We're on IRC but also bridged to Slack and Matrix: microformats.org/wiki/irc
That should work. The microformats1 hReview property details specified "fixed decimal point (one decimal point of precision)," which should carry over for backward compatibility: https://microformats.org/wiki/hreview#Property_details
This is one way of several based on the authorship spec (https://indieweb.org/authorship-spec#Algorithm). The p-author h-card
inside the h-feed
might make the most sense in your case, but you could also have a u-author
property inside each h-entry
that links to a page that has your author h-card
. I do this with my posts, with an invisible link to my homepage.
I’ve released version 0.0.3 of mf2 to iCalendar, a library to convert h-event microformats into iCalendar.
It no longer throws an Exception if no h-event microformats are found. Instead it will generate a minimal, “empty” iCalendar. I had run into an instance where an upcoming events page was empty and the URL for the iCalendar was returning the Exception message.
I also changed the default domain to example.com, did some minor code cleanup, and renamed the git master branch to main.