#indiewebcamp 2014-05-15

2014-05-15 UTC
#
pauloppenheim
i'm not totally convinced the sandbox is sound until some finer minds than mine have had a look
#
pauloppenheim
but it appears sound from a high level, assuming containers, jails, etc
#
jedahan
why yes pdurbin
#
pdurbin
jedahan: you're getting one?
#
jedahan
I am hoping we get 46 more backers...then all non-bareboard backers get a free SDR with it
#
jedahan
and to be honest
#
jedahan
SDR is probably the easiest entry point for more software oriented people like me
#
pdurbin
jedahan: oh, it's your project?
#
jedahan
I'm just a backer
#
jedahan
the only thing I can think of using the FPGA for is maybe...like a synthesizer
#
jedahan
i dunno
jonnybarnes joined the channel
#
pauloppenheim
that's a little rich for my blood in both cash and time commitment, but it sounds cool
#
snarfed
!tell kylewm nice job handling webmentions for updated sources. rare to see that actually implemented
#
Loqi
Ok, I'll tell them that when I see them next
caseorganic joined the channel
#
GWG
snarfed: Got a minute?
#
snarfed
GWG: shoot!
#
GWG
snarfed: I've been soliciting thoughts again. I have this plugin I've started which replaces the comments template with a Facepile and mf2 compliant comments.
#
GWG
After some thought around here, I'm thinking of adding webmentions
#
GWG
What else fits into a plugin that takes over Wordpress comments of an Indiewebish nature
#
snarfed
mf2 parsing is the big one. handling likes, reshares, rsvps, etc correctly
#
aaronpk
luckily you have php-mf2 to do all the hard stuff!
#
aaronpk
s/all/most of/
#
Loqi
aaronpk meant to say: luckily you have php-mf2 to do most of the hard stuff!
#
snarfed
having said that…the facepile part makes sense, but now this is overlapping with pfefferle's plugins. why do that, out of curiosity?
#
aaronpk
you may also be interested in this: https://github.com/indieweb/php-comments which tries to return sensible data for comment display given parsed microformats
#
snarfed
GWG: another thing that'd be useful to work on is intelligent handling of text in likes and reshares
#
snarfed
e.g. they should go into the facepile if there's no text, or if the text is just something like "X likes this," but if they have meaningful text they should probably display as a comment, maybe with an additional "like" indicator
#
snarfed
that'd be good work that complements your and pfefferle's existing stuff
caseorganic joined the channel
#
GWG
snarfed: The parsing is done by the semantic linkbacks plugin.
#
snarfed
great! and webmention sending and receiving would be done by wordpress-webmentions?
#
GWG
snarfed: Yes.
#
GWG
This is a display plugin
#
GWG
I have a test, if you'd like to see
#
snarfed
ah, great! ok. i was confused by the phrase "adding webmentions"
#
GWG
I can switch themes if you want
#
snarfed
ah, i see. you mean, adding mentions that weren't specifically replies, reshares, likes, etc
#
snarfed
extracting snippets intelligently would be another good thing to work on
#
snarfed
ie for a mention from a long article, you don't want to include the whole text, but you do want enough to give some context
#
snarfed
deciding what to extract, and how to render it, is an interesting problem
#
GWG
snarfed: Well, it is already in the database because the existing plugin has brought it in.
#
GWG
There could be a second extraction layer, I suppose.
#
GWG
Also, I was thinking about hovercards
brianloveswords joined the channel
#
GWG
Also, this idea..
caseorganic, fmarier, scor, snarfed, tilgovi, brent, bret and nloadholtes joined the channel
#
snarfed
Jeena: hey, just fyi, looks like your photo pages sometimes don't like webmentions: https://www.brid.gy/facebook/728407677#responses
nloadholtes joined the channel
#
snarfed
whee, the CMS developer tar pit is even bigger now :P
jedahan, caseorganic, voxpelli, hugoroyd_, ngoldman, benward and kylewm joined the channel
#
Loqi
kylewm: snarfed left you a message 2 hours, 42 minutes ago: nice job handling webmentions for updated sources. rare to see that actually implemented
#
kylewm
thanks!
jgee, caseorganic, jedahan, j12t, j12t_ and tantek joined the channel
#
Loqi
tantek: aaronpk left you a message 5 hours, 19 minutes ago: getting 502 bad gateway from http://cassisproject.com/
#
Jeena
!tell snarfed thanks, I will check that after I get home from work today
#
Loqi
Ok, I'll tell them that when I see them next
snarfed joined the channel
#
Loqi
snarfed: Jeena left you a message 16 minutes ago: thanks, I will check that after I get home from work today
dariusdunlap joined the channel
#
Jeena
hm this is not good. All favs of a tweet have the same url.
#
snarfed
Jeena: you mean the bridgy urls?
#
snarfed
oh i see, the u-url inside them. yeah, there's no fragment for individual favorites, sorry
#
Jeena
yeah, I will add a optional uid field, which bridgy provides
#
Jeena
then I can check for the uniqueness of the url and uid
#
Jeena
together
#
snarfed
good call
#
Jeena
I often wondered why not all likes/favs got to my page but kind of assumed they just were private on facebook or something so bridgy couldn't see them
#
snarfed
bridgy does indeed ignore private posts, but afaik comments and likes inherit their parent post's audience setting, so yeah, this may be it
KevinMarks_, caseorganic, basal, snarfed, paulcp, jsilvestre, cweiske, Garbee, eschnou, tantek, LauraJ, pfefferle, rektide, pdurbin, ben_thatmustbeme, jonnybarnes, glennjones, lukebrooker, nloadholtes, tobiastom, ttepasse, friedcell, fmarier, Sebastien-L, chrissaad, tpinto, krendil, scor and barnabywalters joined the channel
#
Loqi
barnabywalters: snarfed left you a message on 5/14 at 10:38am: funny. i added the fb event oauth scopes after you signed up, so your bridgy access token doesn't include them. if you re-signup for bridgy, it should start backfeeding the rsvps
carlo_au, alistair, john3213, caseorganic, pfefferle, scor, Sebastien-L and jonnybarnes joined the channel
#
barnabywalters
has anyone here had any poor experiences with ZIP as an archival format?
jedahan joined the channel
#
barnabywalters
my archive of HTML+headers of pages I’ve linked to is growing rather large — around 160MB
#
barnabywalters
but compressed, it’s only 30MB
#
barnabywalters
at the moment it’s not a big deal, but as it gets larger I’m considering storing it in a ZIP archive permanently, and reading/writing it using PHP’s ZipArchive class
#
cweiske
why do you store them?
#
barnabywalters
cweiske: various reasons — as a personal archive of things I’ve linked to, in case they go away
#
barnabywalters
as a basic cache
#
barnabywalters
and in the future I might implement something which goes over my old posts, checks for broken links and displays the (unstyled) archived data instead
#
cweiske
how do you store the headers?
#
barnabywalters
also, so that if I improve the way I show reply contexts/comments from HTML, I can re-parse pages without re-fetching
#
barnabywalters
cweiske: just as a text file containing the HTTP header data
#
barnabywalters
I was considering storing the entire HTTP response in single text files, but then you can’t view the pages in a browser
#
cweiske
re-parsing is a good point
#
barnabywalters
that one is aaronpk’s idea
#
barnabywalters
cweiske: my archival code is here, if you’re interested: https://github.com/Taproot/archive
#
barnabywalters
for some reason, there is no .http format
#
@tilgovi
And cross-origin (cross-service) replies/linking/etc. #annopeer #webmention
(twitter.com/_/status/466934701878706176)
basal, chloeweil, brianloveswords, tantek, jedahan, pfefferle, dariusdunlap and kevinbae joined the channel
#
aaronpk
barnabywalters: I just had an idea
#
aaronpk
rather than store the HTTP headers in a separate file, we can put them in the html file inside a comment block!
#
barnabywalters
aaronpk: I had considered that! haven’t implemented it yet for several reasons
#
barnabywalters
mainly that it involves messing with the archived HTML, and requires extra parsing and pre-processing on reads+writes
#
barnabywalters
compared to just reading/writing from a text file
#
aaronpk
that's true, but I wonder if it ends up being more permanent than a side file for the headers
#
barnabywalters
it has the advantage of each file becoming standalone
#
aaronpk
should be pretty easy to make an archive parser that returns the two parts anyway
#
barnabywalters
but that’s not really a use case I’ve needed yet
#
barnabywalters
I’ll raise an issue on taproot/archive
#
tantek
if you're really looking to make the file standalone (not requiring special knowledge to interpret), you could translate the HTTP headers into <meta> tags
#
tantek
<meta http-equiv>
#
barnabywalters
tantek: that’s an interesting idea
#
tantek
and for each such meta tag, if it already exists, don't add it
#
tantek
so that the operation is idempotent
#
tantek
i.e. if you ended up serving that actual file from some webserver and then did the archive process on it again, you should end up with the same result
caseorganic joined the channel
#
tantek
I believe with the addition of the meta status code we did for webmention handling, that should allow you to capture all the HTTP headers as meta http-equivs
#
@hertling
@designhawg @FCC @caseorganic What IndieWeb is doing for the web, we need IndieNet to do for the net.
(twitter.com/_/status/466966726715142145)
caseorganic joined the channel
#
tantek
!tell aaronpk cassisproject.com WFM - perhaps a transient PBWorks error? si(gh)los
#
Loqi
Ok, I'll tell them that when I see them next
nloadholtes joined the channel
snarfed, bnvk and nloadholtes joined the channel
#
rascul
barnabywalters xz might be better for compression
#
Jeena
snarfed, I fixed the problem by adding the uid, and I see I got 54 likes from Twitter + Facebook on this image https://jeena.net/photos/9 but none from the indieweb! ^^
#
bret
i hadn't seen it o.0
#
bret
plus I still need to implement likes
brent joined the channel
#
Jeena
but I see there is a bug, int is not at all 54 likes, hm some of them are not unique!
#
@sil
@adactio ooh, that's cool. Why not just use pingback? I assume the answer is "XML-RPC, man, why", for which I apologise :)
(twitter.com/_/status/466974861538394113)
luxagraf joined the channel
#
@jjmajava
Similarily very few "follow" individual blogs anymore. Makes me think: Could there be an #indieweb version of @medium http://qz.com/209950/the-homepage-is-dead-and-the-social-web-has-won-even-at-the-new-york-times/
(twitter.com/_/status/466980291530457088)
#
tantek
FYI @sil is one of the co-creators/co-editors of pingback.
adactio joined the channel
#
tantek
welcome adactio!
#
tantek
we were just noticing the conversation between you and @sil
#
snarfed
Jeena: glad the bug is fixed!
#
tantek
oh hey look at that, Webmention got a Wikipedia article: http://en.wikipedia.org/wiki/WebMention
#
tantek
what is wikipedia?
#
tantek.com
edited /Wikipedia (+220) "dfn, link, headings, note indieweb articles, see also"
(view diff)
#
Jeena
after I implemented WebMention I just can not understand anymore why in Jesus name anyone thought Trackback or xmlrpc would be a good idea.
#
adactio
tantek: yeah, I need to make it clearer how web mentions is working on my site.
paulcp joined the channel
#
@BarnabyWalters
@sil @adactio fwiw, pingback was extremely valuable prior art for webmention, the first indieweb… http://waterpigs.co.uk/notes/4W5GfB/
(twitter.com/_/status/466981422532542464)
#
adactio
tantek: an illuminating little back-and-forth though. (I hope Stuart can come to a future Indie Web Camp)
#
tantek
adactio - you're not the only one. That pattern has been picking up.
cweiske joined the channel
#
tantek
of providing a URL input box
#
adactio
tantek: Oh, cool!
#
tantek
so any UX improvements you come up with will be quite handy to numerous folks
#
rascul
how do i leave a note for someone with Loqi ? i can't remember
#
tantek
!tell rascul you can tell Loqi "!tell tantek something"
#
Loqi
Ok, I'll tell them that when I see them next
#
rascul
ahh ok thanks!
#
Loqi
rascul: tantek left you a message 18 seconds ago: you can tell Loqi "!tell tantek something"
#
rascul
!tell barnabywalters you might look at xz for compression instead of zip it usually compresses things quite good, 7z is also pretty good with compression rates
#
Loqi
Ok, I'll tell him that when I see him next
#
rascul
thank you Loqi
#
Loqi
is done
#
barnabywalters
rascul: I’m right here :)
#
Loqi
barnabywalters: rascul left you a message 18 seconds ago: you might look at xz for compression instead of zip it usually compresses things quite good, 7z is also pretty good with compression rates
#
rascul
you were hiding!
#
barnabywalters
thanks for the advice — I’ll check them out
#
tantek
adactio: see http://indiewebcamp.com/webmention##input+form and other mentions of "input form"
#
@upbookings_
RT @jjmajava: Similarily very few "follow" individual blogs anymore. Makes me think: Could there be an #indieweb version of @medium http://…
(twitter.com/_/status/466982618731655169)
#
tantek
(darn those fragmentions are useful)
#
rascul
barnabywalters with xz you'll probably want to put everthing in a tarball and compress that, but iirc 7z has both a compression and archive format
#
barnabywalters
rascul: the advantage of zip in this case is a) that it can archive a whole folder structure and b) that I can read/write it from PHP without extracting
#
bret
tantek: I think I started the webmention wikipedia article XD
#
tantek
bret - yes I checked the history ;)
#
bret
i should check back in on that
#
barnabywalters
in essence, it’s a little sandboxed filesystem
#
rascul
everything works with tarballs!
#
Loqi
agreed.
#
rascul
tarballs are what zip archives can only dream of being
#
bret
tar -xfvz
#
bret
err wait
#
bret
which one
#
bret
a wapper for tar with some intelligence about what you are trying to do is long overdue
#
rascul
wrappers are for newbies!
#
rascul
also with tar you don't need to - the options
jgee joined the channel
#
bret
smartar folder - > results in a new archive
#
barnabywalters
well, looks like PHP has just as good support for manipulating tar archives as it does ZIP archives
#
bret
smartar somearchive -> extracts it
#
tantek
adactio - interesting that sil didn't notice that the very form he used took care of sending the webmention.
#
tantek
(which couldn't be done with xml-rpc)
#
tantek
perhaps a bit too seamless? ;)
#
luxagraf
question for those of you using filesystem-based publishing systems, are you storing your comments/webmentions outside of your post/note/whathaveyou and if so how?
#
rascul
barnabywalters i dunno about php's xz support though
#
bret
rascul: yes they are for newbies, but lower barriers is a good thing right?
#
rascul
perhaps
#
luxagraf
barnabywalters: I have had zip archives go corrupt, never had tarballs do the same. just my 2cents
#
bret
reduces the gap between never using something and having that much more experience to learn the more advanced tool
#
barnabywalters
luxagraf: thanks for the data point!
#
rascul
ok now i go back to work for a few more hours
#
tantek
fascinating quick blog post about IndieWeb / Google Buzz / Open Social which I missed when it was published: http://kevinbeynon.com/article/34/webmentions_and_the_real_social_web
#
aaronpk
tantek: yeah cassisproject.com works for me now. yesterday i was getting the error on cassisproject.com and cassisjs.org but the wiki was fine, was just a problem with the redirect
#
luxagraf
barnabywalters: are your regular comments stored the same way? or do you do webmentions only?
#
Loqi
aaronpk: tantek left you a message 55 minutes ago: cassisproject.com WFM - perhaps a transient PBWorks error? si(gh)los
#
tantek
aaronpk very odd - perhaps my DNS provider was having issues
#
barnabywalters
luxagraf: the only non-webmention comments I have on my site are old ones imported from diaspora, all of which just have fake/approximated URLs
#
luxagraf
barnabywalters: gotcha. i'm trying to figure out the best way to store and then lazy load both on-site comments and webmentions with as few requests as possible
caseorganic joined the channel
#
tantek
luxagraf: aside, if you're looking for backcompat in micro-markup for G/Y/B, uf v1 works for that
brianloveswords joined the channel
#
tantek
(and is easier/less code than microdata)
#
tantek.com
edited /Posts_about_the_IndieWeb (+135) "Webmentions and the REAL Social Web from 2013-09-16"
(view diff)
KevinMarks joined the channel
#
luxagraf
tantek: thanks. that was my first plan, but now I think I'm leaning toward v2 + microdata because i see google eventually abandoning everything they don't control
#
bret
"si(gh)los" would make a good button/sticker
#
tantek
luxagraf - that's unlikely. they're motivated to support what is *published*
#
tantek
they abandon the crap they make up that fails to gain traction
#
tantek
digs up the history 
#
kylewm
luxagraf: I used to store mentions inside the note blob, but have since moved them to a parallel json file http://indiewebcamp.com/Red_Wind#Filestore
dybskiy joined the channel
#
luxagraf
tantek: true
jedahan and dybskiy joined the channel
#
luxagraf
kylewm: what made you change?
#
tantek
luxagraf, example markup/data mechanisms that Google has abandoned, which were their own made-up stuff that they "controlled": Google Base schema, Google Data API/Elements,
#
kylewm.com
edited /Red_Wind (-32) "/* Filestore */ removed broken link to private repo"
(view diff)
#
tantek
those are among a bunch of attempts that were abandoned, more in this blog post: http://microformats.org/2012/06/25/microformats-org-at-7
#
luxagraf
tantek: didn't they also abandon the markup behind those little chat/comment/whatever widgets people used to put on their site?
#
tantek
oh yeah. what were those called?
#
bret
opensocial?
#
luxagraf
tantek: might be, i don't remember. i just remember they were a pain to hide in my userstyles file
#
kylewm
luxagraf: just aesthetics really... I wanted my post files to be more text content than structured data (with the intention that I might edit them by hand some day)
#
tantek
bret - google has abandoned opensocial but not before it took on a life of its own in an enterprise-run opensocial foundation which limps along to today. not sure who or what is actually using it live on the web.
#
bret
oh crap i never even made the connection
#
bret
that came out of google's open social?
#
bret
ill go read about it
#
bret
actually maybe not i have better things to do
#
luxagraf
I didn't know that was from google's open social either.
#
@sebfiedler
RT @jjmajava: Similarily very few "follow" individual blogs anymore. Makes me think: Could there be an #indieweb version of @medium http://…
(twitter.com/_/status/466988117824901120)
brainTrain joined the channel
#
luxagraf
kylewm: that's pretty much my thinking as well, but it means i need some way to associate the two, which adds a layer of complexity that might be even worse long term
#
luxagraf
kylewm: I'm always worried my entire publishing system is progressing something like the architecture of the winchester mansion
#
barnabywalters
luxagraf: wanting to avoid difficult-to-maintain complexity was one of the reasons I went with URLs as the way of matching up responses to content
#
@bretolius
@jjmajava: @Medium could be THE indieweb medium… if they let us syndicate our writing using #indieweb standards: #webmention + @microformats
(twitter.com/_/status/466988934879117312)
paulcp joined the channel
#
barnabywalters
it also gives me extra incentive to keep my URLs working :)
#
kylewm
luxagraf: hahah, yes ... a valid concern that i share. going through a phase of feature proliferation right now, hopefully in the future i'll remove the stuff i don't use/need
#
Loqi
nice
pbeaulieu joined the channel
#
aaronpk
just installed the new Foursquare app - Swarm
nloadholtes joined the channel
#
bret
aaronpk: you mentioned medium people seemed interested in syndication right?
#
aaronpk
bret: KevinMarks was the one actually having that conversation with them
#
bret
oh right
basal joined the channel
#
@t
@sil, @adactio's "Let me know the URL:" form just HTTP POSTs a webmention. His wm endpoint fetches content & posts it. (ttk.me t4W51)
(twitter.com/_/status/466991245286334466)
#
tantek
couldn't stand that not being made clear. especially since it's a distinguishing feature/ability of webmention over pingback
#
tantek
hoping I explained that clearly enough in so few characters
paulcp joined the channel
#
@sil
@t ya. I knew nothing of webmention until @adactio introduced me to it earlier :)
(twitter.com/_/status/466991584542990336)
#
luxagraf
kylewm: yeah I'm in the process of adding 3 new data types and comments and webmentions
#
luxagraf
kylewm: then i'll see which ones i actually use and dump the rest
#
aaronpk
so interesting thing about Swarm, it's very well done
#
aaronpk
cool new feature for "plans" too
#
aaronpk
which actually makes me want to keep using foursquare now
#
tantek
aaronpk, does Loqi only see singular "webmention" and not "webmentions" in tweets? e.g. https://twitter.com/t/status/466993632935809024
#
@t
@sil a-ha. Nice side-effect of "just" using HTTP, simple HTML form (no JS) can send webmentions http://tantek.com/2013/258/t2/web-protocols-should-use-http-params-no-xml (ttk.me t4W52)
(twitter.com/_/status/466993632935809024)
#
aaronpk
huh I suppose so
#
aaronpk
twitter search must only match full words
#
luxagraf
kylewm: I blame git. it's too easy to create branches
#
tantek
searches for indiewebs
#
tantek
ignores "indiewebs"
#
brainTrain
I prefer indiewebz
#
brainTrain
it's more webzy :p
#
aaronpk
k "webmentions" is added now
#
aaronpk
loqi might catch up on those
#
aaronpk
some of them anyway, not sure how far back search archives go
#
adactio
Here's a just-published rallying cry by the the brilliant Mandy Brown for publishing on your own website: http://aworkinglibrary.com/writing/index-cards/
#
aaronpk
"Even if you’ve never seen YAML before, you can probably figure this out at a glance." http://aworkinglibrary.com/writing/index-cards/##never+seen+YAML
#
tantek
nice! add it to Posts about...
#
bret
yaml is easy to use intill you actually start doing arrays and objects
#
bret
until*
#
aaronpk
arrays are pretty easy
#
aaronpk
arrays of objects less so
#
bret
which i used for some reason
#
bret
on top of that I used anonomous things mixed in
#
bret
like whaaat?
kbs joined the channel
#
bret
this respect network thing is nutty
#
bret
here is your user name now pay us
#
tantek
bret - feel free to details to the nuttiness: http://indiewebcamp.com/Respect_Network
#
bret
i just got an invite today, figured I would take a peek
squeakytoy joined the channel
#
tantek
btw - heads-up this is going out on Monday: http://www.w3.org/2013/socialweb/social-wg-charter.html (not official yet)
#
tantek
feel free to AMA
#
@t
@sil a-ha. Nice side-effect of "just" using HTTP, simple HTML form (no JS) can send webmentions http://tantek.com/2013/258/t2/web-protocols-should-use-http-params-no-xml (ttk.me t4W52)
(twitter.com/_/status/466993632935809024)
#
@adactio
@sil You said it. :-) I never would’ve been able to implement pingback. I implemented webmentions in an afternoon.
(twitter.com/_/status/466980166724366336)
#
tantek
To be clear about one thing, I still intend to focus on this community first (including contributions here in IRC and on the wiki). I was asked to help W3C hopefully make some (re-)use of IndieWeb tech (and community practices).
#
luxagraf
tantek: can you say who else is participating?
#
tantek
luxagraf - so far just the folks named in the charter page I linked to
#
tantek
but that's how these things start at W3C, and then they send it out to the companies / members of W3C to officially approve and say whether they will send a representative
#
tantek
aaronpk, any early reports on Swarm? indieweb connotations?
KartikPrabhu joined the channel
#
luxagraf
tantek: once that charter is up it might be interesting to add a community group that's someone related
#
luxagraf
that's worked out well for responsive images
#
tantek
luxagraf - in a case where there isn't already a community, I would agree.
#
tantek
however, I'd say #indiewebcamp serves that purpose already
#
tantek
not sure what a CG would add to that mix
#
tantek
and may take away
#
luxagraf
absolutely, i was just thinking community group might have more pull with the W3C, which seems to discount things not under its auspices (from what I've seen)
#
tantek
right - I think that's one of the reasons they asked me to co-chair, was to bring more pull from IndieWeb into W3C
#
luxagraf
s/someone/somewhat
#
tantek
my hope is to fight that tendency of "seems to discount things not under its auspices "
#
tantek
I've been working to get W3C to more accepting of other standards efforts like WHATWG, microformats, and indiewebcamp related tech as well
#
tantek
to *be more accepting
iangreenleaf joined the channel
#
kylewm
luxagraf: re: previous conversation about frankenstein architecture. my biggest itch right now is that i want to generalize {notes,replies,likes,reposts,articles}, so that they can be more than one thing (e.g., an article can be in reply to something), and new types (e.g., "bookmarks") can be added without changing code
#
luxagraf
tantek: come now, don't ruin the standards soap opera by getting consensus :-)
#
tantek
kylewm - what do you think of the brainstorming here? http://indiewebcamp.com/posts#Inferring_post_kinds_from_properties
#
tantek
kylewm - feel free to add to that analysis on the /posts page
#
tantek
I think it's a challenging problem that none of us has quite figured out yet
nloadholtes joined the channel
#
aaronpk
it's probably time to follow up on that post now that i've actually created a bunch of content since then and have implemented photos
#
luxagraf
kylewm: back when friendfeed was big and everything was a "life stream" my cms became more abstracted like that
#
kylewm
tantek: cool, thanks for the pointers! right now all my stuff has the same data structure and presentation internally, so it's weird to me that i have these types hardcoded. can definitely see how photos/checkins/events would merit their own top-level type
#
luxagraf
but i ended up dumping that idea and going back more specific content types because I realized 90% of what I did was articles anyway
jonnybarnes joined the channel
#
jonnybarnes
oh, wheres snarfed when you need him :P
#
kylewm
I think my goal is definitely smaller than "unify everything" ... I really just want to get rid of reply/repost/like as separate types in my code
#
luxagraf
kylewm: i can see that. those sort of seem like things inherited from silos that might not make sense outside of them?
KartikPrabhu1 joined the channel
#
kylewm
exactly!
#
kylewm
jonnybarnes: need snarfed for activitystreams knowledge?
#
luxagraf
reply always makes sense, but, in my cms at least that's just a url field. If that field is filled, the post will get in-reply-to class if not then it won't
#
jonnybarnes
kylewm: for bridgy stuff, I've just moved VPS so my site was down for a little while, which just happened to coincide with someone favouriting one of my tweets
#
jonnybarnes
so the webmention that bridgy sends currently has a u-like-of for the twitter link and a u-like-of for the short link
#
jonnybarnes
normally it also has a u-like-of for the full link as well
#
jonnybarnes
without my site wont actually parse the webmention
#
luxagraf
nevermind the fact that I've never actually used said field, it's there, just waiting.
#
kylewm
oh interesting, so it cached the failed redirect
#
aaronpk
wow so many things I like about the new swarm app
#
aaronpk
will try to do a quick writeup
#
tantek
interesting. ok, downloading swarm.
#
aaronpk
it puts the old foursquare app to shame
#
tantek
aaronpk, I'm just glad I have Checkie, and Foursquare v4 (the pinnacle of their UI IMO) to compare!
#
aaronpk
i might even use swarm more than checkie now. we'll see
#
tantek
aaronpk, don't forget 4Sq UI went downhill after v4 to v7
#
aaronpk
i can't remember what v4 was, do you have screenshots?
#
tantek
I can make screenshots :)
#
tantek
such a clean UI
#
aaronpk
that would be fantastic! a quick blog post maybe? or a /Foursquare-v4 page?
#
tantek
yeah I think it's in my queue to do a post like that.
#
tantek
for now I guess I can take screenshots on demand or something
#
tantek
if you'd find it useful
#
aaronpk
I would love to see them, even just a few screenshots of the main screens on a wiki page would be useful
#
tantek
ok maybe when I've got a screenful of folks checking in a "public" thing like an event or something
#
tantek
I'll start with the main screen
#
tantek
aaronpk, feel free to stub /Swarm also :)
#
KartikPrabhu1
tantek: out of curiousity, any reason JSON is prefered data-syntax for "Social Data Syntax"? << tantek
#
aaronpk
i was wondering about that too, heh
#
tantek
because I haven't finished fighting the "shipping code wins" battle
#
aaronpk
figured it was something like that :)
#
tantek
oh don't worry, there'll be plenty of questioning of such things like that
#
KartikPrabhu1
I figured that... but W3C itself has microdata and all that, but they still want JSON...
#
tantek
also, should you or any of your companies want to get involved in the WG, you can do that too ;)
#
tantek
aaronpk, is ESRI a W3C member?
#
tantek
KartikPrabhu1: nope, W3C has abandoned microdata
#
aaronpk
good question
#
KartikPrabhu1
\nick KartikPrabhu
#
tantek
they made it into a "Note" which is a way of saying "no one cares enough about this work at W3C for it to continue here"
#
KartikPrabhu
tantek: oh... didn't realise microdata was ditched
#
aaronpk
if esri is, it's in relation to the GIS formats they've developed long ago
#
aaronpk
is that list always complete?
#
tantek
do you know how ESRI decides which standards orgs it decides to participate in and not?
#
tantek
KartikPrabhu: microdata is maintained now only in the WHATWG HTML "living specification" which contains all the WHATWG extensions to HTML in various stages.
jedahan joined the channel
#
tantek
but no one at W3C cared enough about it to continue working on it. so that says something.
#
tantek
aaronpk, yeah, up to you whether you think it's worth it for ESRI to join W3C to pursue it there. http://www.w3.org/Consortium/join.html
#
KartikPrabhu
read this last night: http://diveintohtml5.info/past.html the whole process seems like a lot of work :P
#
aaronpk
looks like they are part of OGC
#
luxagraf
i did not know that (microdata), is that fallout from the rdfa is better drama?
KevinMarks joined the channel
#
tantek
luxagraf - I think in that drama both were burned, or certainly left a burning smell.
#
tantek
eventually it fell to apathy
#
KartikPrabhu
should resume my RDFa debate with Ruben Verbogh
#
tantek
KartikPrabhu: most RDFa folks have moved onto JSON-LD
#
KartikPrabhu
tantek: not "academics" ;)
#
luxagraf
ugh json-ld is what made my realize the schema people were crazy
#
KartikPrabhu
looks up json-ld
#
luxagraf
see also: url
#
kylewm
jonnybarnes: afaict bridgy doesn't try to follow redirects when constructing the fake HTML page that represents the like/comment
#
kylewm
jonnybarnes: it's extremely possible that i'm wrong though :)
#
aaronpk
WHOA! tapping the "checkin" button in the foursquare app now launches Swarm
#
kylewm
jonnybarnes: nm, i was in fact wrong,
#
jonnybarnes
kylewm: do we know if we can get bridgy to re-attempt checking redirects?
#
KartikPrabhu
"Linked data - That's just the web, right?" nice!
#
tantek
aaronpk - not in my Foursquare v4 ;)
#
aaronpk
i'm surprised that app still even works! they've been making breaking api changes and everythiung
#
kylewm
jonnybarnes: it should re-check them eventually, i do not know exactly how long the memcache life is, but it's not very long
#
kylewm
yeah the oldest thing in the memcache is 12minutes old :)
#
adactio
Interesting. Instapaper is implementing fragmentions: http://bthdonohue.com/post/85643490431/instapaper-fragmentions (I'm sure you've all probably all seen that already but I just found out)
#
kylewm
google app engine's free memcache is tiny
#
tantek
adactio - yes, KevinMarks was quite pleased with that :)
#
KartikPrabhu
adactio: didn't know that! pretty cool
#
KevinMarks
And shipping support in their browser extensions
bnvk and brianloveswords joined the channel
#
aaronpk
and on the complete opposite end of the spectrum, I'm super disappointed that instagram dropped foursquare's venue database and replaced it with facebook. the venues are *so bad* now
pbeaulieu joined the channel
#
tantek
aaronpk, yeah :(
brent joined the channel
#
tantek
aaronpk, any additional insight / criticism you can add on that appreciated: http://indiewebcamp.com/Instagram#Switch_from_Foursquare_to_Facebook_venues
#
tantek
A tale of two Instas
#
Jeena
snarfed
#
Jeena
oh he is offline hm
#
luxagraf
can someone clear this up for me, why would the body of a comment get p-summary (as per http://indiewebcamp.com/comment-presentation#Display_received_comments_brainstorm) ?
#
tantek
luxagraf - that frag appears to be broken, could you retry?
#
kartikprabhu.com
edited /events/2014-05-21-homebrew-website-club () "(-633) /* Homebrew Website Club Meetup */ removed Chicago for 2014-05-21"
(view diff)
#
kylewm
aaronpk: do you handle mentions w/ fragments? ref https://aaronparecki.com/webmention/4jGzYs0t
#
KartikPrabhu
luxagraf: I'd use p-summary only if it was a summary or truncated version of the reply. If it is the full reply I'd use e-content
#
luxagraf
KartikPrabhu: that's what I was thinking, but then that example uses p-summary
#
KartikPrabhu
i feel that is just an illustrative example and not a strict markup
#
kylewm
aaronpk: actually, even if you do i think the problem is on my end, I'm removing the fragment before rendering the link!
#
Jeena
Facebook is weird, I posted one photo via their API and they seem to have created two posts #1 https://www.facebook.com/728407677/posts/10152811493287678 and #2 https://www.facebook.com/728407677/posts/10152811493327678 which have identical content + comments + likes.
#
Jeena
Sadly now they send the likes for both of their posts to bridgy which sends it to me with different uid:s so many of the likes appear double on my page :-/
#
jonnybarnes
Jeena those URLs are the same
#
jonnybarnes
oh no there not
#
Jeena
it is hard to tell but 3 numbers are different
#
jonnybarnes
two digits are different
#
Jeena
or two yeah
#
jonnybarnes
that fooled me for a second
#
Jeena
it took me a while too, I had to make a string diff to get that ^^
#
aaronpk
kylewm: interesting, not sure why I wouldn't be handling fragment mentions
#
aaronpk
(also wow that webmention status url is super handy)
#
kylewm
aaronpk: got it, i should've known better than to doubt you, https://aaronparecki.com/webmention/SBwHkuXe
#
kylewm
and yes, status url is awesome
#
aaronpk
oh that one worked? what was wrong with the last?
#
Jeena
in my timeline it only appears once and every like on facebook appears on both posts
#
luxagraf
Jeena: That's the NSA's shadow Facebook
#
tantek
luxagraf better!
#
Jeena
but why can't they make it invisible for bridgy?!!!!
#
kylewm
aaronpk: the first one sent the webmention with target=..#fragment, but my actual post was rendering the u-like-of without the fragment. so the urls didn't match
#
aaronpk
so it was telling you exactly what was wrong :)
#
aaronparecki.com
edited /Instagram (+674) "/* Switch from Foursquare to Facebook venues */ add note about custom locations"
(view diff)
#
tantek
luxagraf - that p-summary is on the comment being displayed on an article. The implication being that in general comments that are displayed may have summarized (or truncated) the actual content from the original reply post.
#
luxagraf
tantek: okay, makes sense i guess
#
tantek.com
edited /comments-presentation (+305) "/* How to markup */ add why p-summary explanation, and heading for empty in-reply-to"
(view diff)
#
tantek
luxagraf - good question and certainly not obvious from the markup. now documented.
#
tantek
aaronpk - did you mean for the Custom Locations to be a subsection of the Switch … Venues criticism?
#
aaronpk
yeah...it made sense at the time
#
tantek
trying to understand how it is a criticism
jedahan joined the channel
#
tantek
also splitting apart the venue db change criticism from the See also citations about the venue db change? now really confused.
#
aaronpk
yeah i guess it's a separate thing, i'll move it
#
aaronparecki.com
edited /Instagram (-2) "/* Switch from Foursquare to Facebook venues */ reorder sections"
(view diff)
#
tantek.com
edited /Instagram (+67) "/* Custom Locations */ call out Uneditable nature as the criticism"
(view diff)
pasevin and ttepasse joined the channel
brianloveswords joined the channel
#
luxagraf
KartikPrabhu: not saying they didn't, or that testing is everything, but there's a whole lot of "we believe" in that post and not a whole lot of our "user testing has led us to believe"
#
aaronpk
yay @4sqsupport favorited my tweet :)
#
KartikPrabhu
luxagraf: yeah agreed. also the current "browser" on Ubuntu is kind of shitty
#
luxagraf
KartikPrabhu: you mean the mobile version of ubuntu?
#
KartikPrabhu
luxagraf: no. the desktop version. Can't find any details as the brwoser has no controls for settings
#
luxagraf
KartikPrabhu: huh, i didn't even know there was an ubuntu browser, i thought it was just firefox...
#
KartikPrabhu
the trouble with Ubuntu is they are designing everything for a touch-world and so becomes annoying to use on desktops
#
KartikPrabhu
luxagraf: I think this is new in the latest 14.04 version
#
luxagraf
KartikPrabhu: that i reviewed for ars technica and others, so it sorta worries me that didn't even know it was there :)
#
KartikPrabhu
it is called "Ubuntu Web Browser"
#
luxagraf
KartikPrabhu: that must be some kind of backport from the mobile version... or a rebranded Epiphany or something
#
KartikPrabhu
yeah I think so too. It is horrible to use on desktop. Particularly the "click near the bottom edge" to see the location bar
#
kylewm
KartikPrabhu: Unity (on desktop, not touch) has kind of grown on me over the years. I like it quite a bit better than Gnome Shell
#
KartikPrabhu
kylewm: I got pretty annoyed by Unity and switched back to Gnome Shell
#
tantek
invites KartikPrabhu, luxagraf, kylewm to #indiechat on the subject of Gnome ;)
paulcp joined the channel
#
KartikPrabhu
hey stop kicking us out/in :P
#
tantek
KartikPrabhu: just thinking of those reading the archives later who aren't here to speak for themselves :)
#
kylewm
sorry, that's my fault for the non-web tangent
#
KartikPrabhu
tantek: regarding IWC-NYC, when do people usually arrive for those things?
#
tantek
KartikPrabhu: I'm planning on getting there the night before, hopefully during the day
#
tantek
thinking it would be nice to do an informal drinkup before the camp
#
tantek
that's gone well at previous IndieWebCamps
#
KartikPrabhu
i see... cool
#
tantek
and I think Portland (West) will be doing that so we should too ;)
#
aaronpk
yes we probably will!
fungoat joined the channel
#
jonnybarnes
kylewm: the webmention thing has now fixed itself
#
kylewm
jonnybarnes: i saw that! it's cool how many bridgy things work themselves out on their own
#
kylewm
snarfed++
#
Loqi
snarfed has 22 karma
#
tantek
is going to go for a walk to try out Swarm. Wondering what implications it will have for checkin posts and web notifications.
brianloveswords joined the channel
#
@withknown
We're super-excited to be a part of the @mattervc's new class of startups! http://matter.vc/announcing-matter-three/ Watch. This. Space. #indieweb
(twitter.com/_/status/467033997743116288)
#
@withknown
We're super-excited to be a part of @mattervc's new class of startups! http://matter.vc/announcing-matter-three/ Watch. This. Space. #indieweb
(twitter.com/_/status/467034318817075200)
jschweinsberg, brent, bshambaugh, caseorganic, caseorga_, dybskiy and krendil joined the channel
#
kylewm.com
created /kylewm (+29) "redirect to user page"
(view diff)
#
kylewm.com
edited /User:Kylewm.com (+53) "added <dfn>"
(view diff)
jedahan joined the channel
#
aaronpk
PSA: the first weekly #indieweb newsletter will be sent out tomorrow!
#
aaronpk
let me know if you want to receive it via email!
#
aaronpk
added!
b0bg0d____, jancborchardt, eschnou, tantek and dybskiy joined the channel
#
tantek
aaronpk++ for setting up the weekly indieweb newsletter!
#
Loqi
aaronpk has 461 karma
#
aaronpk
I hope to make incremental improvements, so feel free to add suggestions to the wiki page!
#
tantek.com
edited /this-week-in-the-indieweb (-3) "TOC at the bottom for easy linking to headings"
(view diff)
#
tantek
I see you already added mine re: pages that receive webmentions! http://indiewebcamp.com/this-week-in-the-indieweb#Ideas
#
tantek
I wonder if there's a way to include "IndieWeb Events Next Week" automatically
#
jonnybarnes
aaronpk: can you add me? jonny@jonnybarnes.net
#
aaronpk
added jonnybarnes and kylewm!
dybskiy_ joined the channel
#
tantek
tries pin13 uf2 parsing /events
#
aaronpk
the /events page is all microformatty so it should be easy to parse!
#
aaronpk
i'd want to include the events that have happened in the past week as well as the ones coming up
#
tantek
maybe two different sections?
dybskiy joined the channel
#
tantek
events last week would be particularly cool if they could show photos from those events
#
tantek
frankly, photos in a newsletter of text would make it really stand out
#
aaronpk
add to the ideas list!
#
tantek
will do - wanted to brainstorm out loud a bit to see if anyone would poke holes or suggest obvious better things first ;)
#
tantek
uh oh
#
tantek
going to quit and reconnect
barnabywalters and tantek joined the channel
#
tantek
what is IRC?
#
KartikPrabhu
aaronpk: me@kartikprabhu.com
#
KartikPrabhu
for newsletter
#
aaronpk
KartikPrabhu: added
fmarier joined the channel
#
jonnybarnes
anyone here use nginx?
#
aaronpk
what is nginx?
#
tantek
KartikPrabhu: ooh- add it to the /2014 page!
#
rascul
jonnybarnes i use the nginx
#
tantek
and btw it's IWC EAST :)
#
jonnybarnes
that page doesnt answer my questino
#
KartikPrabhu
aah ok :)
#
aaronpk
jonnybarnes: well there's 4 people listed there who do
#
KartikPrabhu
tantek: add to Other activities?
#
aaronparecki.com
edited /nginx (+9) "move TOC to bottom"
(view diff)
#
jonnybarnes
can I do location /directory { rewrite ^/foo ...
#
jonnybarnes
} to match /directory/foo? Or more in particularly I'm trying to install owncloud but not to its own subdomain
#
tantek
KartikPrabhu: sounds good
#
tantek
maybe in East and West subsections
#
jonnybarnes
to domain.com/owncloud
#
aaronpk
jonnybarnes: that also kinda depends on the software, whether it understands it's installed in a subfolder
#
aaronpk
it's more a question about owncloud, which I unfortunately can't help you with
#
jonnybarnes
being as location / { } points to a laravel folder
jancborchardt joined the channel
#
kartikprabhu.com
edited /2014 (+367) "/* Other Activities */ added Neil Gaiman's reading performance"
(view diff)
#
rascul
i dunno much about owncloud either
hugoroyd_, b0bg0d____, ngoldman and Phae joined the channel
#
tantek.com
edited /IRC (+584) "dfn, subheads"
(view diff)
#
tantek
what is IRC?
brianloveswords and hadleybeeman joined the channel
#
Loqi
IRC is an abbreviation for Internet Relay Chat and is the primary discussion forum for the indiewebcamp community, in particular the #indiewebcamp channel on the irc.freenode.net server http://indiewebcamp.com/IRC
voxpelli joined the channel
#
tantek
much better, thank you Loqi
bigbluehat joined the channel
JonathanNeal, KevinMarks and rknLA joined the channel
#
tantek.com
edited /silo-quits (+283) "add subheads for people"
(view diff)
#
tantek
KartikPrabhu: we should invite Neil to IWC East, per his blog posts: http://indiewebcamp.com/silo-quits#Neil_Gaiman - if you know him, or of a way to contact him, let him know!
#
tantek
what are silos?
#
Loqi
A silo, or web content hosting silo, in the context of the IndieWeb, is a centralized web site typically owned by a for-profit corporation that stakes some claim to content contributed to it and restricts access in some way (has walls) http://indiewebcamp.com/silos
tommorris joined the channel
#
KartikPrabhu
tantek: I wish I knew Neil Gaiman! :P
benward and paulcp joined the channel
#
tantek
what is nginx
#
tantek.com
moved /nginx to /Nginx "capitalize per canonical project/product name from their website"
#
tantek
what is nginx
#
tantek.com
edited /Nginx (+7) "tweak dfn, put "." outside parenthetical expression"
(view diff)
#
tantek
what is nginx
#
Loqi
Nginx is one of the two commonly used HTTPd server projects (Apache being the other) http://indiewebcamp.com/Nginx
#
aaronpk
ha nice
#
tantek
much better
#
aaronpk
subtle
#
tantek
I had a feeling a regex might be doing paren matching before looking for the "."
#
aaronpk
it's actually looking for a sentence terminator followed by a space
#
tantek
sensible
#
tantek
who uses nginx?
#
aaronpk
that was the simplest definition of "sentence" I could think of
#
tantek.com
edited /Nginx (+154) "subhead re-arrangement, clustering, why, how to, move files without extensions to a how to, move TOC to more easily skim how to"
(view diff)
#
tantek
aaronpk, Loqi could answer questions of the form "who uses xyz" simply linking to /xyz#IndieWeb_Examples to start with
#
tantek.com
edited /webmention (+36) "/* IndieWeb implementations */ IndieWeb Examples"
(view diff)
#
tantek
also would answer questions of the form "who supports xyz", e.g. who supports webmentions
#
tantek
questions of the form "why xyz" or "why should I use xyz" or "why should I support xyz" could be answered by linking to /xyz#Why, e.g. "why should I support webmentions"
grantmacken joined the channel
#
aaronpk
greps IRC logs for occurrences of those phrases
#
pdurbin
aaronpk: no fair. how can the rest of us grep the logs? :)
#
aaronpk
pdurbin: you don't keep your own logs?
#
aaronpk
my IRC client logs everythign to text files
#
aaronpk
that's what i'm grepping
#
tantek
aaronpk, fair enough, I was generalizing from "anyone here use nginx?"
#
aaronpk
literally grep -Ri "who uses" */freenode/#indiewebcamp.*
#
tantek
as equivalent to "who uses nginx?"
#
aaronpk
interestingly, "who uses" shows up a lot, and in difficult-to-parse ways
#
pdurbin
aaronpk: I do, I do, but what if you were to "liberate" that data... make it available for download... I haven't been here since the beginning
#
aaronpk
pdurbin: I could create another btsync folder of the IRC logs
#
pdurbin
aaronpk: I don't know what that is but I like the sound of it
dybskiy joined the channel
#
pdurbin
gotcha, nice
#
pdurbin
for work I make the nightly database dumps of irc logs available for download: http://dvn-vm1.hmdc.harvard.edu/data/mysql/
#
KevinMarks
A lot of who uses WordPress
#
tantek.com
created /Loqi (+589) "stub with dfn, ideas"
(view diff)
#
tantek
who is Loqi?
brianloveswords joined the channel
#
Loqi
Loqi is a friendly and useful bot present in the #indiewebcamp IRC channel and other channels http://indiewebcamp.com/Loqi
#
tantek.com
created /loqi (+18) "r"
(view diff)
barnabywalters, jedahan and ttepasse joined the channel
#
GWG
Good eveningf
kylewm and KevinMarks joined the channel
#
tantek
!tell tommorris looks like rumors of this fall's IndieWebCampUK are spreading: https://twitter.com/adactio/status/466980367291789312 - hoping to see your start on http://indiewebcamp.com/2014/UK soon! :)
#
Loqi
Ok, I'll tell them that when I see them next
#
KartikPrabhu
evening GWG! how goes it?
#
GWG
A bit angry, but that isn't indieweb related
#
GWG
Trying to relax for a few and focus on new ideas
#
KartikPrabhu
good good
dybskiy_ joined the channel
#
GWG
Any news on your trip?
#
KartikPrabhu
GWG: I am most surely coming now. Looking at hotels in Manhattan (don't know if that is a good idea)
#
GWG
KartikPrabhu: You can get a decent deal there if you hunt. Remember subway is your friend
#
GWG
You don't need to stay close to midtown.
#
GWG
As long as you are near a train that goes straight there.
#
KevinMarks
I got a good weekend deal at club quarters before, as they are mainly full in the week
#
KartikPrabhu
GWG: yeah good point!
#
GWG
KevinMarks: You going to East or West?
#
KevinMarks
Hipmunk is good at hotel sorting
#
KartikPrabhu
KevinMarks: thanks for the link. I'll read it tonight. I probably will disagree that "bad scientific code is better"
#
KevinMarks
Still debating that. East is appealing add haven't been to nyc for ages
#
GWG
KevinMarks: I would consider it, as I would KartikPrabhu, a pleasure if I could have the pleasure of meeting you in person
#
KevinMarks
West is appealing as Portland! And also tax free mac buying
#
KevinMarks
If you need a new mac, the flight is covered
caseorganic and lukebrooker joined the channel
#
KevinMarks_
reads todays log - lagged replies coming up
#
aaronpk
that's what IRC is for :)
#
KevinMarks_
!tell barnabywalters the drawback of ZIP format is increased fragility - a bit error in HTML breaks one character
#
KevinMarks_
in zip it can break more, potentially the whole file.
#
Loqi
Ok, I'll tell him that when I see him next
#
tantek
Kevinmarks are there archive formats that don't have that fragility?
#
tantek.com
edited /Contribute (+0) "2014"
(view diff)
#
bret
gzip! actually I dont know
tpinto and fmarier joined the channel
#
KevinMarks_
tantek: I like the idea of turning HTML headers into meta tags fro archiving
#
aaronpk
oh yeah. that seems potentially more dangerous though, since then you have to open the HTML doc with a parser and re-write it
#
aaronpk
more likely to cause unintentional changes to the rest of the file, depending on how much sanitization you do when parsing it
KartikPrabhu and emmak joined the channel
#
KevinMarks_
true. similar problem to using HTML as templates and content...
#
tantek
aaronpk - same problem with inserting HTML comments right?
#
aaronpk
no, because the comment can be inserted with comment + html
#
aaronpk
comment + "\n" + html
#
tantek
so you mean before the DOCTYPE?
#
aaronpk
it still renders fine in browsers ;)
#
KevinMarks_
you may break encoding parsing if you do that (cos some of the insane fallback rules only apply to the top of the file iirc)
#
tantek
hmm… I wonder if there is some minimal parsing you could do to find a "just inside the <head>" insertion point
#
aaronpk
could probably safely look for the first occurrence of the string "<head>", then add a newline and add the tags and another newline
#
aaronpk
which should work even if someone has "<head><title>Hi</title></head>" with no newlines
#
KevinMarks_
might be safer to use HTML5lib
#
tantek
skip doctype, skip <html>, skip <!-- -->, if you see <head> then insert immediately after, if you see any other <tag> then insert immediately before.
#
aaronpk
ugh html parsing
#
tantek
aaronpk, can't assume <head>
#
aaronpk
would there be any drawbacks to including the comment block at the bottom after the </html>?
#
KevinMarks_
so I can now send HTTP headers with </meta><script> in and you'll inject them in the document for me?
#
aaronpk
KevinMarks_: lol, presumably http headers would have to be html-encoded?
#
tantek
KevinMarks_: as usual, anything put into an HTML attribute would need to be htmlescaped
#
aaronpk
oops, escaped yeah
#
KevinMarks_
Neil Gaiman I have indirect routes to via Open Rights Group
#
KevinMarks_
he also emailed Technorati for tech support ~10 years ago
#
KevinMarks_
I love Julie Ann's description of her talky.io team page as 'my brady bunch'
caseorganic joined the channel
#
GWG
KevinMarks: When he emailed...did you say... "That's Neil Gaiman...I'm handling that email. No one touch it."
#
KevinMarks_
you know it...
brent joined the channel