#indieweb

2013-05-29

# seyz joined the channel
# andreypopp joined the channel
# hmans joined the channel
# b0bg0d joined the channel
#
@sandeepshetty
Solve simple specific problems or you'll end up with a mess (*cough* webfinger *cough*) #indieweb ()
#
@sandeepshetty
Standards/protocols by BigCo employees for complex/generic BigCo problems won't solve #indieweb problems. Simple &amp ()
#
Loqi
specific solutions will.
#
@sandeepshetty
PubSubHubbub (by Google for Google) or any push based solution for the web is unnecessarily complex for #indieweb. Polling works just fine. ()
# friedcell joined the channel
# peck_lx joined the channel
# andreypopp joined the channel
# andreypopp joined the channel
# hmans joined the channel
# andreypopp joined the channel
# barnabywalters joined the channel
#
@yoz
@lachlanhardy @genmon @thisisaaronland @revdancatt @neb @michalmigurski Talk to @t: http://indiewebcamp.com/Main_Page ()
# brbcoding joined the channel
# mxuribe joined the channel
# pbeaulieu joined the channel
# scor joined the channel
# barnabywalters joined the channel
#
@shawndrape
@sandeepshetty I think that polling works if your network is very small. If #indieweb is a clique that's fine. Not fine for a movement. ()
# scor joined the channel
# scor joined the channel
# b0bg0d joined the channel
# josephboyle joined the channel
# xtof joined the channel
# josephboyle joined the channel
#
aaronpk
bret: yes, will make it public
#
aaronpk
try it now with no key
# brianloveswords joined the channel
# erinjo joined the channel
# tantek joined the channel
# b0bg0d joined the channel
# andreypopp joined the channel
# tantek joined the channel
#
tantek
!tell sandeepshetty PuSH was trivial to implement as a publisher. I think it's a good spec, except for the Atom dependency, which yes we should fix to work with HTML (hAtom/h-entry) in addition.
#
Loqi
Ok, I'll tell them that when I see them next
#
tantek
aaronpk - can we confirm a venue sufficiently to put it on the home page and /2013 page? Instead of the bold TBD for Where?
# seyz joined the channel
#
aaronpk
tantek: yea, almost got it settled
#
tantek
great!
# morrocco_mole joined the channel
# scor joined the channel
# scor joined the channel
#
@SergioLuque
Le meilleur hashtag pour les émissions à venir de Indie Web Recordings ? #IndieWeb #IWR #IndieWebRec … #help ! #mercidavance ()
# eschnou joined the channel
#
@JonhyBleez
RT @SergioLuque: Le meilleur hashtag pour les émissions à venir de Indie Web Recordings ? #IndieWeb #IWR #IndieWebRec … #help ! #mercidavan… ()
# spinnerin joined the channel
#
@sandeepshetty
@blaine In the context of #indieweb (decentralized) where the mode will be couple of hundred followers I'm guessing it should do just fine. ()
# eschnou joined the channel
# sandeepshetty joined the channel
#
Loqi
sandeepshetty: tantek left you a message 2 hours, 27 minutes ago: PuSH was trivial to implement as a publisher. I think it's a good spec, except for the Atom dependency, which yes we should fix to work with HTML (hAtom/h-entry) in addition.
# andreypopp joined the channel
# josephboyle joined the channel
#
aaronpk
yes exactly
# b0bg0d joined the channel
#
sandeepshetty
aaronpk: There's only so much context I can add in 140 chars... I was specifically talking about feeds...
#
tantek
sandeepshetty - then you should have blogged it on your own site
#
tantek
no one here should EVER be using the "only so much context I can add in 140 chars" excuse.
#
tantek
EVER
#
aaronpk
lol yea that's not an excuse here :) I go over 140 chars all the time!
#
sandeepshetty
I know :) Was on the move all day so just quickly jotted down stuff... will be converted to blog posts soon..
#
aaronpk
long-form notes are ok too!
#
barnabywalters
I write long form notes quite often
#
aaronpk
example: https://twitter.com/aaronpk/status/336305584213225473
#
sandeepshetty
It was more about the convenience of a mobile client...
#
barnabywalters
sandeepshetty: sounds like an itch which needs scratching ;)
#
@aaronpk
Super torn on using http://t.co/8W5WfwL9rv. One one hand I really like the low-friction UI, automatically... http://t.co/3eoD7HNeMa ()
#
barnabywalters
I haven’t timed it but I’m pretty sure I can post notes to my site faster than I can to twitter
#
tantek
hmm, perhaps we need to start a /excuses page
#
barnabywalters
due to iOS app startup times
#
tantek
Loqi, Y U T.CO? :(
#
Loqi
who, me?
#
barnabywalters
and the fact I have a dedicated “new note” home screen icon
#
tantek
barnabywalters - nice.
#
sandeepshetty
No 3G where I was and edge is very slow... so firing a mobile client and typing is faster than browsing...
#
barnabywalters
with web-action style URL param autofilling you can also make the home screen icons prefill tags and such things
#
tantek
heads-up, about to jump into this: https://twitter.com/genmon/status/339707310970642433
#
aaronpk
hahahaha
#
tantek
sandeepshetty - sounds like you need to investigate the "email to post" stuff that barnabywalters has working.
#
barnabywalters
tantek: that thread’s interesting — anil seems to be talking about the granny antipattern
#
tantek
in terms of authoring latency etc.
#
@genmon
The Web We Lost http://t.co/3pfQSQgR7x -- if there's a secret cabal pledged to building web-based interop to undermine the stacks, lmk ()
#
tantek
barnabywalters - yeah
#
tantek
note that Yoz already tapped me
#
barnabywalters
I saw
#
tantek
before picking a fight with Anil
#
Loqi
hehe
#
tantek
who sharecrops his notes
#
barnabywalters
btw tantek — just working on new version of Taproot, using 6 char SXG epoch days + SXG seconds for note IDs
#
tantek
and that's what I'm going to reply to first
#
barnabywalters
s/talking about/promoting
#
tantek
:D
#
tantek
exactly, 500 years should be good enough for anyone (reasonably human-like)
#
tantek
(insert obv 640k reference)
#
sandeepshetty
anyone syndicating content on their site (webmention, feed, etc)? How do you deal with security?
#
barnabywalters
as someone who considers himself reasonably human-like, I concur
#
tantek
what are you talking about specifically?
#
barnabywalters
sandeepshetty: you mean inbound content?
#
sandeepshetty
I mean into the site...
#
tantek
sandeepshetty - we're all syndicating out plenty via POSSE
#
barnabywalters
aaronpk and I are doing reply contexts, talk to eschnou about comments ;)
#
tantek
did you not see that blog post?
#
aaronpk
barnabywalters: i'm doing comments now too!
#
barnabywalters
aaronpk: woo!
#
barnabywalters
tries to leave aaronpk a comment
#
sandeepshetty
If you add webmention content on your site and it's html then how do you deal with security
#
tantek
sandeepshetty - eschnou obv - indieweb comments
#
aaronpk
sandeepshetty: I only use plaintext
#
barnabywalters
which so far has been a fair balance
#
sandeepshetty
aaronpk: so you strip out html?
#
barnabywalters
sandeepshetty: from my reply contexts, I strip HTML then auto-link
#
aaronpk
I do, but only because the mf2 parser does it for me
#
aaronpk
and then yea I re-link. which has the interesting side effect that other people's hashtags end up linking to my own tag pages
#
barnabywalters
aaronpk: I should mention: be VERY careful about that
#
sandeepshetty
this brings me to stuff I've been thinking about feeds... they have the same problem no?
#
barnabywalters
all it takes is someone to mark up their content as e-summary instead of p-summary and you’ve got injection
#
aaronpk
barnabywalters: you should document that on the parser :)
#
aaronpk
i'm using the p-name only
#
barnabywalters
aaronpk: I do mention that the parser does no filtering and all data should be suitably filtered, but I should add that particular case as an example
#
barnabywalters
aaronpk: e-name ;)
#
aaronpk
ah yes plz document :)
#
sandeepshetty
so my question is: Are html feeds broken fundamentally?
#
sandeepshetty
all the big silos only do text
#
sandeepshetty
(twitter, facebook, g+)
#
barnabywalters
only do text? how’d you mean?
#
tantek
sandeepshetty - "all the big silos only do…" is also a poor justification for anything
#
tantek
really bad reasoning/methodology
#
sandeepshetty
it wasn't meant as justification..
#
sandeepshetty
just research..
#
tantek
mobile email clients are MUCH better behaved on slow mobile networks (Edge etc.) compared to any kind of mobile native posting client.
#
tantek
all the big silos kill permalinks
#
tantek
sandeepshetty - doesn't your mobile device have a web browser?
#
tantek
why bias research towards bad actors?
#
barnabywalters
aaronpk: left http://waterpigs.co.uk/notes/1468/, did it work?
#
barnabywalters
yay! it did!
#
Loqi
woot
#
barnabywalters
gives aaronpk a high five
#
aaronpk
nice
#
aaronpk
high fives barnabywalters
#
sandeepshetty
tantek: I prefer looking across the board... there's always stuff to learn...
# eschnou joined the channel
#
sandeepshetty
I'm leaning towards plain text feeds...
#
aaronpk
I was assuming plaintext feeds without realizing it
#
tantek
sandeepshetty - sure, there's plenty to learn, even from bad examples, but it's always better to look at good examples first
#
aaronpk
although there are well-established practices for sanitizing html at this point. just look at wordpress, mediawiki, forums, etc etc
#
tantek
aaronpk - sounds like something you could add to the wiki
#
tantek
since you're saying it's "well-established" ;)
#
aaronpk
hehe yes
# bretolius joined the channel
#
sandeepshetty
sanitizing html seems to have edge cases..
#
sandeepshetty
and stripping it means you loose context
#
aaronpk
that's why i'm doing plaintext right now
#
tantek
aaronpk - I think that's reasonable, get something simple built quickly
#
sandeepshetty
will you ever be implementing a feed reader on your site? I want my site to be both a medium for publishing and consuming..
#
tantek
aaronpk even start /plaintext and dump these thoughts there
#
tantek
and we can link to them from /comments
#
sandeepshetty
aaronpk: sorry I might have missed this but how are you ensuring you're getting plain text when the content is external?
#
tantek
sandeepshetty - I think he's busy documenting that at /plaintext
#
tantek
though that makes a good FAQ for that page
#
sandeepshetty
:)
#
aaronpk
sandeepshetty: apparently i'm not, but I thought I was. my assumption was that the "name" property from the mf2 parser was always plaintext
#
aaronpk
so i will add a strip_tags() around the name
#
tantek
aaronpk - anything can be e-*
#
tantek
or someone can also embed literal < > & in the plaintext as well
#
eschnou
aaronpk, did I just read you display indie comments?
#
tantek
so you don't actually want to strip names
#
tantek
er
#
tantek
strip tags
#
aaronpk
none of the examples I was looking at had e-name
#
sandeepshetty
and with what eschnou there seems to be a big security hole.. which is why I left out the bit about what to do with the webmention in the spec
#
tantek
if someone puts "&" in the text, you should keep it, and escape when publishing if necessary
#
aaronpk
tantek: yea my goal is plaintext, whatever that takes
#
tantek
aaronpk - use of < > is plain text
#
aaronpk
eschnou: yes! indiecomments! http://aaronparecki.com/notes/2013/05/21/1/xkcd
#
tantek
everything I'm typing into IRC is plain text
#
tantek
and if I name my blog post: About the <time> element
#
tantek
it should remain that way in whatever system
#
tantek
if it turns into
#
barnabywalters
if you htmlencode the entities from php-mf2 the worst that will happen is that you’ll get html showing up in the output
#
tantek
About the element
#
tantek
then you've got a bug
#
tantek
you're losing plaintext
#
tantek
so just "strip tags" is wrong
#
barnabywalters
which is okay as it’s a fault of the published
#
aaronpk
tantek: yes that is what I want to do. if you publish html on your site that renders as <time> you have to have escaped those characters
#
aaronpk
which means by the time I get it, i don't get <, I get &lt;
#
sandeepshetty
tantek: those should use htmlspecialchars()
#
tantek
sandeepshetty why?
#
tantek
you can't assume the data will go into an HTML context
#
sandeepshetty
tantek: re: and if I name my blog post: About the <time> element
#
tantek
only the publisher can assume that
#
tantek
the (re)publisher
#
tantek
if I put it into an email subject line
#
tantek
I don't want to see &amp;
#
tantek
that's just dumb
#
tantek
premature html escaping causes plaintext corruption
#
barnabywalters
aaronpk: “i don't get <, I get &lt;” is not the case
#
tantek.com
edited /2013/Guest_List (+405) "/* Creators */ putting in placeholder images for folks that forgot to - based on what they have at their site, github, twitter, or otherwise linkto from the contact/about pages. feel free to change, but something is better than nothing, public URLs" (view diff)
#
tantek
ok folks I just added a bunch of images for the slackers
#
eschnou
aaronpk, hmm.. just commented and it didn't show up...
#
tantek
so if you want a different image (ahem, caseorganic, termie), you might want to edit your RSVP
#
barnabywalters
Regarding the e-* p-* HTML thing, please see this gist: https://gist.github.com/barnabywalters/5673385
#
aaronpk
eschnou: did you send a pingback or webmention?
#
eschnou
aaronpk, pingback
#
sandeepshetty
tantek: Whats the solution to the '&' problem?
#
barnabywalters
(output from php-mf2, I have not tested with any other parsers)
#
aaronpk
eschnou: did you get a successful reply from the pingback?
#
eschnou
is digging in the logs
#
barnabywalters
specifically, line 22 https://gist.github.com/barnabywalters/5673385#file-output-json-L22
#
eschnou
aaronpk, mm... no_link_found
#
sandeepshetty
so the reason I brought this up is that if everyone plans to do plain text feeds then how do we add the lost context (microforats related to citation, etc.)
#
tantek
is going to wait for aaronpk to document this on /plaintext
#
aaronpk
can't right now, mostly distracted!
#
barnabywalters
sandeepshetty: it’s safe to parse microformats and display the data in whatever way you see fit — provided the output is all htmlencoded
#
tantek
sandeeshetty - feel free to add your questions to an FAQ section on the /plaintext page
#
sandeepshetty
tantek: will do
#
tantek
heck, CREATE the page if you have to
#
sandeepshetty
barnabywalters: that has the '& problem that tantek pointed out..
#
aaronpk
please do heh I will add stuff to it later
#
tantek
sandeepshetty - type it into the new page - there's already too many hanging questions / answers here in IRC to track
#
sandeepshetty
* on it
#
barnabywalters
if you’re displaying the content as HTML you can assume it’s going in an HTML context and html-encode it
#
barnabywalters
the problem is solved outside the parser
#
tantek
barnabywalters - the parser should not be escaping plain text
#
tantek
except for JSON - since that's where it puts it
#
eschnou
I did not follow you plaintext discussion, but is it not just a matter of strip_tags, and allowing some safe tags (e.g. a anchors, span, etc?)
#
sandeepshetty
eschnou: there are always edge cases with that approach..
#
tantek
eschnou - unfortunately no - nothing is "just a matter of…" right now
#
tantek
WE can't follow the plaintext discussion because we exceeded IRC thread readability
#
tantek
hence pointing people to write up their questions/answers on the wiki
#
aaronpk
we broke irc
#
tantek
which forces a focusing function
#
tantek
aaronpk - IRC just has limitations
#
tantek
like Twitter or anything else
#
tantek
just need to recognize them and know when to move things elsewhere
#
aaronpk
yep good call
#
eschnou
tantek, as long as we don't move to a mailing list, I'm fine :)
#
aaronpk
hahaha
#
tantek
eschnou - you said it brother
#
tantek
mailing lists are worse for all the above
#
sandeep.shetty.in
created /plaintext (+285) "Created page with "* Displaying HTML content from external sites (feeds, webmention, etc.) posses a security risk. * Prefer plaintext * Whats the right way to sanitize external content. * However c..."" (view diff)
#
tantek
so I start writing an @-reply, and then realize I can improve the UI-flow of my @-reply authoring, so I jump into writing code...
#
tantek
itch -> scratch
#
eschnou
I like IRC, and the fact we log the channel, I actually like to get my morning coffee reading your discussions of the night :-)
#
tantek
(certainly not itch -&gt
#
tantek
scratch ) :P
#
aaronpk
eschnou: sometimes i wish i was in your timezone
#
sandeep.shetty.in
edited /plaintext (+57) (view diff)
#
sandeepshetty
Jsut added some points /plaintext.. feel free to add stuff... I'm new to this
#
eschnou
aaronpk, ho, that's easy: cp /usr/share/zoneinfo/Europe/Brussels /etc/localtime
#
eschnou
;-)
#
aaronpk
haha
#
aaronpk
eschnou: what's the post you tried to reply to me with?
#
eschnou
aaronpk, xkcd
#
barnabywalters
just caught up — tantek: RE parser shoudn’t be escaping plaintext: it isn’t
#
barnabywalters
unless I am missing something
#
eschnou
aaronpk, http://eschnou.storytlr.net/entry/aaronpareckicom-duh-i-actually-never-realized-there-was-hover-text-in-xk-62-24947.html
#
eschnou
but the issue may be there: that link actually 301 to my domain at eschnou.com, maybe that your code does not follow these redirects
#
sandeepshetty
barnabywalters: how do decide if the external content is plaintext or html?
#
eschnou
aaronpk, I should use the cname domain, but my current implementation makes it tricky and I didn't spend the time on this yet.
#
aaronpk
ohhh
#
barnabywalters
sandeepshetty: go by the microformats spec (assume plaintext from name, summary and HTML from content) and if you overencode, it’s the publisher’s problem which needs to be fixed on their end
#
barnabywalters
if in doubt (dealing with unknown properties), encode
#
aaronpk
barnabywalters: wait what! now you say name has to be plaintext?
#
sandeepshetty
This isn't a publishing problem.. it's a security one... assume malicious parties...
#
aaronpk
eschnou: yea probably I am not following the redirect...
#
barnabywalters
sandeepshetty: I am
#
sandeepshetty
barnabywalters: you'll have to explain.. are you saying you won't encode the name and summary?
#
barnabywalters
with the logic I described, the worst that happens assuming a malicious party is you get some escaped HTML showing up on your site
#
barnabywalters
okay, I’m writing this up with code samples :)
#
sandeepshetty
just add it to /plaintext
#
aaronpk
heh
#
aaronpk
so barnaby just replied to eschnou's reply
#
aaronpk
http://waterpigs.co.uk/notes/1469/ http://eschnou.com/entry/aaronpareckicom-duh-i-actually-never-realized-there-was-hover-text-in-xk-62-24947.html
#
aaronpk
I want to be notified of barnaby's reply
#
termie
tantek: looking now
#
tantek
aaronpk - sounds like a use-case you should document on /webmention
#
termie
tantek: that's a good image, it will make people not recognize me
#
tantek
termie LOL
#
termie
tantek: so i can sneak up on them and get all indieweb
#
tantek
ROFL
#
eschnou
aaronpk, well, I think this is more the case of you 'subscribing' to the comments feed
#
termie
and yay caseorganic, she was fun to talk to at xoxo
#
Loqi
giggles
#
eschnou
aaronpk, how to subscribe and to which feed is what to discuss
#
aaronpk
ooh I do like the subscribe idea
#
tantek
eschnou - subscription eventually comes down to PuSH notifications
#
tantek
so if we're talking about a notification based protocol, we should consider multiple possibilities
#
eschnou
tantek, absolutely and the discussion we previously had on PuSH and microformats support
#
tantek
both PuSH based and webmention based
#
tantek
they're both just notification protocols
#
tantek
no reason to dismiss either one out of hand
#
tantek
we don't know what combination of each would actually work best in this use-case
#
eschnou
tantek, well, as a (lazy) developer, I would mind if we just settle on one for now :-)
#
tantek
hence once again
#
sandeepshetty
People that have implemented PuSH: do you also subscribe to feeds with regular rss/atom?
#
tantek
eschnou - sometimes an ounce of thinking can prevent a pound of wasted coding
#
tantek
that's the problem with the "just settle on one for now"
#
aaronpk
sandeepshetty: I publish to a hub, but don't subscribe to anything because it's too hard
#
tantek
methodology
#
tantek
a-ha - see now that's interesting
#
tantek
subscribing too hard
#
tantek
aaronpk - but you have no problems receiving webmentions
#
aaronpk
yea, subscribing in PuSH is too hard because of the extra round-trip the request has to make
#
tantek
so you ARE subscribing
#
sandeepshetty
I would just prefer building in a feed reader into my site.. why go PuSH?
#
tantek
sandeepshetty - depends on how "real time" you want it
#
tantek
if you want your feed updates to be as fresh as txt messages on your phone, you want PuSH
#
barnabywalters
and how many resources you want to waste
#
aaronpk
no, webmention isn't subscribing, because anybody can send me a webmention unsolicited. subscribing implies intent on my behalf
#
sandeepshetty
I think real time is overrated in this case..
#
sandeepshetty
a 5 min dealy won't make a difference..
#
barnabywalters
webmention and PuSH are solving different problems
#
aaronpk
realtime is not overrated. I get IRC notiications about all sorts of stuff in realtime and it's great
#
tantek
aaronpk - I think you meant was, subscribing implies an open connection / relationship of sorts
#
tantek
whereas webmentions are purely transactional
#
tantek
however, you asked for a relationship
#
tantek
you said you wanted to receive webmentions
#
tantek
for a specific post's comments
#
aaronpk
anybody can send me a webmention whether I want it or not
#
sandeepshetty
tantek: webmentions are unsolicited
#
aaronpk
that's very different from subscribing
#
tantek
but that's not what you asked for
#
tantek
you specifically asked for future webmentions for a specific post's comments
#
tantek
which *is* a request for a relationship
#
aaronpk
no, I said "I want to be notified of barnaby's reply", nothing about protocol
#
tantek
and presumably every other reply
#
sandeepshetty
tantek: one is with a specific person the other with everyone..
#
tantek
not just barnaby's
#
aaronpk
yes in this case I really do want to subscribe to that thread, and the thread on barnaby's site too. which is going to quickly turn into a de-duplication problem :)
#
aaronpk
this needs a new page lol
#
tantek
aaronpk - so, you're going to create that right? ;)
#
aaronpk
yes this time
#
tantek
:D
#
tantek
gives up on incremental coding improvement for now, but has noted what functions he needs to change to get the incremental UI improvement he wanted.
#
eschnou
aaronpk, I cheated and pinged manually with the good link and it is there, yeah!
#
aaronpk
hooray!
#
sandeepshetty
I like hackable protocols :)
#
barnabywalters
I am up to speed on the e-* p-* issue now
#
barnabywalters
there is indeed a potential overescaping problem when dealing with incoming e-* content
#
@t
Thanks @yoz! @lachlanhardy @thisisaaronland @revdancatt have personal sites, join us @IndieWebCamp June 22-23: http://tantek.com/2013/149/t1/have-personal-sites-join-us-indiewebcamp ()
#
barnabywalters
my initial thoughts on how to fix it are to see if the content which is expected to be e-* parses as HTML
#
barnabywalters
the problem mainly is that if you expect a property to be parsed as e-* but it was marked up and parsed as p-*, you’re either going to get incorrect HTML or mistake encoded HTML for literal HTML
#
tantek
barnabywalters - worth bringing that up in #microformats
#
barnabywalters
my brain is frazzled from a day of statistical stuff and an evening of whatever it was we were just discussing ;) off to bed now
#
barnabywalters
goodnight all
#
Loqi
buenas noches
#
tantek
poor kid, we wore him out.
#
tantek
this channel is getting intense!
#
aaronpk
srsly
#
sandeepshetty
:)
#
tantek
can I just say how much you guys all rock?
#
tantek
is still doing lots of catch-up coding on the whole comments / reply-contexts thing.
#
sandeepshetty
aaronpk: re getting notifications about new comments.. old school blogs used to have a "email me when a new comment is posted" type feature
#
aaronpk
yea! i think that's what eschnou was alluding to
#
tantek
sandeepshetty - good point!
#
tantek
aaronpk - can we use any of those email providers you mentioned/listed on the wiki for that use-case?
#
eschnou
sandeepshetty, I actually do have this feature :-)
#
aaronpk
hah yes, but I don't *really* want to get them via email
#
tantek
eshnou - did you implement it? or do you use an email provider to send?
#
tantek
aaronpk - it's for your readers!
#
aaronpk
ah
#
sandeepshetty
it's better to solve is orthogonally like that...
#
tantek
and it's something they can get from your site, that they can't get from Twitter!!@
#
eschnou
tantek, well, I just use the php send email stuff
#
tantek
eschnou - good to know
#
eschnou
tantek, I guess you can configure the smtp gateway of your choice etc.
#
aaronpk
heh yea I gave up on sending email from my own servers a long time ago. really not fun dealing with delivery issues
#
sandeepshetty
aaronpk: it isn't meant to be super realiable..
#
aaronpk
I won't bother doucmenting those issues, there's a ton of info already: http://mailchimp.com/features/email-delivery/ http://mailchimp.com/resources/guides/html/email-delivery-for-it-professionals/
#
tantek
worth documenting both approaches
#
eschnou
one of the challenge is that I do all this synchronously, but when the comment thread gets long, it means someone posting a new comment sees the waiter rolling for a while...
#
aaronpk
eschnou: I implemented a simple task queuing system into p3k this weekend
#
eschnou
the good thing is I never really have much comments on my site anyway :-)
#
sandeepshetty
eschnou: You can jsut fork off a process...
#
eschnou
aaronpk, that's what I need indeed...
#
aaronpk
check out beanstalkd. works with any/multiple language
#
aaronpk
super simple and lightweight
#
eschnou
thanks, will have a look
#
sandeepshetty
you could also do a lo-fi solution... add an entry and have a corn send out the email..
#
sandeepshetty
If you can't tell I'm all for lo-fi solutions :(
#
Loqi
aww, cheer up
#
sandeepshetty
I meant :D
#
aaronpk
cron?
#
eschnou
well, I'm off as well, cheers all!
#
sandeepshetty
argh I should just go to bed..
#
sandeepshetty
aaronpk: yes
#
aaronpk
yea that would be cool too. simpler/slower queuing, fewer moving parts
#
aaronpk
sounds like we need a /queueing page now too
# b0bg0d joined the channel
# texburgher joined the channel
#
sandeepshetty
Time for me to get some shut eye... later.
#
aaronpk
night!
#
sandeep.shetty.in
created /queueing (+158) "Created page with "Approaches to handle work asynchronously * A proper queuing system like beanstalkd, gearman * Make an entry somewhere for the task and then have a cron do it."" (view diff)
#
tantek
I was using an h-as-reply class for my replies, but now I'm finding I don't have much use for it
#
tantek
for display purposes (e.g. reply contexts) I can simply ask, does this post have an in-reply-to URL or not?
#
tantek
and if does, display it as a reply with reply context
#
sandeep.shetty.in
edited /queueing (+4) (view diff)
#
sandeep.shetty.in
edited /plaintext (-8) (view diff)
#
@t
@jalbertbowdenii #indieweb creators: #ownyourdomain #ownyourdata, create code|design|ux, share: http://indiewebcamp.com/Creator (ttk.me t4QE2) ()
#
tantek
can I just say I love having #ownyourdata @-reply support?
#
tantek
like I can finally have threaded conversations with Twitter sharecroppers again.
#
tantek
speaking of which, I have to respond to Anil.
# andreypopp joined the channel
#
@t
@anildash @yoz @genmon goals are good. But no one project can build interop, just monoculture: http://indiewebcamp.com/monoculture (ttk.me t4QE3) ()
#
@t
@anildash @yoz @genmon “regular people want” *is* idealist. Successes start with scratching personal itches. #indieweb (ttk.me t4QE4) ()
#
@t
@genmon which of those is an itch for your own personal site? Join us on Freenode #indiewebcamp ()
#
Loqi
let's discuss further (ttk.me t4QE5)
#
tantek
ok, done replying. Feel free to add more if you think I missed anything.
#
tantek
(still holding the but-why-are-you-still-sharecropping-on-twitter-then ace for later use)
#
tantek
and keep an eye out for genmon in case he actually shows up!
#
tantek
he's in the UK so he may be off for the night.
#
aaronpk
you can !tell him something so you get pinged when he joins!
#
tantek
aaronpk - I'm not sure what his irc nick will be
#
tantek
though I can guess genmon
#
tantek
what's the harm I suppose
#
aaronpk
true
#
tantek
!tell genmon welcome to #indiewebcamp! how may we service your #indieweb needs? :)
#
Loqi
Ok, I'll tell them that when I see them next
#
tantek.com
edited /queueing (+10) "is a stub" (view diff)
#
tantek.com
edited /plaintext (+10) "is a stub" (view diff)
#
tantek
man, posting all those @-replies really makes it clear I need reply-context on my replies on my own site
#
tantek
not very useful without the context :/
#
tantek
or at least "View conversation on Twitter" rel syndication links
#
tantek
sigh
# andreypopp joined the channel
#
aaronpk
+1 for syndication links at the very least
#
tantek
aaronpk, thanks, I do appreciate that input
#
tantek
in figuring out what to prioritize implementing, sometimes it's hard for me to tell which itch is hurting more
#
aaronpk
that would at least let me auto-discover your syndicated posts when replying. also when reading your site it's not a big deal to click through to a tweet most of the time
#
tantek
so outside perspective can help a lot there :)
#
tantek
so e.g. "View on Twitter" and "View conversation on Twitter" links then?
#
tantek
would that be click-through discoverable enough?
#
aaronparecki.com
created /comment-notifications (+3567) "Created page with "== Scenario == # [[User:Aaronparecki.com|aaronpk]] created a new post [http://aaronparecki.com/notes/2013/05/21/1/xkcd] # [[User:Eschnou.com|eschnou]] created a reply post [http..."" (view diff)
#
tantek
woot!
#
Loqi
:D
#
aaronpk
tantek: yes those titles sound completely reasonable
#
aaronpk
or instead of "View on Twitter" it could be "Reply on Twitter" if you want something more actionable
#
aaronpk
that was my reasoning for using "reply on twitter"
#
tantek
I don't want to send a message that I'm advocating using Twitter for replies
#
aaronpk
hah ok
#
aaronpk
that's the other way of looking at it
#
tantek
since that doesn't seem like a good idea to propagate vis-a-vis supporting an #indieweb way
#
aaronpk
i'm curious what you think of #3 on http://indiewebcamp.com/comment-notifications (conversation threading)
#
tantek
1 sec, updating Falcon working on
#
aaronpk
cool
#
tantek.com
edited /Falcon (+489) "/* Working On */ add more specifics/reasons for rel syndication link use-cases" (view diff)
#
tantek
I'm really glad I'm documenting this itching intuition before/while implementing this stuff, as then it feels much more real than the hypothetical "if only …" or "I wish…" type declarations people usually make
#
tantek
as I implement each one, I plan to move the reasoning bits to the generic pages on each subject
#
tantek
seems like each is useful as a case study
#
tantek
so re Option 3
#
tantek
a few things
#
tantek
I don't think we can avoid "threading" at least semantically whatever we do. Threading happens naturally due to the freedom of hypertext structures and our use of in-reply-to links
#
tantek
this is independent of any protocol decisions/design
#
aaronpk
i'm not talking about threading in terms of nesting and indented displays
#
tantek
I'm saying it's useful to acknowledge that semantic threading is inevitable
#
aaronpk
ok
#
tantek
as that helps inform the design of anything related
#
tantek
we can choose to flatten or not in protocol or in display for other reasons
#
tantek
I think Option 2 is something we're going to have to solve any way for multi-replies
#
tantek
which IMO is the right way to approach solving it - solve multireplies
#
tantek
in terms of "much more careful markup to make work properly", perhaps we can combine in-reply-to and breadcrumbs
#
tantek
http://microformats.org/wiki/breadcrumbs
# spinnerin joined the channel
#
aaronpk
is not a fan of breadcrumbs
#
tantek
yeah - the presentation is kinda ugly IMO
#
aaronpk
tends to lend itself to overengineered sites
#
aaronpk
I used to implement strict breadcrumbs both on my personal site and also commercial sites I was making, eventually just dropped the whole thing.
#
aaronpk
in like 2003-2004
#
tantek
they're only useful if they help the reader with a sense of where they are
#
tantek
and if the crumbs are actually useful places to go
#
aaronpk
right
#
tantek
re: Option 1 btw - I think subscribing to comments is fascinating and part of a larger "subscribing to an indieweb site" discussion
#
aaronpk
I find the "Where you are" only really applies when you're reading really big sites that have a full TOC like reference manuals
# sandeepshetty joined the channel
#
tantek
aaronpk - yeah, deep TOCs
#
sandeepshetty
Ok I couldn't sleep...
#
tantek
welcome back!
#
sandeepshetty
aaronpk: re Comment-Notifications I think what you are looking for is doen by salmon..
#
sandeepshetty
sending comments upstream (hence the name salmon)
#
aaronpk
possibly. I would have to dig back into xml land to figure that out, and I remember it being really painful before
#
sandeepshetty
Might be interesting to think about how it could be done with webmention
#
sandeepshetty
tantek: re the '&' bug: if you encode "tantek & aaronpk" only during displaying it as html, then it still "appears" as "tantek & aaronpk"
#
tantek
sandeepshetty - that's right
#
tantek
that's the way to do it
#
sandeepshetty
So always encoding plaintext is the way to go.l..
#
tantek
push the encoding responsibility to the last moment
#
tantek
sandeepshetty - that's what I do with my own content!
#
sandeepshetty
Thats how I would do it anyway.. its the responsibility of the templating engine in my case..
#
sandeepshetty
:)
#
tantek
exactly
#
sandeepshetty
also re composite streams (discussion from 2013-05-28): I guess I'm the only on that has only a single post type...
#
sandeepshetty
s/on/one
#
Loqi
sandeepshetty meant to say: also re composite streams (discussione from 2013-05-28): I guess I'm the onely one that has onely a single post type...
#
tantek
sandeepshetty - no, the default is that people only have a single post type. a blog post.
#
tantek
article
#
tantek
what's different is having multiple post types
#
tantek
er, less common
#
sandeepshetty
why do you need multiple post types?
#
tantek
sandeepshetty - because I like to post notes and articles.
#
tantek
and now replies
#
tantek
though for me replies aren't a new "type" as much as an aspect of any post type
#
sandeepshetty
to me the only diff between notes and articles is the title..
#
sandeepshetty
its more a last mile display thing than anything else..
#
aaronpk
sandeepshetty: my notes are plaintext, articles have formatting. also see: http://indiewebcamp.com/Semantics_Of_Article-Note_Distinction
#
sandeepshetty
I just do markdown for both
#
aaronpk
I did, but recently converted by notes to all plaintext for a number of reasons
#
sandeepshetty
be interesting to know the reasons...
#
sandeepshetty
which brings me to https://github.com/converspace/markaround
#
tantek
yeah - that page (distinction)
#
tantek
sandeepshetty - for me, the display is quite different
#
tantek
and really this is all UX/design based
#
sandeepshetty
doesn't it kinda suck to have the ux dictate the backend?
#
tantek
because I want to make things look different, it makes sense to do so based on an explicit semantic difference.
#
aaronpk
mostly due to syndicating content elsewhere. pushing to twitter, if I had <a href="http://tantek.com">Tantek</a> somewhere, twitter would only display Tantek. Same for when barnaby's site would pull out my h-entry.
#
tantek
sandeepshetty no! UX should always dictate the design of EVERYTHING
#
tantek
user-centered design
#
sandeepshetty
aaronpk: I just push markdown... works well for me..
#
tantek
http://en.wikipedia.org/wiki/User-centered_design
#
sandeepshetty
:)
#
aaronpk
sandeepshetty: you push markdown out to twitter?
# b0bg0d joined the channel
#
sandeepshetty
yeah let me dig up some tweets..
#
sandeepshetty
this for example: https://twitter.com/sandeepshetty/status/268135012493324289 it's just a bookmark (which is also just a regular post on converspace)
#
@sandeepshetty
[Efficient Pagination Using MySQL](http://t.co/NaVPM5mj) #php (http://t.co/PyUOTMHL) ()
#
sandeepshetty
and this: https://twitter.com/sandeepshetty/status/267173915330236416
#
@sandeepshetty
Stumbled upon [Dopplr colors](http://t.co/HrQqXJ3Q) via @briansuda. Using it in #converspace to [...](http://t.co/8D4Je4iy) #indieweb ()
#
tantek
wow that's fascinating
#
sandeepshetty
tantek: From a stream perspective it's all just content I'm publishing.... why the need for them to look different?
#
tantek
sandeepshetty - we should document this as another POSSE to Twitter alternative approach
#
tantek
sandeepshetty - aesthetics
#
tantek
personal preference
#
sandeepshetty
I should mention I don't auto-post to twitter... I think each medium (twitter/facebook) has it nuances.. so I hand edit before posting..
#
Loqi
fo sho
#
sandeepshetty
plus I work on making it enticing to click through to go to the site..
#
sandeepshetty
like this for example https://twitter.com/sandeepshetty/status/267744716244795392
#
@sandeepshetty
Reading Layers - There are many layers at which you can read a post. For example: [...](http://t.co/GLKtfSnF) #writing ()
#
tantek
sandeepshetty - that's a totally fine approach to POSSE
#
aaronparecki.com
edited /Semantics_Of_Article-Note_Distinction (+312) "/* Personal, subjective distinctions */ adding my thoughts" (view diff)
#
sandeepshetty
aaronpk: what was the problem with posting markdown to twtiter?
#
tantek
as long as you're *only* posting to Twitter stuff that is at least somewhat on your own site
#
aaronpk
i wasn't posting markdown to twitter, I was posting the text to twitter converted from my HTML.
#
aaronpk
so <a href="http://tantek.com">Tantek</a> would end up on twitter as just "Tantek"
#
aaronpk
and if I linked to an article, it would just get the name of the link
#
aaronpk
so I switched to plaintext just like twitter does it
#
tantek
aaronpk - that's too bad - because you could auto-convert that to an @-reference
#
tantek
(like what Barnaby does)
#
sandeepshetty
ah.. I just have everything in markdown hence the need for me to move to https://github.com/converspace/markaround eventually so that I can do microformts in plain text
#
aaronpk
for people yes, but not for other links
#
tantek
yes
#
sandeepshetty
tantek: When you have sometime take a look at https://github.com/converspace/markaround its a very early draft.. I'm hoping to start implementation in a months time... I know there are something there that you don't like (based on your markdown wiki page)
# andreypopp joined the channel
#
tantek
oh you've seen my markdown rant page huh? ;)
#
tantek
I see we agree on some things "only one way to do something"
#
sandeepshetty
yep :)
#
aaronpk
heh I also have my own extended markdown
#
tantek
oh look, References!!!
#
tantek
:)
#
sandeepshetty
aaronpk: I also do extended markdown on sandeep.io (stuff like @names, hastags, etc..)
#
aaronpk
which ironically has a minor escaping issue right now http://aaronparecki.com/articles/2012/09/01/1/some-enhancements-to-markdown
#
tantek
sandeepshetty - yeah, some of it I like, others not
#
sandeepshetty
but I don't think of them as part of content. Just a presentation thing.
#
tantek
I'm pretty big on the normalish readable text principle
#
tantek
rather than cribbing from MediaWiki syntax
#
sandeepshetty
The big things for me there are the consistent link syntax... check img linking and regular linking..
#
sandeepshetty
and I was going for faster typing.. because it almost always gets converted when viewing...
#
sandeepshetty
without giving up too much on raw readability though...
#
tantek
all the indented list stuff you have gives up on readability IMO
#
tantek
(it's one of my pet peeves with media wiki syntax)
#
sandeep.shetty.in
edited /plaintext (+80) (view diff)
#
sandeep.shetty.in
edited /comment-notifications (+149) "/* Related */" (view diff)
#
sandeepshetty
It's a tradeoff for being able to type in textareas... tabs are big pain in the *** inside textareas
#
sandeep.shetty.in
edited /Semantics_Of_Article-Note_Distinction (+162) "/* Personal, subjective distinctions */" (view diff)
#
sandeepshetty
over and out.
#
sandeep.shetty.in
edited /queueing (+103) (view diff)
#
tantek
I guess not quite out ;)
#
sandeep.shetty.in
edited /Semantics_Of_Article-Note_Distinction (+12) "/* Personal, subjective distinctions */" (view diff)
# josephboyle joined the channel
#
tantek
um I just came up with I think another post type, that's kind of particular, maybe an edge case
#
tantek
a cartoon
#
tantek
subset of drawing
#
aaronpk
heh
#
tantek
I guess technically a photograph thereof
#
aaronpk
why is that not just a photo?
#
tantek
but I'd display it differently than just a photo
#
tantek
because it has a name and caption built into the image
#
tantek
but I'd want to reflect those semantics in alternate markup
#
aaronpk
huh interesting
#
aaronpk
some of my photos have a name and caption though
#
aaronpk
i think it's just a photo post that also has a name and text content
#
tantek
maybe? I mean example: http://xkcd.com/386/
#
tantek
then there's http://davidwalsh.name/cmx-js
#
aaronpk
lol!
#
tantek
one difference - a comic would likely have multiple panels
#
tantek
and dialog
#
tantek
and I'd want to mark that up some way so that it was accessible
#
tantek
I guess I'd need to post a real world example to play with
#
tantek
hmm
#
tantek
related: http://www.wired.com/wiredenterprise/2013/02/xkcd-style-comic-generator/
#
tantek
another example: http://cssquirrel.com/comic/?comic=101
#
tantek
how sad - it uses longdesc - which 404s
#
@sandeepshetty
@shawndrape the #indieweb (statistical) mode will be small no. of followers. Poll will work just fine. ()
#
tantek
the path sandeepshetty is taking is fine. minimal implementation based on polling, then he can assess later whether he needs/wants PuSH or not
#
tantek
whether any one of us agrees or not, doesn't matter, it's part of the strength of the indieweb, each implementer decides for themselves what approach to prioritize
#
tantek
in contrast to monocultures
#
tantek
ok so for comics posts
#
tantek
I'm thinking they resemble articles since they typically have a name
#
tantek
at least XKCD style
#
tantek
and I'm thinking of putting the whole thing in an <object>
#
tantek
and having the fallback heading etc. in the <object>
#
tantek
so it'll be a special kind of article - we'll see how much I have to change my CSS to make this work
#
tantek
but I'm reusing the "a" shortcode for it
#
tantek
er, I mean "b". ahem.
# scor joined the channel
# scor joined the channel
# brianloveswords joined the channel
#
bret
not to bag on facebook more but... screw it lets: https://medium.com/a-programmers-tale/f7b8c66109ea
# tilgovi joined the channel
#
bret
although, going through the comments makes me frown. Lots of "twitter is still good, lets fail to realize the bigger issue here"
#
bret
as if twitter is going to a) ever going to have as big of an impact as FB, and b) not be susceptible to all of the same problems
#
pdurbin
twitter used to be great. facebook never was
#
bret
facebook used to be okay when it was highschool and college
#
bret
seemingly
#
pdurbin
I was out of college already when facebook was just college
#
bret
in retrospect, given what it turned into though, i see that this was a drastic illusion and mistake us kids made in promoting it
#
bret
:/
#
bret
oh well oops
#
@matro
http://indiewebcamp.com/monoculture ()
# tantek joined the channel
# tantek joined the channel
# andreypopp joined the channel
# andreypopp joined the channel
# cweiske joined the channel
#
tantek
well one distinction I've found between a comic and an article is that I don't want to display an explicit <h1> heading before a comic - since the comic has the heading built into the image
#
tantek
so I'm going to use h-as-article h-as-comic
#
cweiske
what about a hidden topic?
#
cweiske
because the image is not easily machine-readable
#
tantek
cweiske - hence I'm using <object> for the image with text fallback inside
#
cweiske
ah
#
tantek
but in this case I may be able to simply query the entry-title node to see if it has an entry-content ancestor
# b0bg0d joined the channel
#
tantek
and if so - to not duplicate it in its own h1 outside the entry-content
#
tantek
e.g. in a stream context
#
@xtof_fr
@anthere y'a @thierrymarianne qui est rentré dans ta carto http://christopheducamp.com ()
#
@xtof_fr
Inspiration /by @anthere - stratégie #indieweb ()
#
tantek
my first comic post:
#
tantek
http://tantek.com/2013/149/b1/bayesian
# indiewebcamp-vis joined the channel
(or join via IRC, Matrix, or Slack)