#microformats 2017-05-04

2017-05-04 UTC
[cleverdevil] joined the channel
#
@jackbaty
Added a bunch of microformats to the markup on https://baty.net/ Baby steps.
(twitter.com/_/status/859922212349980672)
tantek, gRegorLove, Guest79854, tantek_ and Erkan_Yilmaz joined the channel
#
@dsb
@jandersen microformats -> justrightformats?
(twitter.com/_/status/859990841921724416)
#
rosannaberardi
edited /code-tools () "(-1248)"
(view diff)
#
sknebel
^^^ spam
[kevinmarks], twisted`, JonathanNeal, adactio and barpthewire joined the channel
#
ben_thatmustbeme
!tell adactio, tantek http://microformats.org/wiki/index.php?title=code-tools&action=history spammers to block on the wiki, see edits from may 4
#
Loqi
Ok, I'll tell them that when I see them next
#
Loqi
microformats community
#
ben_thatmustbeme
another day another set of issues found with the tests repo
#
Loqi
[dissolve] #60 a few more tests incorrect
[jeremycherfas], [eddie], rodolfojcj, gRegorLove, adactio, barpthewire, [gregorlove], [colinwalker], JonathanNeal, twisted`, [cleverdevil], [joemcl], nitot and [mikirk] joined the channel
#
ben_thatmustbeme
so there isn't actually anything on http://microformats.org/wiki/value-class-pattern about parsing a value-class-pattern for a <a>
#
Loqi
Value Class Pattern
#
ben_thatmustbeme
oh wait, it specificially says it doesn't effect parsing of email / url, uri, uid
#
ben_thatmustbeme
so does that mean don't look for the class 'value', which i currently don't?
#
ben_thatmustbeme
so then the test is wrong?
tantek, KartikPrabhu, [gregorlove], [goldylocks], rodolfojcj and [colinwalker] joined the channel
#
ben_thatmustbeme
WHEW, summarized all my current results for parsing and such just sooo many things https://ben.thatmustbe.me/static/results.txt
#
ben_thatmustbeme
only things left for the actual parser are include support and one odd issue which i don't think is actually fixable
#
schmarty
unfixable!
#
ben_thatmustbeme
well it not something i plan to fix anyway
#
ben_thatmustbeme
but i also got to finally add the cherry on top
#
ben_thatmustbeme
how to properly do ruby magic
#
ben_thatmustbeme
it stores it as a hash, and when it returns the parser results it comes back as a ParserResults object
#
aaronpk
much better
#
Loqi
aaronpk: tantek left you a message 1 day, 22 hours ago: does Loqi look for "microformats2" tweets to mention in here?
#
ben_thatmustbeme
which you can just call to_hash or to_json on it
#
ben_thatmustbeme
but also if you call say results.items, it uses method_missing to try and guess what you want
#
schmarty
wow nice
#
ben_thatmustbeme
results.card will look for the first h-card in the items
#
ben_thatmustbeme
and it returns it as a ParserResults object as well, so you can just continue results.card.properties.name, etc
#
ben_thatmustbeme
at least maintains a little bit of backward compatibility to the old microformats-ruby
[gregorlove] and [kevinmarks] joined the channel
#
schmarty
ben_thatmustbeme++ this sounds amazing and I am excited to upgrade
#
Loqi
ben_thatmustbeme has 6 karma in this channel (210 overall)
[gregorlove], [evanwolf], tantek and [cleverdevil] joined the channel