#microformats 2014-03-05

2014-03-05 UTC
caseorganic, jcbsnd, tantek, eschnou, edsu, joeysim, KevinMarks, ChiefRA, brianloveswords, iwaim___, Garbee, danielfilho, netweb, twisted`, tommorris, termie, JonathanNeal, bret, rknLA, globbot, reidab, Phae, lmjabreu, delcoyote, xxtjaxx, mko, krijnhoetmer, Hixie, ivc, ChanServ, barnabywalters, pfefferle, dvirsky, adactio, waterbaby999, tommorris_, Phae__ and waterbaby999_ joined the channel
#
@BarnabyWalters
Getting started with microformats2 (/articles/getting-started-with-microformats2/)
(twitter.com/_/status/441214713561907200)
#
barnabywalters
looks like my article POSSE needs a little attention :)
philipashlock, elux, joeysim, barnabywalters, KevinMarks, caseorganic, pfefferle, ChiefRA, tantek and eschnou joined the channel
philipashlock, caseorganic, elux, KevinMarks, joeysim, dvirsky and brianloveswords joined the channel
joeysim, barnabywalters and KevinMarks joined the channel
#
tantek
oh dear
#
tantek
spam :(
#
aaronpk
wow really?
#
barnabywalters
tantek: where?
#
tantek
that link
#
tantek
bit.ly/1l1Dz6K
#
aaronpk
it's redirecting to barnaby's post which then sends a relative location header
#
aaronpk
i guess loqi's not properly handling relative redirects
#
Loqi
who, me?
#
tantek
which goes to spam :(
#
barnabywalters
tantek: for me it goes to nothing, it’s a broken link
#
aaronpk
that isn't really a valid URL, not even sure where that would go
#
tantek
it is a valid URL
#
tantek
it goes to "articles" in the local domain
#
barnabywalters
well, not one pointing to a web server
#
tantek
which typically gets resolved to articles.com
#
aaronpk
depends on your DNS/DHCP tho
#
barnabywalters
it was POSSEd like that briefly, but I deleted it — surprised that anyone managed to find the old version so much later
#
tantek
I don't have any special setup
#
aaronpk
ah then it's the browser doing it
#
tantek
no when I click from the tweet itself it works
#
tantek
it's Loqi's fault for badly expanding it
#
tantek
into IRC
#
tantek
aaronpk - it's valid browser behavior
#
tantek
based on local DNS
#
barnabywalters
hm yes that is very strange that it’s a correct link in the tweet
#
tantek
so yeah, Loqi's t.co expansion is busted
#
aaronpk
it's kind of a hack to tack on ".com" to a word. I personally really don't like when browsers do that.
#
aaronpk
I use enough weird hostnames that the browsers usually get really confused
#
aaronpk
like "pk.dev", chrome usually takes me to a google search for "pk.dev" which is definitely not what I wanted
#
aaronpk
but yeah Loqi isn't handling the relative "Location:" header returned by waterpigs.co.uk
#
barnabywalters
admins, please delete User:Chatroll
#
aaronpk
weird I don't understand why it's doing that now that I look at the code
#
aaronpk
ahh it'sb ecause it's using the wrong version :)
#
tantek
barnabywalters - blocked
#
tantek
wrong version of ?
#
aaronpk
the url unshortener
caseorganic joined the channel
#
aaronpk
oh nvm, the url unshortener doesn't actually support relative location headers
#
aaronpk
and omg relative URL expanding is hard
#
aaronpk
i can probably cheat for this though, and just look for a missing host+scheme and fill it in
#
tantek
!tell barnabywalters could you reblog your post http://waterpigs.co.uk/articles/getting-started-with-microformats2/ on microformats.org?
#
Loqi
Ok, I'll tell him that when I see him next
#
aaronpk
great idea
#
aaronpk
opened an issue, we'll see if he fixes it before I get a chance to https://github.com/quark-zju/unshorten/issues/4
krijnhoetmer_, joeysim, philipashlock, caseorganic and barnabywalters joined the channel
#
Loqi
barnabywalters: tantek left you a message 1 hour, 45 minutes ago: could you reblog your post http://waterpigs.co.uk/articles/getting-started-with-microformats2/ on microformats.org?
#
barnabywalters
tantek: probably, what exactly do you mean? post it on the mf blog? or as a wiki page? or a link from somewhere?
#
barnabywalters
I’d be up for either/multiple
#
tantek
post it on the microformats blog
#
tantek
because it's an excellent self-standing blog post
#
tantek
and would be great as an example of a "reblog"
#
barnabywalters
thanks — sure, I’d be up for that. how do we do it?
#
tantek
also helps to establish a pattern of blogging something on your own domain, before blogging it in a collective/commons
#
tantek
first you sign-up for an account on microformats.org
#
tantek
the Wordpress install
#
barnabywalters
(yay openid)
#
Loqi
does a happy dance!
#
barnabywalters
do you need to give me permission to post? I’m not seeing a “new post” button anywhere
#
tantek
I think I do
#
tantek
what username did you pick?
#
barnabywalters
I logged in with openID so I’m waterpigs.co.uk
#
tantek
oh interesting
#
tantek
just made you an editor
#
tantek
I think this means you can both post new posts and edit/fix other posts
#
tantek
try it out!
#
barnabywalters
yep, I now have many more buttons
#
barnabywalters
heh, this will actually be the first time I’ve ever used wordpress for anything other than testing
#
tantek
heh - well, document whatever pain / problems you run into and we can try to fix it
#
tantek
I want to improve this work flow, especially for new users
#
barnabywalters
oh weird I went from HTML to visual view and back and now all my <p> tags are invisible
#
aaronpk
wordpress is kind of aggressive about their own <p> tags
#
barnabywalters
interesting
#
barnabywalters
so how do we want to signify that it’s a repost? in the past I’ve just added a little paragraph at the top e.g. http://waterpigs.co.uk/articles/reblog-its-great-when-youre-straight-yeah/
#
barnabywalters
oh actually I put that entire article inside a <blockquote>
#
tantek
so I think putting the whole thing inside a <blockquote> feels unwieldly
#
tantek
it's gotta be easier to a repost
#
tantek
to do a*
#
barnabywalters
yeah it’s probably not the best use of <blockquote>
#
tantek
so perhaps that's a bit of a challenge for you - to think about the minimum necessary repost markup
#
tantek
imagine that you received a webmention from microformats.org back to your original
#
tantek
and that you wanted to list/link to it as a "repost"
#
tantek
what would you need, at a minimum, from the perspective of your webmention receiver/handler, to do this?
#
barnabywalters
well at the moment for bridgy retweets I’m just doing really minimal inline author + link to repost + datetime e.g. http://waterpigs.co.uk/notes/4UpG9E/
#
barnabywalters
all I need for that is a u-repost
#
barnabywalters
right now most of the reposts are coming from bridgy so they already have “retweeted this” text which Taproot just displays, I’ll probably replace that with my own text once reposts start coming in from other places
#
barnabywalters
so from the point of view of waterpigs.co.uk, all I need is a u-repost
#
barnabywalters
so a short paragraph saying “Reposted from <a …>waterpigs.co.uk</a>” should suffice
#
barnabywalters
for both humans and machines
#
barnabywalters
(that <a> has a href and class="u-repost")
#
barnabywalters
any opinions about u-repost vs u-repost-of?
#
barnabywalters
no harm in including both of them, there doesn’t seem to be any consensus though. I think taproot consumes both
#
barnabywalters
huh actually looks like Taproot only consumes u-repost-of
#
barnabywalters
that <pre><code> is leaking off the page a bit…
#
barnabywalters
yeah wordpress is removing all the whitespace whenever you switch from visual to HTML editor
#
barnabywalters
baking some stuff, brb
#
tantek
u-repost-of is good
#
tantek
barnabywalters What do you think of moving the parenthetical (Reposted…) to the end of the blog post?
#
tantek
and yes, probably wouldn't hurt to put in some linebreaks in the pre code blocks :)
#
barnabywalters
tantek: sure, that would move it out of the way
#
barnabywalters
tantek: I *want* to add line breaks but wordpress keeps on removing them
#
tantek
also at the end you mention "They’re syndicated to my twitter account too."
#
tantek
which is similar
#
barnabywalters
yep, it fits in better there
#
tantek
also not sure how to (re)word that so it makes more sense in context?
#
tantek
rather than "my" etc.
#
tantek
seems to assume a context of your own blog
#
tantek
just seeing how it reads
#
tantek
I think you could even edit that last paragraph to be different for the "reblogged" copy
#
barnabywalters
sounds like a plan, will do so once these kanilsnudar are in the oven
#
tantek
awesome
#
tantek
it's looking good!
caseorganic and joeysim joined the channel