-
Notifications
You must be signed in to change notification settings - Fork 58
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
convert mf2 length and size properties to RSS duration and length #169
Comments
An ISO 8601 duration: I feel like this has been discussed as mf2 properties, but can’t seem to find anything right now. |
mf2 duration is iso8601 duration in my humble opinion. Agree on size having no standard |
Where does @aaronpk do this? When I look at Percolator it uses <div class="podcast-meta">
<a href="/episode/24" class="u-url">
<time class="dt-published" datetime="2019-06-13">
June 13, 2019
</time>
</a>
•
<data class="p-duration" value="875">
14m35s
</data>
/
<span class="p-size">17.41mb</span>
</div>
Interesting enough, when h-event added I think the correct HTML+mf2 for marking up the play length of an audio/video segment should be: <time class="dt-duration" datetime="PT14M35S">14 minutes and 35 seconds</time> The question then becomes how you would connect this with any one specific |
i was just reporting this, which says he does: https://indieweb.org/podcast#How_to_podcast_with_h-feed . i hadn't actually checked his markup. |
Can we just pick? dt-duration sounds settled and p-size works...just be nice to pass an itunes validator with an mf2 podcast feed |
for #169. mf2 support is still emerging (https://indieweb.org/podcast#Brainstorming); both integer seconds and ISO 8601 string durations (https://en.wikipedia.org/wiki/ISO_8601#Durations) are supported.
ok! thanks for the discussion all. i've deployed preliminary support for reading and writing example: https://granary.io/url?input=html&output=rss&url=http%3A%2F%2Flatenighttoast.com%2F |
hmm, our examples of i could any thoughts on what to do here? |
discussed on #microformats. i'm tentatively going to start emitting a <data class="p-size" value="1234">1KB</data> (i already handle both variants in input.) |
done. tentatively closing. feel free to reopen or add any other thoughts! |
...except we have no clear mf2 standard yet for either one. discussion: https://chat.indieweb.org/dev/2019-08-08#t1565286782453800
https://indieweb.org/podcast shows two examples in the wild with
length
: aaronpk's is integer seconds, @gRegorLove's isPT1H7M59S
. (what even is that?)...and two examples with
size
, different human-readable versions: @aaronpk's17.43mb
, @gRegorLove's62.2 MB
.RSS spec for
length
(integer bytes): http://www.rssboard.org/rss-specification#ltenclosuregtSubelementOfLtitemgtiTunes details for
duration
(integer seconds): https://help.apple.com/itc/podcasts_connect/#/itc2b3780e76 , and example RSS: https://help.apple.com/itc/podcasts_connect/#/itcbaf351599cc @jgmac1106
The text was updated successfully, but these errors were encountered: