Skip to content

Proposed Duration Property #21

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

Open
dshanske opened this issue Sep 12, 2020 · 3 comments
Open

Proposed Duration Property #21

dshanske opened this issue Sep 12, 2020 · 3 comments

Comments

@dshanske
Copy link
Member

Identified is a need to define a duration property, which is published by several individuals but with no clear definition.

See Discussion in snarfed/granary#169 summarized below.

The proposed definition is the duration of an audio or video file in the entry, however duration is also used for other items, so it should be only the duration of an audio or video file if there is a video/audio property.

Should the value be the ISO8601 duration format, the derived HTML duration, or just integer seconds? Also, the proposal note in the wiki states p-duration, where it probably should be dt-duration, to match h-event.

iCal and hCalendar use ISO8601 duration format, Media RSS uses seconds. Whatever format is adopted for h-event should be adopted for h-entry for consistency.

Related: http://microformats.org/wiki/h-event defines duration with no format defined. See microformats/h-event#7

@dshanske
Copy link
Member Author

Related: microformats/h-event#7

@dshanske
Copy link
Member Author

Need to discuss/define other items other than audio/video where a duration might be appropriate. Read posts?

@capjamesg
Copy link
Member

@dshanske I display a "read time" on my blog. It is somewhat subjective but I know of at least one other person on the IndieWeb displaying read times. Although I do wonder whether this is a piece of information that needs to be marked up in microformats.

As for the format of the value, I can see most use cases would probably be related to audio/video and so integer seconds may be best. Although ISO8601 may be more consistent. I am just giving my first thoughts :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants