#microformats 2015-04-29

2015-04-29 UTC
KevinMarks, KartikPrabhu and KevinMarks__ joined the channel
#
@alexandrevince
Discover great free apps and get rewarded with gift hcards! http://welcome.freemyapps.com via @freemyapps
(twitter.com/_/status/593250427744997376)
KartikPrabhu and tantek joined the channel
#
@xrevelon
RT @t: “HTML is my API” @aaronpk on @HackerNews’s HTML vs JSON, reliability, and using #microformats2 https://aaronparecki.com/articles/2015/04/26/1/html-is-my-api (ttk.me t4ah1)
(twitter.com/_/status/593266730258010112)
KartikPrabhu, tantek, eschnou, chiui, kez_, KevinMarks and csarven joined the channel
#
@openwebdaily
WPD 459: DOM4 introduces Elements collection, adding microformats2 classes to sample markup http://webplatformdaily.org/releases/2015-04-29
(twitter.com/_/status/593323956842598400)
pfefferle, chiui, KevinMarks__ and KevinMarks joined the channel
KartikPrabhu, adactio and pfefferle joined the channel
#
tommorris
edited /microformats2-prefixes (+105) "/* reserving other prefixes */ updated to clarify that µf2 is not reserving single-letter-dash-prefixed class names outside of the scope of an h- object"
(view diff)
#
kevin marks
edited /microformats2-prefixes (+149) "/* existing single letter class prefixes */ u- clash with Skeleton"
(view diff)
pfefferle joined the channel
#
tommorris
KevinMarks_: that's a shame. I like Skeleton.
#
KevinMarks_
I also found some in twitter markup http://www.kevinmarks.com/tweetembed.html
#
KevinMarks_
u-textTruncate, u-cf u-linkBlend
#
KevinMarks_
maybe @benward's mf2 got restyled?
barnabywalters and pfefferle joined the channel
#
barnabywalters
Just released mf2/mf2 v0.2.10: https://waterpigs.co.uk/notes/4auAbf/ — thanks ben_thatmustbeme!
#
Loqi
barnabywalters: ben_thatmustbeme left you a message 1 week, 2 days ago: re:php-mf2 I had added a test case for area tag at one point and i guess forgot to update the pull request with it. I fixed all the unit test issues that occured under linux, there is one more I am getting under mac, not sure it can be resolved.
#
KevinMarks_
barnabywalters: have you had a chance to look at the rel improvements?
#
barnabywalters
KevinMarks_: nope, been glancing at logs but not actively working on any indieweb stuff for the past few months
#
barnabywalters
thanks, checking it out now
#
KevinMarks_
I added some extra info for urls that rels point to
#
barnabywalters
adding title to the alternate parsing makes total sense, good idea
#
kevin marks
edited /microformats2-parsing-brainstorming (+25) "/* attributes parsed */ now text not name"
(view diff)
#
barnabywalters
I like the idea of making additional information available about other rel URLs too
#
KevinMarks_
this was based on need from feedparser
#
barnabywalters
I am not a fan of the information duplication, but it’s probably not a big deal really
#
KevinMarks_
i did try changing 'rels' first, but that was a breaking change, and amde it harder to use
#
barnabywalters
if I was designing an API for getting this information out of a page, organising rels by rel, and individally would both make sense as options
#
KevinMarks_
also, with multiple xfn rels, this is less duplicative
#
KevinMarks_
I did consider a special case for enclosure and xfn (like alternates) but this was more general
pfefferle joined the channel
#
tommorris
barnabywalters: congrats on new release.
#
barnabywalters
tommorris: thanks, but all the credit goes to ben_thatmustbeme
#
barnabywalters
I just merged and cleaned up his pull request from last year, finally
#
tommorris
barnabywalters, KevinMarks_, ben_thatmustbeme and others: so, I'm thinking about adding iCalendar output to mf2py - that is, as well as JSON, you'd be able to get iCalendar (and maybe vCard too) out of mf2py
csarven joined the channel
#
KevinMarks_
I was going to look at vcard for the feedparser work
#
tommorris
specifically because it'd be useful to be able to turn a page full of 1..* h-events into an actual iCalendar file to import into iCal
#
barnabywalters
I just made some changes to the documentation, which I’d like to get rhiaro’s feedback on based on reading yesterdays logs
#
tommorris
(or whatever Apple are calling iCal this week since they've decided they don't like i-prefixing)
#
barnabywalters
but having lunch now :)
#
KevinMarks_
though a parsed mf2 ->vcard thing rather than as part of the parsing phase
#
tommorris
KevinMarks_: I was thinking more of just add .to_icalendar() to the parser and it'd give you back an object using the Python icalendar library
#
tommorris
and .to_vcard() to get back vCards from the h-cards.
#
barnabywalters
tommorris: that sounds like a great idea
#
tommorris
specifically because I'm writing some Django middleware that does content negotiation
#
tommorris
and if you ask for iCalendar, you should get iCalendar
#
tommorris
KevinMarks_: if you are in a mulling over and making suggestions mood, http://microformats.org/wiki/microformats2-mime-type could do with some input.
#
KevinMarks_
then we can stick it on unmung.com and free ourselves form the scariness of h2vx
#
tommorris
all respect to brian but XSLT scares the living crap out of me
#
KevinMarks_
there was mf1 to hcard code in feedparser before Kurt deleted it
#
KevinMarks_
so could just adapt that to work on the already parsed mf2 dict instead of reading html itself
#
tommorris
KevinMarks_: I don't know whether feedparser is ready for mf2py but it'd be a pretty big deal if mf2py started being used by it. :)
#
KevinMarks_
well, it is in my fork
#
KevinMarks_
though so far only for rel parsing
#
KevinMarks_
I was going to do the vcards next
#
KevinMarks_
then add in h-feed/h-entry support at the top level
#
KevinMarks_
though the maintainer is busy refactoring the code in another direction
#
KevinMarks_
so the chances of merging back are low
#
tommorris
modularising that looks sensible.
#
KevinMarks_
having a single file to include is nice
#
KevinMarks_
he first deleted a lot of features (and their tests)
#
KevinMarks_
then refactored into multiple files
#
tommorris
the single-page-app-iness of google groups makes me sad. :(
#
@vcavalcante
"WPD 459: DOM4 introduces Elements collection, adding microformats2 classes to sample markup" http://webplatformdaily.org/releases/2015-04-29 #frontend #feedly
(twitter.com/_/status/593383783358984193)
kez, pfefferle, TallTed, elux, tantek and KevinMarks__ joined the channel
#
redrobix
edited /hcard-examples-in-wild (+139) "/* new and uncategorized examples */"
(view diff)
#
redrobix
edited /hcard-examples-in-wild (+11) "/* new and uncategorized examples */"
(view diff)
barnabywalters and KevinMarks joined the channel
#
@simevidas
RT @openwebdaily: WPD 459: DOM4 introduces Elements collection, adding microformats2 classes to sample markup http://webplatformdaily.org/releases/2015-04-29
(twitter.com/_/status/593467120803041280)
KevinMarks joined the channel
#
tantek
what? really?
#
tantek
hahaha - that's a summary of two *separate* items in a list
#
tantek
funny
#
tantek
aaronpk, your fault ^^^ ;)
KevinMarks, KevinMarks__, KevinMarks___, elux, pfefferle and eschnou joined the channel
#
tantek
729k tweets? looks suspicious
#
tantek
also @-replying a suspended account
#
tantek
!block x2kmr
#
Loqi
Got it! There are now 264 spammers blacklisted
KartikPrabhu joined the channel
KartikPrabhu joined the channel