#indiewebcamp 2012-11-26

2012-11-26 UTC
brianloveswords, dascher, tantek, e2580, donpdonp, andreypopp, barnabywalters and adactio joined the channel
#
@BarnabyWalters
New way to subscribe to my #indieweb notes feed: via iCal! http://waterpigs.co.uk/notes.ics (http://waterpigs.co.uk/notes/593/)
friedcell, dascher, friedcell1, jancborchardt, a, barnabywalters_, joshr__, tommorris_ and barnabywalters joined the channel
#
barnabywalters
tommorris_: while I think of it, regarding something you mentioned a few days ago about wanting to use Accept headers in image tags: most browsers already do that for you (as authors telling browsers what to accept would be backwards) BUT there are some caveats with old browsers
#
barnabywalters
I seem to remember old versions of Safari and FF rank image/png *higher* than text/html in their conneg headers
#
barnabywalters
no idea what IE does, and probably best not to ask
#
barnabywalters
regardless, it would be great to be able to write <img src="http://tommorris.org"> and have automatic favicons/profile images
#
aaronpk
that would be awesome
#
aaronpk
looks like Chrome sends Accept: */* unfortunately
#
barnabywalters
aaronpk: in <img> tags? damn :(
#
friedcell1
barnabywalters: yep, I'm having problems with their Acceprt: */* too
#
friedcell1
the annoying thing is that if you don't send them an image
#
friedcell1
it'll complain in console that it got something that it doesn't accept
#
barnabywalters
heh — it should have been more specific then ;)
#
aaronpk
yea it says "Resource interpreted as Image but transferred with MIME type text/html"
#
barnabywalters
that’s really annoying. I would have thought all modern browsers send sensible conneg headers
#
aaronpk
in theory it should even be able to specify the desired width/height based on the width and height attributes of the image tag
#
barnabywalters
aaronpk: *drools*
#
barnabywalters
adds chrome’s */* img accept header to the MDN content negotiation page
#
tommorris_
barnabywalters: I might do just that. ;-)
#
tommorris_
I'll add a conneg header for / ;)
#
tommorris_
could do conneg for PDF too. with wkhtmltopdf, the server could render a pretty PDF and send it.
#
barnabywalters
tommorris_: It’s got to be worth a try, provided you don’t mind people using old browsers getting the image version instead of the HTML :/
#
barnabywalters
tommorris_: earlier today I added conneg for icalendar format to my notes. I’m going to do the same with my contact details on my homepage
dascher, andreypopp, tommorris, hober, morrocco_mole, e2580 and tilgovi joined the channel