#social 2015-03-02

2015-03-02 UTC
the_frey, the_frey_, bblfish, almereyda, shepazu, jaywink, wseltzer_valencia, pfefferle, pfefferle_, stevenroose, Augier, AugierLe42e and harry joined the channel
#
aaronpk
yeah we've had some success with PuSH
#
aaronpk
melvster: ^
#
aaronpk
I did a little writeup of how to publish and consume PuSH 0.4
#
melvster
aaronpk: thanks
#
melvster
aaronpk: is it used alot these days? didnt hear much about it for a few years
#
aaronpk
yeah i haven't heard much either, thought I'd give it a try again
#
aaronpk
rather than reinvent something
#
aaronpk
PuSH 0.4 works with any URL regardless of content type so that's nice
#
melvster
aaronpk: <link rel="hub" href="https://kylewm.superfeedr.com/"> .. is there any way to change hub into a URI? (I should probably know the answer to that, but cant remember)
#
melvster
content types are important
#
melvster
part of REST
#
aaronpk
content type is important only if REST is important
#
aaronpk
my writeup is HTML centric but you should be able to substitute in your head when reading it
#
aaronpk
what do you mean change hub into a URI? that looks like a URI to me
#
melvster
REST is the architecture of the web so many people like it
#
aaronpk
actually turns out HTML is the architecture of the web
#
aaronpk
virtually no APIs are actually REST
#
melvster
but that's like arguing that virtually no people are not racist ...
#
aaronpk
lol no it's not
tilgovi joined the channel
#
melvster
in linked data all properties have to be uris
#
melvster
you can say urn:bob
#
melvster
but not bob
#
melvster
that would break some of the tooling
#
aaronpk
for PuSH, the hub has to be a URL that can be reached via http or https
#
melvster
yes i mean the property not the value ... the value is a uri but the property, "hub", is just a string
#
aaronpk
well PuSH consumers are looking for exactly rel="hub"
#
melvster
that's ok
#
aaronpk
so you'd have to make a variation of the spec if you wanted to change that
#
melvster
it's just for it to work with some of my tooling i need both the "hub" and a uri version, something like microformats.org/hub
#
aaronpk
you can add any other rel values you want as long as "hub" is still there
#
aaronpk
(i wouldn't do microformats.org/hub tho since it's not really in the realm of microformats)
#
melvster
is there an iana registry for all these terms?
#
aaronpk
good question, not sure if this falls under the html5 registry of rel values
#
melvster
i know you can do urn:ietf:rfc
#
melvster
im sure there's an answer to this question, just dont know what it is
#
aaronpk
"hub" is registered in the html5 registry right now
shepazu joined the channel
#
aaronpk
which is the official registry of both W3C HTML5 and WHATWG HTML
almereyda, jaywink_, stevenroose, harry, the_frey, shepazu, bblfish and melvster joined the channel