#microformats 2013-11-06

2013-11-06 UTC
ChiefRA, tantek, jschweinsberg and KevinMarks joined the channel
#
@kekceruza
microformats2 & HTML5: The Next Evolutionary Step For Web Data http://www.youtube.com/
(twitter.com/_/status/397957350004252673)
tantek, tobyink, romainneutron, encolpe, barnabywalters, adactio, pfefferle, TallTed, Atamido, jgay, brianloveswords, lmjabreu and kennyluck joined the channel
#
@snarfed_org
@kevinmarks @t @jdunck hey guys! i'm looking now too. any chance you've heard of a python microformats2 parser since mentioning this?
(twitter.com/_/status/398111848190341121)
snarfed joined the channel
#
snarfed
morning all! i'm looking for a python mf2 parser…does anyone know of one?
#
snarfed
http://microformats.org/wiki/parsers#Python has a couple mf1 parsers, but nothing for mf2
#
snarfed
worst case, http://microformats.org/wiki/Microtron claims it "can easily be extended with new formats without modifying the source," so i could look into that
#
snarfed
but i'd love to use an existing one
#
ChiefRA
snarfed there are mf2 parsers
#
ChiefRA
hold on a sec, while I give you a link.
#
snarfed
thanks! surprised google didn't rank them high enough in my search
#
snarfed
but no matter
#
ChiefRA
they're new, Google just starts to "understand" them.
#
ChiefRA
it takes a while until "lasy" Google gets up-to-date with the latest trends :)
#
snarfed
huh. maybe.
#
barnabywalters
ChiefRA: why aren’t python mf2 parsers mentioned on the wiki?
#
ChiefRA
hmm I don't know.
#
snarfed
probably not intentional
#
ChiefRA
can you give me a link to such a parser?
#
ChiefRA
snarfed may need one.
#
ChiefRA
snarfed in the mean time, take a look here: http://microformats.org/wiki/parsers#microformats2_parsers
#
snarfed
thanks! i already have, those look good but they're not python
#
snarfed
(who's on first?! :P)
#
snarfed
if we don't know that one exists, that's fine, i was just checking before i start coding
#
barnabywalters
ChiefRA: I don’t think there are any python mf2 parsers
#
snarfed
fair enough
#
ChiefRA
snarfed can you make one ? :)
#
ChiefRA
for the sake of humanity?
#
snarfed
do you know much about http://microformats.org/wiki/Microtron ? it claims it can be extended to support new formats w/o much (any) codea
#
snarfed
lol. not sure about humanity, but yes, i'll write one if i can't find one
#
ChiefRA
:)) ok hang around here on a regular basis, tantek or aaronpk might be able to provide you with extended help about it.
#
ChiefRA
tantek is not on atm, but he will join. I'll leave him a message to contact you when he comes on.
#
snarfed
no need, i see them in person here and there, i've mentioned it before. they're supportive but they pay more attention to php
#
barnabywalters
snarfed: glancing over the code for microtron it looks like it’d be tricky to add support for all the important things in mf2
#
snarfed
er sigh
#
barnabywalters
combining mf, generic parsing, implied properties
#
tommorris
snarfed: nobody has written a Python mf2 parser yet. do feel free to start one. ;)
#
tommorris
snarfed: alternatively, you can run the Node parser and call it via HTTP
#
snarfed
yeah, or any parser
#
snarfed
all sad conclusions, i'm fine with python, but not really the right person to write a parser
#
snarfed
no matter though. i'll make something work
#
snarfed
thanks all!
#
ChiefRA
you're welcome.
#
ChiefRA
!tell tantek snarfed came with a great idea of making a Pyton mf2 parser. Anyone tryed that before?
#
Loqi
Ok, I'll tell him that when I see him next
#
barnabywalters
snarfed: I didn’t think I was the right person to write a parser either, but I ended up making it because it needed to exist and no-one else was going to do it in a hurry :)
#
@BarnabyWalters
Anyone wanting to build a #microformats2 parser in #python? I’m up for helping out, drop into IRC and mention it (http://waterpigs.co.uk/notes/4SvG56/)
(twitter.com/_/status/398118859548676096)
#
barnabywalters
snarfed: if it’s any help, php-mf2 comes with some command-line utils for fetching and parsing mf2 which you could call from subprocess.call()
tobyink joined the channel
#
snarfed
yeah, true
#
snarfed
all tradeoffs, including me writing a full fledged parser…but thanks for the encouragement, much appreciated
romainneutron, snarfed and tantek joined the channel
#
Loqi
tantek: ChiefRA left you a message 1 hour, 52 minutes ago: snarfed came with a great idea of making a Pyton mf2 parser. Anyone tryed that before?
#
snarfed
tantek: feel free to disregard. consensus seems to be there aren't any python mf2 parsers yet. i may start one eventually, but no promises :P
#
KevinMarks
I started looking at it a while ago, but realised my python parsing techniques are very out of date
#
KevinMarks
I haven't used html5lib before
jschweinsberg joined the channel
#
@snarfed_org
RT @BarnabyWalters: Anyone wanting to build a #microformats2 parser in #python? I’m up for helping out, drop into IRC and mention it (http:…
(twitter.com/_/status/398152529889882112)
romainneutron, Phae and benward joined the channel
#
tommorris
snarfed: I'm starting one. I need an excuse to learn some Python toys I'm playing with.
#
snarfed
awesome!
#
snarfed
thanks! glad to hear it
#
snarfed
post the repo link when you have it, i'll happily follow along and contribute
tswicegood joined the channel
#
tommorris
snarfed: sure. on train so have sporadic dodgy internet. mostly just using this as a way to get myself into writing python as I have to do some more at work
lmjabreu joined the channel
#
snarfed
ack, sounds good
twisted` joined the channel
rknLA, tantek, tobyink, snarfed1 and krijnh joined the channel
#
tommorris
is actually making some progress on a python parser
snarfed and romainneutron joined the channel
#
KevinMarks
Sounds good
#
KevinMarks
Using html5lib?
armicron and Phae joined the channel
#
tommorris
KevinMarks: yep. and requests for http, nose for tests.
#
tommorris
mainly doing it because I wanted to familiarise myself with nose as I need to use it at work
snarfed, bret and tantek joined the channel
#
tommorris
hey tantek
#
tantek
hey tommorris
#
tommorris
tantek: there was someone here earlier asking about python microformats2 parser. I've been hacking one together
#
tantek
very cool!
#
tantek
anything shareable yet?
#
tommorris
well, it parses the simplest test cases
#
tommorris
needs a lot of work though
#
tantek
nice - hosting code on your own domain, how #indiewebcamp of you ;)
#
tantek
is there a version you push to github for collaboration?
#
tantek
and "parses the simplest test cases" is certainly good enough to add to the microforrmats.org parsers page
#
tommorris
tantek: it's bitbucket. you can just map a subdomain to it ;)
#
tommorris
but yeah, git / mercurial[with hg-git] makes the whole hosting it yourself thing becomes easier
#
tommorris
a self-hosted code repository would be useful though
#
tommorris
tantek: as for the parser, I'm hoping to work on it on the way to and from work
#
tantek
nice - good to hear.
#
tantek
was just thinking if you put it on github then snarfed and kevinmarks could contribute to it as well, maybe even barnabywalters (who has expressed some interest in the past)
#
tommorris
yeah, can do. was using it as a way to play with mercurial but I'm happy to pop it on github too
#
snarfed
glad to see it's up!
#
snarfed
i don't feel strongly where it's hosted, i'll send patches/PRs anywhere
#
tommorris
you can log into bitbucket with your github account, which is fairly hilarious oauthery.