#microformats 2016-04-01

2016-04-01 UTC
tantek, emmak_, KartikPrabhu, adactio, Garbee and omarhuanca joined the channel
#
omarhuanca
Hello
tantek joined the channel
#
omarhuanca
I again try use microformat for start_time, end_time items into list: for example.
#
omarhuanca
<ul> <li startTime1="" endTime1=""> sentence1</li> <li startTime2="" endTime2=""> sentence2</li> <li startTime3="" endTime3=""> sentence3</li> </ul>
#
omarhuanca
I'm sorry for ask again about this
TallTed joined the channel
#
Zegnat
omarhuanca: I don’t think I have ever seen anyone do something like that. Do you have to use HTML? Would it not make mor sense to use a subtitle/captioning format like WebVVT?
#
omarhuanca
uff
#
omarhuanca
maybe xoxo for this items
#
omarhuanca
or try represent with hevent
#
omarhuanca
Zegnat, question. Can add micrformat for startTime, endTime into list
#
Zegnat
There are dt-start and dt-end classes, but I am not sure how you would be adding them and no parser is going to understand them outside an h-event
#
Zegnat
Also note that dt-* microformats expect valid HTML datetime strings, and I am not sure relative timestamps like you would use for lyrics are allowed
#
omarhuanca
I has just time, no datetime
#
omarhuanca
I have more this tags: <div><ul> <li startTime1="x" endTime1="y"> sentence1</li></ul> <li startTime2="x" endTime2="y"> sentence2</li></div>
#
Zegnat
Other than making every item an event with a start and end time (those still need to be datetime strings) I don’t think there are any existing microformats for you. You will have to invent your own.
#
omarhuanca
question, how I implement a microformat
#
omarhuanca
or custom hevent
#
omarhuanca
this list is items on karaoke
#
Zegnat
omarhuanca: http://microformats.org/wiki/process - developing a new microformat/vocabulary. Though personally I am still not sure why a karaoke lyrics needs a microformat. Why not just do what you are doing now?
miklb joined the channel
#
aaronpk
omarhuanca: I would recommend reading this excellent introduction to microformats http://microformats.org/2014/03/05/getting-started-with-microformats2
#
omarhuanca
o can use list: <div><ol> <li startTime1="x" endTime1="y"> sentence1</li></ul> <li startTime2="x" endTime2="y"> sentence2</li> </ol> </div>
#
Zegnat
<ol><li data-startTime="00:00" data-endTime="00:05">Blabla</li><li data-startTime="00:07" data-endTime="00:09">Blabla</li></ol>
#
Zegnat
Would be totally valid, easy to read, easy to parse, and you could even use CSS to display the start and end times.
#
omarhuanca
yeah, but mi project manager suggestion add microformat for after use another site
#
omarhuanca
because, I think use microformats
#
omarhuanca
thanks for your time about this
#
Zegnat
But no microformat exists. And you inventing one does not make it any easier for sites so parse, I think…
#
omarhuanca
you have a example how implement this
#
Zegnat
What would you like to implement?
#
Zegnat
Just HTML: <ol><li data-startTime="00:00" data-endTime="00:05">Blabla</li><li data-startTime="00:07" data-endTime="00:09">Blabla</li></ol>
#
omarhuanca
nop, custom microformat about this html
#
omarhuanca
<ol><li data-startTime="00:00" data-endTime="00:05">Blabla</li><li data-startTime="00:07" data-endTime="00:09">Blabla</li></ol>
#
omarhuanca
<ol><li data-startTime="00:00" data-endTime="00:05">Blabla</li><li data-startTime="00:07" data-endTime="00:09">Blabla</li> ....... </ol>
#
Zegnat
I don’t understand what you are asking … That is just valid HTML you can use, keep adding LI elements for every line. (Not a microformat, just parsable HTML, if you want a microformat you will need to invent it yourself.)
#
Zegnat
I hope that makes it clear what I meant
#
Zegnat
If you are still thinking about extending microformats, I always thought this was a good read: http://rhiaro.co.uk/2015/08/extensibility
#
omarhuanca
your example about list is clear.
tantek joined the channel
#
@patlockley
@urbaneprofessor @philbarker added social media sharing and social media headers. Assumed useful. Also neatened microformats
(twitter.com/_/status/715927339591462912)
#
tantek
interesting
#
tantek
omarhuanca: still around? just saw your question about start and end times - is this for events?
#
omarhuanca
I have a translation dialog like write Zegnat: https://jsfiddle.net/sxyyLqg4/
#
omarhuanca
my project manager say, add a microformat, because don't exist I need implement
#
Zegnat
http://microformats.org/wiki/chat-brainstorming would probably be the closest discussed format, but as omarhuanca seems to have karaoke lyrics and needs start and end timings for the lines it is a bit hard. If you have any idea of prior discussions, tantek, much apprciated.
#
Zegnat
s/apprciated/appreciated
#
Loqi
Zegnat meant to say: http://microformats.org/wiki/chat-brainstorming would probably be the closest discussed format, but as omarhuanca seems to have karaoke lyrics and needs start and end timings for the lines it is a bit hard. If you have any idea of prior discussions, tantek, much appreciated.
#
tantek
omarhuanca: interesting - I think there's been some more work since chat-brainstorming - take a look at the markup in the #indiewebcamp logs: https://indiewebcamp.com/irc/today
omarhuanca, KartikPrabhu, gRegorLove, barnabywalters and tantek joined the channel
#
tantek
kylewm: when you have a moment, let's try to converge our latest proposed resolutions for http://microformats.org/wiki/microformats2-parsing-issues#implied_properties_when_an_explicit_class_is_provided so we can come to a consensus and start fixing parsers to reduce bad auto p-names
#
kylewm
Sure tantek. Going to be a while before I'm back on a real computer, but I am open to feedback on my proposal
#
tantek
I guess I'm trying to understand the difference between your proposal and my proposal right before it
#
kylewm
I was specifically talking about implied URL only... bc that is the problem case and it has fewer edge cases than the generalized rule
#
tantek
I thought the implied p-name got the most false positives
#
tantek
(problem case)
#
tantek
or are you wanting to make these separate issues?
#
KevinMarks
implied p-name is problematic for other reasons (whitespace)
#
tantek
that's not the problem
#
tantek
the problem is that implied p-name was designed to help consuming code
#
tantek
if consuming code is actively taking steps to detect / avoid it - then it's causing more trouble than it is helping
#
tantek
thus we need to refine it to the point where consuming code feels like it can "trust" it
KartikPrabhu joined the channel
#
tantek
kylewm, KevinMarks that issue and the over-implied p-name problem is making me wonder if we should do another microformats dev meetup for this year to crank through all the microformats2-parsing-issues
#
tantek
edited /microformats2-parsing-issues (+680) "/* implied properties when an explicit class is provided */ broaden scope of issue in initial description, follow-up to kylewm's points with more details"
(view diff)
#
tantek
kylewm: tried to follow-up a bit on your proposal http://microformats.org/wiki/microformats2-parsing-issues#implied_properties_when_an_explicit_class_is_provided - whenever you get to it is fine - totally not urgent (i.e later next week totally ok)
#
tantek
edited /microformats2-parsing-issues (+60) "/* implied properties when an explicit class is provided */ cite bridgy p-name"
(view diff)