#indiewebcamp 2014-07-05

2014-07-05 UTC
scor joined the channel
#
JonathanNeal
I was so hoping to accomplish something! Downside to indie web work, no team to keep me going.
#
rascul
the only team i need is my team of beers
#
rascul
they line up to give me support
#
rascul
i'm actively going through my code trying to add comemnts and change variable names and whatnot and try to make it easier to read
#
rascul
unknown how the end result will turn out
#
JonathanNeal
rascul: for what application?
#
JonathanNeal
I am attempting to write a UI library that let’s you appear to write comments on a site, but actually submits those comments back to your site for a webmention. Or has that been done to death?
#
kylewm
JonathanNeal: has not been done to death at all
#
kylewm
right on the cutting edge of what's going on :)
#
rascul
JonathanNeal for my site generator
chrissaad joined the channel
#
rascul
it's not big now but i should probably try to get into the habit of doing it before it gets too much bigger
#
rascul
especially if other people might use it later
#
JonathanNeal
is it on github?
#
rascul
that's the current code that generates rascul.io
#
JonathanNeal
it’s a cms?
#
rascul
static site generator
lukebrooker joined the channel
#
JonathanNeal
does it let you generate the content to be published online?
#
KartikPrabhu
oh noes! how do I restore a closed window in FF?
#
rascul
KartikPrabhu window? i dunno, if it were a tab, ctrl+shift+t
#
JonathanNeal
Click on the menu button on the right side of your toolbar. Select History to expand the drop-down list and choose Restore Previous Session.
#
KartikPrabhu
phew! thanks JonathanNeal :P
#
JonathanNeal
rascul: that’s kind of a cms, except it publishes to static, right?
#
KartikPrabhu
I didn't know it was in the History button
#
rascul
JonathanNeal i guess it is actually
#
JonathanNeal
Another thing I would like to see fleshed out is the idea of likes/friends/followers/whatever. Something where I can “like” a bunch of you, and then generate a list of common people or sites that you like that I might not know about.
#
rascul
i've been forming ideas for friends and whatnot, but nothing coherent enough yet to document anywhere
#
KartikPrabhu
JonathanNeal: I plan on posting some such list to my site soon... you can parse it for rel-following at get recommendations by me ;)
#
JonathanNeal
I really need to get some kind of webmentions commenting thing together soon. It’s hard to build UIs when I have to cut my own everything-else.
#
JonathanNeal
What is the easiest, simpliest webmention library on the net these days?
#
KartikPrabhu
JonathanNeal: yes. building for your own use also serves as good motivation
#
KartikPrabhu
JonathanNeal: what language?
#
JonathanNeal
The issue I am facing with cross site indieweb stuff is how easy it would be for a site to submit a webmention on your behalf without your consent. I guess you could decide your own authentication.
#
JonathanNeal
I wish I could concisely and eloquently describe to you what I am imagining.
#
rascul
working on webmentions is in the near future for me (which at my pace means anywhere from 1 day to 1 month heh)
#
KartikPrabhu
JonathanNeal: yes... in fact I do that routinely, using my local site copy to send webmentions for my live one :P
#
KartikPrabhu
but if the post is public I don't see the harm.
#
KartikPrabhu
it is like saying "anyone can share your URL without your consent"
#
KartikPrabhu
goes to watch Grand Budapest Hotel... bbiab
#
JonathanNeal
If I login to a website, I might not trust them enough to “like” or “comment” on their site without first okaying it on my own site. If I tell my website to allow requests I make from that site immediately, that site could just say “send a request in the background to like us”.
#
JonathanNeal
Whereas, if our two sites share a common protocol, my site won’t allow this by any forced means, but will allow an redirection where I can verify the action on my own site.
#
KartikPrabhu
JonathanNeal: maybe you should enable IndieAuth and webmention receiving on your website to see how their UX flow works
#
KartikPrabhu
and a traditional comment box if you want that
#
pdurbin
KartikPrabhu: great movie. enjoy
#
kylewm
question for phpers, I'm running PHP 5.4 in nginx with FastCGI, and getting "Call to undefined function Idno\Common\getallheaders()"
#
kylewm
it sounds like getallheaders() was apache-only until 5.4
#
kylewm
but i'm definitely upgraded
#
kylewm
any ideas?
#
bret
anyone know a good souce for notes from the indie tech summit?
#
bret
the plan was to video tape some of the talk I think
#
bret
talks*
#
rascul
looks like i got my static generator pulling content from git repo now, hopefully i got it right!
becker_11, scor and lukebrooker joined the channel
#
rascul
although i would change it from "novices should not" to something about taking their time and learning stuff
#
KartikPrabhu
basically "7 reasons why your are dumb and can't do this and should be afraid"
#
rascul
7 reasons to take your time and learn about the technologies involved in self hosting because it's easy to fail hard
#
KartikPrabhu
yes... but on that post is not so positive
snarfed joined the channel
#
KartikPrabhu
it just says "don't do this"
#
rascul
yeah i think the guy is trying to scare people away when he should be trying to inform them so they can better host their site
#
GWG
To play devil's advocate, why hire a maid? People hire other people to do things because they don't want to do them all the time. But that seems to not be the argument.
#
rascul
hire a maid because you're lazy and don't want to clean
#
GWG
rascul: Or because you value your time more than your money?
#
rascul
that sounds like a better reason than being lazy
#
GWG
rascul: There is a balance between the two.
#
rascul
is too lazy to hire a maid
#
GWG
rascul: I didn't hire mine. I inherited her.
#
rascul
wife?
#
GWG
rascul: No. My parents retired. They arranged to send her to me every few weeks.
#
GWG
I just took over
#
GWG
So, I get a deep cleaning periodically
#
rascul
the idea of someone cleaning my stuff bothers me
#
rascul
*someone else
#
GWG
What stuff do you feel uncomfortable having cleaned?
#
rascul
everything
#
rascul
i've always been a do everything myself kind of person
#
GWG
Either way, back to hosting concepts, some people don't want to build their own platforms
#
GWG
Let's change the analogy...
#
GWG
Would you build a car from scratch?
#
rascul
actually i would
#
GWG
Yes, but would everyone?
#
rascul
with some help from my brother it could be done, something i hope to do eventually
#
rascul
no, not everyone
#
GWG
So, some people want to build the infrastructure for a website, some want to only handle the content
#
rascul
indeed
#
rascul
the infrastructure can also be an overwhelming task for some
#
rascul
btw, https://localmotors.com you can help build your own car with the professionals
#
GWG
That was my point. I like building systems.
#
GWG
Not everyone does.
#
GWG
And recently, I moved from maintaining systems to building websites, and took on a new challenge.
#
GWG
But does everyone want to do that?
#
GWG
Going back to the article, that is the point. It just says it in a negative way.
#
GWG
Which is the problem more than anything erlse
#
GWG
else
#
rascul
there can indeed be a steep learning curve to setting all that stuff up
#
rascul
especially as the article notes to people with little to no tech background
#
rascul
but i believe /generations helps us there
#
rascul
in regard to the indieweb i mean
indie-visitor joined the channel
#
Loqi
Welcome, indie-visitor! Set your nickname by typing /nick yourname
#
GWG
62.95 for a .io
#
rascul
$40 from gandi
#
GWG
I may just find something cheaper in a different tld
brainTrain joined the channel
#
GWG
I can get a .me for $20.95 for my short citations
#
rascul
.co is under $20
#
GWG
I could get a .us for $9.95
#
rascul
er, i thought it was, maybe i'm wrong about .co
#
rascul
or maybe it was on sale when i got mine
#
GWG
rascul: What do you think about domain shortening?
grantmacken joined the channel
#
GWG
I backed off on it when Twitter started rewriting my short URLs to theirs
#
aaronpk
I think if my domain weren't so long I would just use it for short URLs and full URLs
#
GWG
Mine is longer
#
aaronparecki.com
created /2014/indie-business (+2689) "copy notes from etherpad"
(view diff)
#
KartikPrabhu
still doesn't understand the utility of short-domains apart from Twitter-pandering
#
aaronpk
that's where it started of course
#
GWG
aaronpk: So where does it end?
#
aaronpk
there's still the handwritten use case
#
KartikPrabhu
aaronpk: for hand-written case I would rather have a human-legible url than some bunch of letters
#
KartikPrabhu
longer to write but easier to remember and parse no?
#
KartikPrabhu
in case someone loses or forgets the written URL, it would be easier to search if the slug URL is well-designed
#
kylewm
maybe we should rethink the algorithmic short urls in light of that
#
KartikPrabhu
kylewm: possibly. any ideas? I have been thinking about those but came up empty
#
kylewm
I think it's bit.ly, probably others, that let you specify your own slug
#
kylewm
kyl.im / IndieWebCamp2014
#
kylewm
that sort of thing
#
KartikPrabhu
kylewm: so the short-somain is purely to shorten the domain name?
#
kylewm
no, like e.g., kyl\.im/slug -> kylewm\.com/2014/06/29/1/some-long-slug,
#
kylewm
you'd create the short url only when you need one
#
kylewm
(not something i have needed/wanted, but if the primary use case is ease of putting a url on a business card or something)
#
KartikPrabhu
intersesting
#
KartikPrabhu
as tantek might point out not algorithmic
#
kylewm
I think it's very likely i'll let kyl.im lapse
#
GWG
kylewm: Do you have a business card?
#
kylewm
GWG: for work I do
#
GWG
I wonder if I should update my $5 Vistaprint cards
#
GWG
Wonder what an Indieweb business card is
#
GWG
I tried to make my h-card look like one
#
KartikPrabhu
indieweb business card is your h-card no matter how it looks
#
GWG
KartikPrabhu: I was thinking design.
#
KartikPrabhu
GWG: the visual design is your choice... there should be no indieweb mandated visual design
#
KartikPrabhu
the data-design is provided by HTML+mf2
#
GWG
'Mandated' and inspired are two different things
#
KartikPrabhu
and rel=me etc...
#
KartikPrabhu
GWG: I don't think there is an indieweb-inspired visual design
#
rascul
GWG what do you mean by domain shortening?
#
KartikPrabhu
aaronpk: still getting cold-shouldered by quill sometimes, clicking "Post" does nothing no error messages... could you add whether the "authorization" was done through LINK headers in the debug info?
KevinMarks and chrissaad joined the channel
#
rascul
GWG i guess my h-card on rascul.io looks kinda like a business card
#
aaronpk
KartikPrabhu: hmm yeah you mean you want to see what quill sent?
#
KartikPrabhu
yeah that'd be nice... I want to know if it is a problem at my end or something else
#
GWG
rascul: I do like the two column design
#
KartikPrabhu
maybe hidden in a link so that it doesn't interrupt your nice design?
#
KartikPrabhu
rascul: the point is it could look like a IRL business card or it couldn't. that's upto the individual site
#
rascul
GWG doesn't work well on mobile, i have to play with the css some more to get it right, ideally it will be one list in reverse chronological order and the css will make it into two columns when there's enough room, or one when there's not (ie mobile)
#
KartikPrabhu
and anyone could include your card on their site but make it look compatible with their site's visuals
#
rascul
but i wasn't able to get the css right yet so it's one list
#
rascul
well, kinda like a list, but inside a div instead of ul
#
rascul
er, wasn't able to get the css right yet so it's two lists
snarfed joined the channel
#
GWG
rascul: Shortening is when you have a URL that is short, but not human readable usually.
#
GWG
rascul: I didn't check mobile.
#
GWG
Yes
#
rascul
my short links are also permalinks, the long version can change if i change the post title
#
GWG
KartikPrabhu: I just have this idea of having a physical card that looks like a page on the site that is just the h-card
#
rascul
eventually rascul.io/card will be just my h-card, maybe possible to export verbatim to other sites
snarfed joined the channel
#
KartikPrabhu
GWG: go for it if it is good for your site... but indieweb stuff does not dictate/encourage some particular visual design
#
KartikPrabhu
that is a very nice thing that I like about indieweb
#
rascul
right now my /card is apparently an old version of my h-card wrapped in my sites template
#
aaronparecki.com
created /2014/micropub (+3329) "copy notes from etherpad"
(view diff)
#
GWG
KartikPrabhu: I do incorporate elements I like from other sites though, as it should be
#
rascul
time for bed, my dog is already asleep, her bed is right next to mine
#
GWG
Night, rascul
nagaway, catsup and KevinMarks joined the channel
#
KartikPrabhu
!tell tantek: I think algorthmic short URLs are for machines not humans. we should discuss/debate this! maybe then I can get miffed at you for being a pig-head ;)
#
Loqi
Ok, I'll tell him that when I see him next
#
GWG
I have this odd urge to implement h-card hovercards
#
KartikPrabhu
GWG: I have thought of that too... but think of non-hover devices
snarfed joined the channel
#
GWG
Oh? On the non-hover?
#
KartikPrabhu
yeah what happens for mobile browsers for instance
#
GWG
What alternatives?
#
KartikPrabhu
i don't have good ones
#
KartikPrabhu
I like kylewm's approach of putting a little face next to the person's name
#
GWG
That does the popup?
#
KartikPrabhu
no. no popup.
#
KartikPrabhu
GWG: if you do a popup on hover what happens on mobile where there is no hover?
#
GWG
Switch to click behavior
#
KartikPrabhu
so no h-card on mobile and mobile people get a lesser-experience? that can be done
#
KartikPrabhu
but then you'd need to reconsider "what actual UX experience is the popup providing? Do touch users not need that? If so, why do mouse users need it? "
#
aaronparecki.com
created /2014/Berlin/Day-1 (+6868) "copy notes from etherpad"
(view diff)
#
KartikPrabhu
GWG: despite these misgivings I'd love to see an approach that works... I am interested in this myself but have no good answers yet
#
aaronparecki.com
edited /2014/Berlin/Day-1 (+40) "add category and header"
(view diff)
#
KartikPrabhu
aaronpk: are all demos going into the wiki... If so I can help move NYC demos from IRC. I don't think we documented intro-demos but tantek took notes on hack-demos
#
aaronpk
KartikPrabhu: yes that would be amazing if you could do that!!
#
KartikPrabhu
cool... I'll try to get on it tonight/tomorrow
#
aaronparecki.com
created /2014/Berlin/Day-2 (+770) "copy notes from etherpad"
(view diff)
#
GWG
KartikPrabhu: It's on my itch list.
#
aaronpk
trying to not freak out every time there is a loud bang less than 50 feet away from me
#
KartikPrabhu
fireworks what a weird thing
#
KartikPrabhu
"let's make loud noise and smoke coz we're happy"
#
JonathanNeal
aaronpk: we are staying the night at my wife’s folks’ home tonight, because our town goes crazy for Independence Day.
KevinMarks joined the channel
#
KartikPrabhu
aaronpk: if you could organise the /2014/demos page to make room for a PDX section and a NYC section ... I'll add stuff later
#
aaronpk
KartikPrabhu: cool will do
#
KartikPrabhu
is bad at wiki organisation
#
aaronpk
hmm /me wonders if the 2014/SF stuff was ever moved onto the wiki
brianloveswords joined the channel
#
aaronpk
wow I think we never did any SF pages
#
aaronparecki.com
edited /2014/SF/https (+41) "add category"
(view diff)
#
aaronpk
there's one
#
aaronparecki.com
edited /2014/Demos (+223) "add headers for New York"
(view diff)
#
aaronparecki.com
edited /2014/SF/Schedule (+220) "/* Friday, March 7, 2014 */ add stub links to internal wiki pages to prep for moving content from etherpad"
(view diff)
KevinMarks joined the channel
#
aaronpk
oh hey! "TODO: Archive Etherpads from sessions (see below for index) to wiki pages and link to them below!"
#
aaronparecki.com
edited /2014/SF (+386) "/* Sessions */"
(view diff)
#
aaronparecki.com
edited /2014/SF (+44) "/* Sessions */"
(view diff)
#
aaronparecki.com
edited /2014/SF/Schedule (+160) "/* Friday, March 7, 2014 */"
(view diff)
snarfed, KevinMarks, indie-visitor, wolftune, pfefferle and cweiske joined the channel
#
tommorris
tommorris.org/places has now come out of beta and is linked in the nav bar. ;-)
#
jonnybarnes
tommorris: I feel you places page might be better if it indicated there were "sub-places" of United Kingdom
#
tommorris
jonnybarnes: I thought about having a more complex place hierarchy, but then decided that it didn’t really serve any purpose. ;-)
#
jonnybarnes
tommorris: but overall impressive
#
jonnybarnes
tommorris: also, are using the default mapbox styling in your maps?
#
jonnybarnes
or did you customise it at all?
#
tommorris
nope, just default mpabox
cweiske, mcepl, lukebrooker and pbeaulieu joined the channel
#
brennannovak.com
edited /IndieMark (+12) "/* Level 2 posts */"
(view diff)
#
brennannovak.com
edited /IndieMark (+16) "/* Level 2 posts */"
(view diff)
#
cweiske
"If you are POSSEing to all of the following sites on which you have accounts, then you automatically get the full 0.1 POSSE points."
#
cweiske
coolio. I have no external accounts, so I get all points
michielbdejong joined the channel
#
PMurphs_
r whatever
#
PMurphs_
what friggin irssi
lukebrooker and lukebrooker_ joined the channel
#
@KevTheHornet
Anyone else on twitter use #Path (facebook alternative)? Any views? What's the best alternative to fb? #indieweb perhaps?
(twitter.com/_/status/485411779921858561)
bnvk, lukebrooker, squeakytoy, snarfed, jonnybarnes and chrissaad joined the channel
#
snarfed
does both full dump and ongoing sync
#
GWG
It's pre-release and hasn't been updated in nearly a year though
#
snarfed
eh, gmail was in beta for how long?
#
snarfed
and i don't put much stock in "freshness," ie how recently something was updated
#
GWG
snarfed: I know. We discussed that. But when something wasn't considered released by the developer, I get concerned.
#
GWG
The updated date makes me wonder if it will ever reach that status
#
snarfed
eh. again, i think that idea is overrated. software engineers rarely consider projects "done"
#
snarfed
but i may be biased in this case because i know the author is good
#
snarfed
more importantly though, this is all academic because we can try it out and see for ourselves if it works and we like it
#
GWG
That I might do.
hober joined the channel
#
Loqi
hober: tantek left you a message 5 days ago: hope you can make it this Wednesday evening @MozSF! http://indiewebcamp.com/events/2014-07-02-homebrew-website-club
#
kylewm
gwg, snarfed, does the mailchimp social plugin do backfeed without bridgy??
#
GWG
kylewm: I think it does.
#
GWG
I use SNAP, but I'm not happy with it.
jonnybarnes joined the channel
#
kylewm
I spent a little time adding microformats to a WordPress theme last night. it was... not fun
#
GWG
kylewm: I've been working on mine since April
#
GWG
I put it in, fixed it all, then threw it out the window and started again
#
kylewm
heh. this was the Independent Publisher, interestingly the microformats 1 stuff made it much more difficult
#
kylewm
so I ended up removing a lot of them
jonnybarnes and pbeaulieu joined the channel
#
GWG
kylewm: What prompted it?
#
kylewm
GWG: trying to indiewebify my partner's blog
scor joined the channel
#
GWG
kylewm: Oh.
chrissaad, scor, becker_11 and brianloveswords joined the channel
#
aaronparecki.com
edited /homepage (+54) "/* Webmention to homepage */"
(view diff)
snarfed joined the channel
#
aaronpk
snarfed: checking out bridgy publish... I don't see a text box on my user page after signing in with tiwtter
#
snarfed
aaronpk: looking
#
snarfed
heh, try refreshing
#
aaronpk
where did that come from?
#
aaronpk
I swear I already refreshed :)
#
snarfed
consistency is hard, let's go shopping :P
#
aaronpk
i'm thinking about what syndicating looks like in micropub-land
#
snarfed
thinking about posseing favorites or RTs?
#
aaronpk
this stuff gets complicated fast tho
#
aaronpk
wait a sec... can't anybody send a publish request on my behalf now that I authorized bridgy on twiter?
#
snarfed
they can publish any post from your site, yes
#
snarfed
not quite as bad as fabricating anything, since they can only post something you've already posted publicly…but yeah, it's a security hole to some degree
#
aaronpk
although I found a problem
#
aaronpk
bridgy finds the latest mention and will use that
#
aaronpk
so you can send me a webmention to any of my posts and it'll show up in my /mentions feed, then you can tweet that from my twitter account
#
aaronpk
goes and de-authorizes bridgy :)
#
snarfed
interesting, yeah
#
snarfed
sorry :/
#
snarfed
interesting (kind of) edge case, i'll think about that
#
aaronpk
is there a way to authorize bridgy to only have read access to my twitter account?
#
aaronpk
it seems to ask for write access even for authorizing comments and likes
#
snarfed
sadly no
#
snarfed
twitter does scopes at the app level, not the user level
#
snarfed
which is silly, i'd love to let you do that. i do w/g+ and fb
#
aaronpk
srsly?
#
aaronpk
i thought it was done at request time
#
snarfed
at least iirc. i would have implemented it if i could have
#
snarfed
check out one of your apps in https://dev.twitter.com/apps
#
snarfed
i could use two separate apps, one r/o and one r/w
#
snarfed
worth considering
#
aaronpk
weiiiird
#
aaronpk
yeah probably would not be a bad idea to have separate apps
#
aaronpk
this must be a side effect of twitter being stuck at oauth 1.1
#
aaronpk
before scopes were formalized
KartikPrabhu joined the channel
#
snarfed
sounds likely
#
aaronpk
i'm adding a new "syndication" section to the /micropub page
#
aaronpk
you've probably got a lot of stuff to add since you've essentially implemented a syndication micropub endpoint
#
snarfed
sure! minus the micropub, but yeah
#
aaronpk
well you'll see what I mean soon
#
aaronpk
and using micropub would plug the existing security hole
#
snarfed
…at the cost of implementing micropub :P which i should do, i'm just lazy
#
snarfed
btw lots of details on bridgy's implementation on https://www.brid.gy/about#publish , but you've probably seen that
#
snarfed
also, micropub is a bigger hurdle for user. right now the UI and webmention trigger make it pretty accessible for lots of existing clients…
#
snarfed
…except with the security hole poison pill. whee
#
aaronpk
yeah, I bet there is some middle ground
#
aaronpk
if you think about bridgy publish not as a webmention endpoint (since it's not really, it's just an overloaded use of webmention) then you might think of it as a syndication service
#
snarfed
oh yeah, it definitely is a syndication service
#
aaronpk
in which case the obvious thing to do is when signing up for a syndication service like bridgy publish is to have bridgy return an access token that's required to make the syndication request
#
snarfed
webmention was just a convenient, maybe too lightweight trigger for programmatic code
#
snarfed
definitely. again, micropub or something similar is the right thing to do, it just limits potential users in the short term
#
aaronpk
so the thing you're shooting for is that people can just add a link to brid.gy/publish/twitter on their post and it'll happen automatically when they send webmentions for the post
snarfed joined the channel
#
snarfed
gotta run, but thanks for starting that page, i'm glad to have more prodding on this!
#
aaronpk
k cool, will keep noodling on this
#
snarfed
(and very few people use publish anyway, so i probably should bite the bullet :P)
#
aaronparecki.com
edited /micropub (+76) "update syndicate-to parameter to require username. this allows the micropub endpoint to be able to syndicate to multiple accounts on the same silo"
(view diff)
wolftune joined the channel
#
aaronpk
really struggling with the limitations of form-encoding for specifying multiple values for the same parameter
#
aaronpk
like specifying multiple tags when creating a micropub request, or multiple syndicate-to values
#
aaronpk
comma-separated for tags makes sense, and also is technically valid for syndicate-to since commas can't be in URLs
wolftune joined the channel
#
aaronpk
most web frameworks get around the limitation of form-encoding by sending form parameters with [] after, like "tag[]=foo&tag[]=bar" but that is not actually part of the form-encoded spec
#
aaronpk
php also supports "tag[a]=foo&tag[b]=bar" doing what you'd expect
#
KartikPrabhu
use JSON some would say ;)
#
aaronpk
indeed
#
aaronpk
trying it in ruby now
#
aaronpk
yep sinatra understands it
#
aaronpk
anyone want to try that in node and python?
#
KartikPrabhu
what is to try?
#
KartikPrabhu
aaronpk: in python it outputs a dictionary like so {'content[https://twitter.com/aaronpk]': ['foo'], 'content[https://facebook.com/aaronpk]': ['bar']}
#
aaronpk
but technically correct
#
KartikPrabhu
what is expected?
#
aaronpk
the result in Ruby (Sinatra) is {"content"=>{"https://twitter.com/aaronpk"=>"foo", "https://facebook.com/aaronpk"=>"bar"}}
#
aaronpk
same with PHP
#
KartikPrabhu
oh I see... so the content itself is a dictionary of values
#
KartikPrabhu
seems that won't fly in python :(
#
aaronpk
interestingly PHP and Ruby here don't conform to the http spec for parsing, and instead return the arguably more useful version
#
aaronpk
python is interpreting it according to the spec
#
aaronpk
which makes me wonder if there is some python library that parses it into a dictionary like the others
#
KartikPrabhu
this one was from the standard urlparse thing
#
KartikPrabhu
one could always do some regex (blergh) on it
#
aaronpk
no regex...not for this
#
aaronparecki.com
created /Template:section-stub/doc (+802) "new doc for {{section-stub}} template"
(view diff)
#
aaronparecki.com
created /Template:section-stub (+277) "section-stub template"
(view diff)
#
aaronparecki.com
edited /micropub (+2672) "add section on syndicating via micropub"
(view diff)
#
aaronpk
starting to document syndicating via micropub here http://indiewebcamp.com/micropub#Syndicating_a_Post
#
aaronpk
in documenting this, I can definitely see why snarfed overloaded webmention to syndicate via bridgy
#
aaronpk
i find myself using the term "syndication target"
#
KartikPrabhu
bridgy's webmention overload is pretty clever
#
aaronpk
hah you know... I actually did essentially that with indienews
#
aaronpk
kind of awkward tho
#
aaronpk
that was my attempt to get around the chicken-and-egg problem and security issue that bridgy has right now
#
KartikPrabhu
snarfed: kylewm: with posse-post discovery what stops me from getting responses to someone else's tweets? For instance I can put kyle's tweet url as a "u-syndication" on my site
#
KartikPrabhu
!tell snarfed: kylewm: with posse-post discovery what stops me from getting responses to someone else's tweets? For instance I can put kyle's tweet url as a "u-syndication" on my
#
Loqi
Ok, I'll tell them that when I see them next
#
KartikPrabhu
it seems as bridgy becomes bigger it'll need to deal with logging in and authentication. But that might prevent more users due to added complexity
pbeaulieu and grantmacken joined the channel
#
kylewm
KartikPrabhu: posse-post-discovery would only search your domain for my tweets if I put kartikprabhu.com as my URL in the bio
#
KartikPrabhu
kylewm: so if I put your tweet URL as a u-syndication into one of my posts it gets ignores?
#
kylewm
hmm, no i guess you're right
#
jonnybarnes
aaronpk: my sites micropub I currently do syndicate-to=twitter.com in the API request
#
jonnybarnes
then my site automatically truncates the note as neccessary before sending it to twitter
#
jonnybarnes
why would the request need to be twitter.com/aaronpk?
#
jonnybarnes
unless your site is authneticated with twitter for several accounts
#
kylewm
KartikPrabhu: what is the danger of you publishing responses to my tweet as if they are your own?
#
kylewm
it's all public :P
#
KartikPrabhu
but they are not responses to my post at all!
#
aaronpk
jonnybarnes: cool. I was thinking because I may have multiple twitter accounts I want to syndicate to
#
KartikPrabhu
it is... cheating :P
#
aaronpk
i've seen people do this quite a bit
#
aaronpk
I actually already kind of do it, I have content at twitter.com/aaronpk and twitter.com/pkbot
#
jonnybarnes
Well both can work, as in sending just twitter.com makes the endpoint sybidcate to a default account
#
@kevinmarks
"@mcclure111: I would love to have cloud apps where I had my own little server I personally controlled with apps I controlled" #indieweb
(twitter.com/_/status/485516745143119873)
#
jonnybarnes
but twitter.com/username can be used to be more specific?
scor and emmak joined the channel
#
aaronpk
yeah. and actually i'm thinking that the actual values for the syndicate-to field should be determined by the micropub endpoint and pretty much opaque to the client
#
jonnybarnes
how would that work?
#
aaronpk
adding a section to the page right now... please hold :)
lukebrooker joined the channel
#
aaronparecki.com
edited /micropub (+1031) "/* Syndicating a Post */ add section on Discovering Supported Syndication Targets"
(view diff)
#
jonnybarnes
aaronpk: would a client make that request at the time of getting an access token and cache the result?
#
aaronpk
and possibly refreshed periodically, like if the person returns to the app after a while
#
jonnybarnes
if the endpoint is restricting via access token scopes then that recheck would posibly need to make a request for a new access token
#
jonnybarnes
presumably?
#
aaronpk
not sure what you mean
#
jonnybarnes
aaronpk: right, would the get request always return all possible synication targets
#
aaronpk
would reutrn all possibly syndication targets that the access token is valid for
#
jonnybarnes
and then my client can request permission for some of them when getting an access token?
#
aaronpk
oh I see
#
jonnybarnes
so the GET request needs an access token with it?
#
aaronpk
oh yeah, I should add that
#
aaronparecki.com
edited /micropub (+32) "/* Discovering Supported Syndication Targets */ add authorization header to GET example"
(view diff)
awolf joined the channel
#
@kevinmarks
#indieweb @t: OK, go to [secret URL on my domain] and click the link @lonnierae: types something [text arrives]
(twitter.com/_/status/485523481514496000)
#
jonnybarnes
I'm still not sure how a client is suppose to know which syndication targets to request permission for when getting an access token
#
aaronpk
that might just be up to the auth server
#
aaronpk
to present the person with a list of syndication targets to allow the client to post to
#
aaronpk
rather than having the client request them
#
@kevinmarks
"you're not going to email yourself into building a website" - @t https://www.youtube.com/ #indieweb
(twitter.com/_/status/485525617740247041)
#
@temporaryhuman
RT @kevinmarks: #indieweb @t: OK, go to [secret URL on my domain] and click the link @lonnierae: types something [text arrives]
(twitter.com/_/status/485525653060460544)
#
jonnybarnes
aaronpk: could indieauth.com do that?
#
jonnybarnes
thats what Im using at the moment for my auth endpoint
#
aaronpk
if it's handled by an auth service like indieauth.com then yeah indieauth.com is going to need a way to ask your website for the list of all supported syndication targets to support :)
#
@OhhSocialMedia
RT @kevinmarks: "you're not going to email yourself into building a website" - @t https://www.youtube.com/ #indieweb
(twitter.com/_/status/485526236186157056)
#
aaronpk
my only concern is that I may not want to reveal the full list of my supported syndication targets publicly
#
jonnybarnes
then it may be best if the client itself asks for the syndication targets, if it already has an access token then the request cant be made by anyone and their dog
#
aaronpk
but that request could still be made by any authorized app
#
jonnybarnes
yes, but youd have to have authosised the app
#
jonnybarnes
i.e. only apps that you have already authorised to use your site can get the syndication endpoints
#
jonnybarnes
I would never be able to get the syndication endpoints your site supports because I'd never get a valid access token from your site
#
aaronpk
hm this is tricky
awolf joined the channel
#
aaronpk
cause even if the auth server presents the list, it would have to not present the list unless it knows who you are
#
aaronpk
otherwise you could attempt to sign in anywhere as me and then you'd see my list
#
aaronpk
this is why private stuff is hard :(
#
aaronpk
i think this is tangential to the core idea of syndicating via micropub tho
#
jonnybarnes
yeah, absolutely, a client goes syndicate-to=target, and the endpoint sees if the access token is valid for target and then syndicates
#
jonnybarnes
its just working out how to know what the targets are
#
jonnybarnes
I'm gonna stick with just syndicate-to=twitter.com for now
#
aaronpk
what client is sending that for you right now?
#
jonnybarnes
erm, my client, jonnybarnes.net/notes/new
#
jonnybarnes
if you click the twitter checkbox it adds syndicate-to=twitter.com to the POST request
#
aaronpk
ah cool
#
KartikPrabhu
err how detailed should the demos writeup be? tantek took very detailed notes in IRC
#
aaronpk
as much detail as possible!
#
KartikPrabhu
alright then!
awolf and lukebrooker joined the channel
#
kartikprabhu.com
edited /2014/Demos (+3899) "/* New York Start Demos */"
(view diff)
#
KartikPrabhu
aaronpk confirm that ^ looks good :)
#
aaronpk
yeah perfect!!
#
KartikPrabhu
ok now to hack day
awolf, lukebrooker and pauloppenheim joined the channel
#
kartikprabhu.com
edited /2014/Demos (+5925) "/* New York Hack Day Demos */"
(view diff)
fofr joined the channel
#
kartikprabhu.com
edited /2014/Demos (-83) "removed link to NYC notes from PDX section"
(view diff)
#
kartikprabhu.com
edited /2014/Demos (-1) "/* People Focused Mobile Communication */ fixed names"
(view diff)
#
KartikPrabhu
JonathanNeal: just saw http://indiewebcamp.com/irc/2014-06-28/line/1403984292 in the logs. might have missed it onn IWC day. exposing findElementbyText would be very sweet! That way I don't have to re-include that bit of code in marginalia! :)
#
KartikPrabhu
alrighty NYC demo notes done!
#
colepeters.com
edited /2014/UK/Guest_List (+380) "/* Creators */"
(view diff)
#
kylewm
KartikPrabhu: CSS question for you! I'm playing with a responsive grid for https://kylewm.com/ ... on small screens, I want half of the left sidebar above the content and half at the bottom. is that possible?
#
JonathanNeal
KartikPrabhu: great! I’ll do that.
#
KartikPrabhu
JonathanNeal: I think extending Element sounds like a goiod idea
#
KartikPrabhu
kylewm: looking
#
JonathanNeal
I would prefer to create a global variable, like window.fragmention
#
KartikPrabhu
kylewm: there is an experimental spec called CSS regions that allows you to do that. But it is note well supported and frankly complicated
#
KartikPrabhu
JonathanNeal: maybe. I really don't know JS best practices so up to your good judgement
#
KartikPrabhu
kylewm: also always good to start designing from small screens. So at small screens make the source order as you'd like then use CSS for larger screens for fancy stuff
#
KartikPrabhu
so I'd actually do <sidebar1><content><sidebar2> on small screens and then CSS on larger ones to look like one sidebar
#
kylewm
gotcha, OK thanks!
#
kylewm
that is what i was trying to do but there is some magic somewhere that makes the second sidebar move all the way to the bottom
#
kylewm
a clear:both i assume
bnvk joined the channel
#
KartikPrabhu
that should work. though I forget if it is clear-both on the sidebar or the thing right above it. I always have to fiddle with it a few times
lukebrooker and pbeaulieu joined the channel
#
kylewm
KartikPrabhu: it seems the only way to do it is to float: right the main content
#
KartikPrabhu
hmmm yeah you ave to use float and clear
#
KartikPrabhu
clear only works on floating elements
#
kylewm
all the columns are float:left to begin with
#
kylewm
but it seems that you can't tuck the second sidebar in to the left of a column that is already floated left
#
kylewm
which sort of makes sense
#
KartikPrabhu
yeah float follows source order while deciding which thingy goes first
lukebrooker, KartikPrabhu and tantek joined the channel
#
Loqi
tantek: KartikPrabhu left you a message on 7/4 at 9:22pm: I think algorthmic short URLs are for machines not humans. we should discuss/debate this! maybe then I can get miffed at you for being a pig-head ;)
#
aaronpk
well that's an unusual comment out of context
indie-visitor joined the channel
#
Loqi
Welcome, indie-visitor! Set your nickname by typing /nick yourname
#
tantek
KartikPrabhu slugs are more human friendly, if that's what you're getting at ;)
#
tantek
welcome laz!
#
laz
Hey
#
tantek
laz, what's your personal site?
#
lazlazlaz1
I'm just looking at getting it all Indie-fied
#
lazlazlaz1
Though I was wondering, how have people approached doing POSSE syndication on a static site?
#
lazlazlaz1
Or is that not even relevant? (still reading the wiki)
#
tantek
there are a few here who have done so
#
tantek
bret in particular has a pretty good setup for on his static site, including sending/handling webmentions as well
#
lazlazlaz1
Ok, cool
#
tantek
laz, it looks like you have links to both your github and twitter on your personal domain. if you make a couple of minor markup changes you should be able to use your domain to sign into the wiki!
lukebrooker joined the channel
#
tantek
in both cases, change <a href="http:// … to <a rel="me" href="https:// ...
#
lazlazlaz1
Yep, already on that, just gotta pull it on the server
#
tantek
(rel="me" and http to https
#
Loqi
!calc (rel="me" and http to https
#
tantek
nice!
#
tantek
and then add your domain to your github profile https://github.com/lsjroberts
#
lazlazlaz1
It's a really interesting approach to authentication, definitely something I'll be implementing on my future projects
#
tantek
the key is that it's asking you to do *very little* in terms of changes to your site
#
tantek
it's taking advantage of the fact that you already have links to other service's profiles