#microformats 2015-04-23

2015-04-23 UTC
KartikPrabhu and KevinMarks joined the channel
KevinMarks_, tantek, Atamido, Soopaman, Soopaman1, eschnou, KevinMarks, kez, KevinMarks__, adactio, chiui, pfefferle, TallTed and csarven joined the channel
#
kylewm
grr, I am really growing to hate beautifulsoup4 + html5lib ... seems to crash frequently on poorly formed html
#
aaronpk
eep i thought the whole point of beautifulsoup was that it handles bad html
KartikPrabhu and tantek joined the channel
#
tantek
edited /link-preview-brainstorming (+47) "use appropriate h-* object for the page, parse first h-* object on the page"
(view diff)
KartikPrabhu joined the channel
#
tantek
edited /link-preview-brainstorming (+9) "/* proposals */ code not link"
(view diff)
KartikPrabhu joined the channel
#
ben_thatmustbeme
so, in an h-feed, the u-url property is the link to the canonical URL for the feed, correct?
#
kylewm
I believe "u-url u-uid" would be the canonical URL
eschnou joined the channel
#
ben_thatmustbeme
can the feed on the non-canonical page have different (abridged) content fromt he canonical
#
KartikPrabhu
ben_thatmustbeme: you are over thinking this I feel. the non-canonical page could have completely different content from the canonical one if someone wanted to be malicious
#
ben_thatmustbeme
thats not malicious, i'm thinking UI wise
#
KartikPrabhu
as in have only a summary on homepage and full posts on canonical page?
#
ben_thatmustbeme
so to continue that down, could I have a h-feed with NO entries in it, but a u-url u-uid to the cannonical
#
ben_thatmustbeme
seems odd, but it would actually suffice for my line of thinking
#
ben_thatmustbeme
hmm, actually seems rather pointless
#
ben_thatmustbeme
if it has a cannoncial is url, it would be the same as just linking directly to it anyway
KevinMarks, tantek, KartikPrabhu and tantek_ joined the channel
#
KevinMarks_
html5lib is also supposed to handle invalid html
#
KevinMarks_
do you ave examples, kylewm ?
#
kylewm
KevinMarks_: here's how i reproduced it like https://gist.github.com/kylewm/89fe76aeb6e32af8146b
#
kylewm
previous bugs i reported to beautifulsoup were ignored though, so i didn't take time to report this one