#microformats 2015-05-18

2015-05-18 UTC
KevinMarks, Atamido, KevinMarks__, fuzzyhorns, gRegorLove, KartikPrabhu, tantek, eschnou, KevinMarks___, Left_Turn, kez, ChiefRA, chiui, adactio, tommorris, csarven, glennjones, pfefferle and Garbee joined the channel
#
glennjones
I am about to start a couple of days work updating microformats parsing test suite. If you have any issues with parsing test suite please add an issue to https://github.com/microformats/tests and I will try addresses them
#
Loqi
glennjones: tantek left you a message on 7/29 at 3:11pm: could you propose https://microformats.org/wiki/h-calendar and https://microformats.org/wiki/h-card for us in response to "What standard should gov use for calendar events? Or contact info? Call for #openstandards sugg'ns closes 5 Aug -@psd https://gdstechnology.blog.gov.uk/2014/07/28/open-standards-for-contact-details-and-calendar-events/ " (http://twtr.io/p2afLDXqYY)
#
glennjones
I am going to flatten the tests into a format like https://github.com/tobiastom/tests but with changes logs
#
glennjones
I am also going to write a way to tests each of the current parsers against the test suite, matching the test suite JSON output against the parser’s output
gjones joined the channel
tantek and pfefferle joined the channel
#
@momdo_
microformatsだっけあれ。
(twitter.com/_/status/600282910696943617)
charl, glennjones and KartikPrabhu joined the channel
#
aaronpk
glennjones++
#
Loqi
glennjones has 5 karma
#
Vendan
glennjones, I'm all in favor of that, just let me know when you start getting the tests up so I can play with them :)
#
aaronpk
the tobiastom layout is great
#
Vendan
fun bit is how you validate the json output
#
Vendan
I'm using a strict comparison, but that means extra data, like the rel-urls stuff, then gets marked as a failure
#
aaronpk
can this be turned into a test quite that can run on jenkins?
#
aaronpk
oh i mean travis-ci, the public one
#
Vendan
I'm already running my tests on travis-ci, so I don't see why not
#
KartikPrabhu
aaronpk: mf2py also uses its internal tests on travis-ci
#
Vendan
fun bit is if you want to combine all the parsers into one repo and test them all at the same time
#
Vendan
cause then you'd need node and python and php and such
#
glennjones
I did use travis-ci for my test, but I pull a copy into my parser project to get to work
#
KartikPrabhu
glennjones: that seems fair enough
#
Vendan
I use submodules to pull the test stuff into my parser, so I'd most likely just change that to point to the new tests
#
glennjones
I am looking at doing test-rig that compares parsers by sending html to web based APIs that take HTML strings and then diff the output
#
Vendan
that'd be pretty neat
#
Vendan
I'm assuming you'd like something that's just post html to it and get back the json as the response body?
#
Vendan
what would the post be, a file upload type thing or a form encoded or just html as the request body(just curious so I can go implement it)
#
glennjones
Most have the parsers have a simple POST form encoded ie https://pin13.net/mf2/
#
aaronpk
that'd be great, let me know if you need me to do anything for the php one
#
glennjones
The baseurl is important to help resolve relative urls
#
aaronpk
i could even set up a separate path that auto-updates from github master so it's always running the latest
#
aaronpk
yes, definitely need to be able to pass in the base URL for tests
#
Vendan
so do we want to go with "html" and "url" fields, form encoded?
#
aaronpk
works for me
#
Vendan
k, build with /parse handler will be on mf2.vendaria.net in a minute
elf-pavlik_ joined the channel
#
glennjones
If we all follow https://pin13.net/mf2/ as an example it will help simplify things - i will build a version for my two projects
#
Vendan
tbh, I like the way mine displays back on the same page, so you can tweak and test again easily, but I'm adding a version like that
#
aaronpk
on the same page?
#
aaronpk
oh like doing it with JS?
#
Vendan
no, just posting to the page, what's returned is the form with what you posted and the parsed output below it
#
aaronpk
oh I see
#
aaronpk
makes it not really an API, but I see what you mean
#
Vendan
yeah, it's not really meant to be an api, just a testbed. http://mf2.vendaria.net/parse is more like an api
#
Vendan
(and matches how https://pin13.net/mf2/ works)
KevinMarks joined the channel
#
glennjones
Thats great, I will post back when I have it up and running
KevinMarks___ joined the channel
#
Vendan
cool, let me know how it goes
#
Vendan
and as I've said, I like to test from the ide, so if I can just pull down the input and expected output, that'd be awesome
KevinMarks, KevinMarks__, eschnou, elf-pavlik, csarven, tantek, KartikPrabhu and hectorMcSpector joined the channel
#
@DinoSpeaks
Implementing JSON-LD in WordPress: First, A Brief History of Structured Data for SEO Microformats For a t... http://builtvisible.com/implementing-json-ld-wordpress/?utm_source=twitterfeed&utm_medium=twitter #SEO
(twitter.com/_/status/600388233906692096)
tantek and eschnou joined the channel
#
@XJINE
microformats はスクリーンリーダとかそういう方面で推し進めてくれれば助かるんだけどなぁ。
(twitter.com/_/status/600412416984231936)
#
Vendan
I'm kinda liking the idea of a "h-project" vocab, with the idea of covering both software projects, like github kinda thing, as well as hardware and other such related things
fuzzyhorns joined the channel
KevinMarks, Garbee and KevinMarks_ joined the channel
#
tonyj
edited /hcard-examples-in-wild (+98) "/* new and uncategorized examples */"
(view diff)
#
tonyj
edited /geo-examples-in-wild (+97) "/* new and uncategorized examples */"
(view diff)
KevinMarks, KevinMarks_ and KevinMarks__ joined the channel