2013-11-22 UTC
# 00:02 KevinMarks thinking about this further, I wondered if processing the HTML template leaves the template classes in
# 00:02 tantek I'm still looking for specific use-cases for such things
# 00:02 KevinMarks then realised that the mf2 syntax is rich enough to specify what to replace.
jp and b0bg0d joined the channel
# 00:17 jp having such a hard time sorting these DNS problems out
# 00:18 jp www as a CNAME to @ is correct - right?
foo_, paulcp_ and tantek joined the channel
# 00:39 tantek KevinMarks, I agree about whole element replacement use cases (and uf2 having enough to do so)
# 00:40 tantek Though for 2) we could just say use a <span> in the template to delineate the part of the element that should be replaced
# 00:42 tantek I'm also thinking that aside from repeats/loops, that as a result of HTML template processing, there shouldn't be any new structural elements introduced into the content
# 00:43 tantek i.e. introducing new elements/markup that's just part of *content* is fine (e.g. e-content from a blog post / article), but no new furniture
# 00:43 KevinMarks well, for the set of attributes microformats use u- and dt- work
# 00:44 tantek ok, so u-* imply use the URL-like attribute of the element
# 00:44 tantek as a way of making HTML injection more predictable, i.e. for styling purposes
# 00:45 tantek for dt-* I suppose we can use the datetime attr if it's on a <time> element
# 00:45 KevinMarks rel's would be hard, but they already are problematic in parsing
# 00:46 tantek or we include all the rels, and have the template engine delete the ones that don't apply
# 00:46 tantek as described in the camendesign DOM template intro
Seeker285, obensource and obensource_ joined the channel
# 00:47 tantek for the dt-* human visible content I figure there's enough datetime formatting conventions that we can reuse those
ozten, snarfed and foo_ joined the channel
# 00:50 tantek e.g. YYYY YY MM M DDD DD D and maybe MNAME MNM DNAME DNM (needs research) - are all those obvious as to what they do?
# 00:51 tantek re: replace content of dt- with a localised string
# 00:51 KevinMarks ah, right, rather than guess which human convention is being used form the example int he template
# 00:52 tantek for the latter set this is better: MONTH MNTH DAY DY
smus joined the channel
# 00:53 KevinMarks you could use explicit exemplars - pick a date and use it as what you put in the template
# 00:54 tantek and things like YYYY-MM-DD are already more obvious to folks
# 00:54 tantek as communicating "fill in those with real values"
# 00:58 KevinMarks choose programmers day as the exemplar date, then enumerate known formats
# 01:03 tantek because you have to remember *what to write out*
# 01:03 tantek rather than *pick from a set of choices presented to you*
# 01:05 tantek also such exemplar techniques fail to communicate details like do you want leading zero on months, days, hours or not?
mathpunk joined the channel
# 01:05 tantek whereas with what I proposed, it's the difference between MM M, DD D, HH H
# 01:09 tantek oh and how could I forget - TH as a suffix to any numerical expansions to replace with the respective ordinal suffix
# 01:11 tantek KevinMarks - am I missing anything? I've got at least all the Google Docs cases covered as well as what I've seen on people's indieweb sites.
# 01:13 tantek well technically it's ISO-8601 day of year :)
# 01:14 tantek sure - I was just making clear I didn't make it up
scor joined the channel
# 01:16 tantek so let's see, TZ for the TLA style, and TZH and TZO for the other two (hours and offset)
# 01:17 tantek DAY and DY are for day of the week, e.g. Thursday vs Thu
# 01:18 tantek who else publishes timezone info on their posts besides aaronpk?
# 01:19 tantek I think week of the year had some industrial uses
# 01:19 tantek we'll let the enterprise folks figure that out
# 01:19 tantek KevinMarks - stop before you hurt yourself further.
# 01:20 tantek hmm even adactio doesn't publish timezone - I'm a bit surprised at that - as he does travel quite a bit, and is a fan of things time / time-travel related
# 01:25 tantek KevinMarks - find any real world examples of indieweb publishers doing so? Great, they can write their own template code ;)
# 01:30 jp what's everyones preferred choices for free DNS hosting?
# 01:30 jp cloudns seems to be down
tpinto joined the channel
# 01:32 tantek your domain registrar? or maybe I'm misunderstanding the question.
# 01:33 jp gandi only offers it when you point to them - and ive been having so much trouble getting it to work with them and theyve put their favicon on my site since i pointed to them
# 01:38 tantek hmm - there is no hour that can be used to demonstrate both 12 hour and 24 hour formats with and without explicit leading 0
# 01:39 jp use 'am' and 'pm' after?
# 01:41 tantek I'm trying to pick an hour of the day to illustrate *four* variants and that's apparently not possible. At most 3 at a time are possible.
# 01:41 tantek so I'm sacrificing 24H (24 hour "hours" without leading 0)
b0bg0d joined the channel
obensource_ joined the channel
# 01:49 jp managed to get my MX DNS working now finally...
# 01:49 jp something seriously wrong with gandi's
# 01:51 jp oh must be my cache then
# 01:51 jp did what i've been trying to do for about 4 hours on gandi's DNS zones in about 15 mins on a free DNS host
bnvk joined the channel
# 01:57 tantek (I think that's been a longtime background itch for a while - annoyed with how arcane the C / PHP datetime formatting functions are etc.)
# 01:57 tantek (hoping someone will point out how what I proposed has already been done, and even better)
# 02:02 tantek ironically I already have posts that reference *both* of those XKCDs
# 02:13 tantek GainTwiter2014? Now that couldn't possibly be a spam account to gain Twitter followers in 2014 could it? Nah...
# 02:19 mathpunk Maybe you folks have an idea-- I'm completely dissatisfied by the state of annotation, and text remix. What we've got is great compared to paper but it's not atomic enough
# 02:19 mathpunk I can't link to an arbitrary paragraph, f'rinstance.
# 02:19 mathpunk The state of note-taking and glossing is unacceptable... So, am I building from scratch?
# 02:24 KevinMarks remembers about 5 internal google 20% projects that attempted this
# 02:26 bret mathpunk: at IWC2013, there was some discussion of this. An obvious starting point was webmention and reply context
# 02:26 bret basically, doing what pingback does, but do so in a way that makes the pingback interesting to a reader
# 02:27 bret in terms of citing lines, which would be great, i have no idea\
# 02:27 mathpunk currently I'm using personal brain, which is closed source, and evernote, which is closed source and fucked
# 02:27 mathpunk like..... it's 2013, why do I browse for an index card filing cabinet, frown, then close the tab
# 02:28 jp have you heard of summly?
# 02:29 bret i have heard more about the guy who founded it
# 02:30 mathpunk I accept that I am going to have to build what I want myself w/ etymancer
# 02:30 mathpunk but i'm always collecting case studies
# 02:30 mathpunk and maybe this microformat thing is something i should be thinking about as we develop
# 02:34 jp i have never used it, i heard it got acquired by yahoo
# 02:34 jp i thought it was relevent to what you guys were talking about and also a cool idea
# 02:35 bret its a neat idea, but you should read the background on the guy who founded it
# 02:36 jp about him being young?
josephboyle joined the channel
# 02:43 KevinMarks imo citing a bit of text on a page should use the text as the within-page link
# 02:46 KevinMarks eg search for "the dangerous habit of believing what we read in the newspapers or saw on the TV"
tantek joined the channel
# 02:52 tantek Kevinmarks, I agree and that's one of the reasons h-cite has p-content
scor joined the channel
# 02:54 KevinMarks as written that implies its just for citing the whole of a short work, as opposed to a part of a longer one
# 02:56 tantek Yes. p-content is intended for citing/quoting whole tweets for example.
# 02:56 mathpunk jp: The summly critique has directed me to two natural language researchers of interest-- oblique thanks :)
# 02:56 tantek (Which citing conventions show as quoting the whole of the tweet text)
# 02:57 mathpunk of course, then I save them in evernote... fml~
b0bg0d and snarfed joined the channel
# 03:05 snarfed jp: favicon may just be cached. browsers are particularly aggressive (and opaque) about caching those
# 03:05 Loqi snarfed meant to say: though it may have gotten better more recently
tpinto, caseorganic, melvster, poppy, kylewm and tantek joined the channel
obensource, obensource_, b0bg0d and melvster joined the channel
# 04:50 KevinMarks hm. chrome not showing it. do I need to make some new style one too?
tantek joined the channel
# 04:54 tantek KevinMarks - I'm not seeing the favicon in FF
# 04:54 tantek on kevinmarks.com (also why does it redirect to www.kevinmarks.com ? )
shaners joined the channel
tpinto joined the channel
benwerd and caseorganic joined the channel
melvster, b0bg0d, benwerd, tpinto, snarfed, cweiske, earplugs, eschnou and josephboyle joined the channel
# 06:31 neuro` aaronpk: do you? I thought they kept people passport and make them work on their new gigantic stadium?
# 06:36 neuro` I had really awesome flights with KLM, that's a company I try to fly as much as possible (or Air France)
caseorganic and tpinto joined the channel
Jihaisse joined the channel
LauraJ, andreypopp and tantek joined the channel
# 07:52 cweiske i'm using webmentions now in phorkie to notify remote instances that one of their pastes has been forked
# 07:52 cweiske working pretty well. also, debugging is easy because I can simply "curl -d"
eschnou joined the channel
# 08:05 tantek there's definitely something to be said for enabling curl-based debugging
# 08:08 cweiske I completely omit webmention link headers in HTML now and only rely on the http header
tpinto joined the channel
# 08:09 cweiske (my client lib consumes html link headers, of course)
b0bg0d, tobiastom, tpinto, earplugs1, friedcell and caseorganic joined the channel
tantek, tpinto, KevinMarks2 and barnabywalters joined the channel
netweb joined the channel
netweb and friedcell joined the channel
friedcell1, andreypopp, caseorganic and b0bg0d joined the channel
indiewebcamp-vis, caseorganic, wyomingplease, b0bg0d, andreypopp, bnvk, friedcell and scor joined the channel
friedcell and scor joined the channel
CheckDavid, hidgw, eschnou, melvster, b0bg0d, srushe_, friedcell, snarfed, tantek, warden, ozten, andreypopp, kylewm__, obensource_ and obensource joined the channel
# 16:57 tantek barnabywalters re: header/footer markup - I've found them to be deserving of different (even in small ways) on each different kind of template page.
b0bg0d joined the channel
# 16:59 tantek but yeah - site-wide header kind of things would be useful to figure out
# 16:59 barnabywalters so I’m going to go ahead and try implementing the solution I brainstormed and see how that works out
# 16:59 tantek right now, duplicated header/footer information is not the top of my template pain list
# 17:00 tantek also in practice I've found that once I've duplicated it, most things don't change
# 17:00 tantek e.g. all the stuff in the <head> is fairly static
# 17:00 tantek only things that might change are stuff at the top of the <body>
# 17:00 barnabywalters it doesn’t change often, but when it does it’s a pain if it’s in a bunch of different places
# 17:01 tantek for that stuff, can you XHR it in in the template file? and then also have the template engine replace that XHR script with the real header on the server?
icco joined the channel
# 17:02 tantek that should work for the stuff just inside <body> at the top
# 17:02 tantek for the stuff in <head> - it's better to design that such that it requires little if any change ever.
# 17:03 tantek using templates to make <head> more flexible is a design mistake IMO
# 17:14 tantek barnabywalters ^^^ ok braindumped with some additional details off the top of my head.
# 17:14 tantek I think the key bit is seeing if XHR on local files works
# 17:15 tantek because it's trivial to put an id on that script and have the serverside template engine replace it with the actual markup
# 17:19 tantek I *know* that script src= works in local HTML files / directories
# 17:21 tantek ok I think that's pretty straightforward for solving the reuse header/footer markup problem - what do you think barnabywalters - did I miss anything?
# 17:26 tantek or just put all the content there, wrap it in a giant document.write, and then in your PHP when importing the .js, strip the document.write away.
# 17:27 tantek would make it easier to edit the include files
# 17:28 barnabywalters there are plenty of products which do HTML includes for static sites, maybe there are some conventions there we could build on
# 17:28 tantek I'm not sure what convention is needed there (how many ways can you do a big document.write ?)
# 17:28 tantek nor do I know of anyone trying local-file XHR to do this
jacook joined the channel
# 17:29 tantek that's just a different syntax from {{ }} {% %}
# 17:31 tantek and Hammer still has separate edit vs build files
# 17:31 tantek I still prefer <script src="include-site-header.js"></script> because it doesn't add any new magic
# 17:32 tantek which adds two bits of magic - 1) the use of comments for functionality (nearly always a bad idea), and 2) @include?!? new syntax
paulcp joined the channel
# 17:33 tantek Hammer has the problem of if someone that doesn't know hammer (but thinks they know HTML so they understand the files) edits your files, they will likely break something
snarfed joined the channel
cyclick, mathpunk, spinnerin and b0bg0d joined the channel
# 17:47 tantek barnabywalters - how would XHR work locally? there is no "H" for it to talk to.
# 17:48 tantek so script src with template engine process of the .js file it is
snarfed joined the channel
# 17:52 tantek.com edited /template (+210) "/* Issues */ specifics of include-***.js file format (giant document.write), and serverside processing (strip document.write, include it)" (
view diff )
eschnou joined the channel
bnvk joined the channel
# 18:34 XgF IMO if your page template is including your site template, its' backwards
julian` joined the channel
# 18:34 XgF (Or, well, if its' including individual fragments)
sparverius, obensource, obensource_, brianloveswords_, Seeker285 and bnvk joined the channel
ryana and tantek joined the channel
# 19:30 tantek XgF - could you rephrase that in terms of a positive (alternative) ?
# 19:32 XgF tantek: IMO templates should be top down - i.e. the site template should define slots where content is inserted
# 19:48 KevinMarks xhr on arbitrary webserver is JAH or AHAH or whatever we call it now, easy to do
paulcp and andreypopp joined the channel
caseorganic, abrereton, icco, b0bg0d, cyclick, andreypopp, eschnou and paulcp_ joined the channel
thatryana, bnvk, ryana, friedcell, bnvk_, tilgovi, tilgovi_, tantek and tantek_ joined the channel
# 22:12 tantek_ XgF that sounds like what barnabywalters and I are talking about. site (home page) template defines slots where content is inserted. except that we've figured out a way to do it with pure HTML+JS so that you can preview templates without depending on backend processing.
# 22:13 XgF How useful is that really? I mean, whenever I'm doing web development... I have the server running locally
benwerd joined the channel
# 22:21 tantek XgF - it's quite useful and lowers the barrier to collaboration (zero server setup required)
# 22:21 tantek KevinMarks - I don't think XHR works on local paths
benwerd_ and b0bg0d joined the channel
# 22:52 tantek benwerd_ - in thinking more about event post design - I think there's two key pieces that stand out for me (in using silo events)
# 22:52 tantek 1. Header image. This seems to be a big component and visual/emotional draw. Header image representative of the event, with possibly the name of the event superimposed on top
# 22:53 tantek 2. horizontal map slice. The location is shown *first* as a centered dot in a wide and short rectangle map that shows the local area, and then second underneath as text address.
# 22:53 benwerd_ I think seeing who else you know that's going to the event is also a big deal, although obviously that requires a ton of work for us to be able to carry off - but it's one of the things I always look for
# 22:53 tantek the 2nd in particular I've always found both visually striking and instantly providing a sense of "is this near me"
# 22:54 benwerd_ Yes - you need to know if it's going to be a pain to get to
# 22:54 tantek or "is this near somewhere I'd like to be or might be anyway"
# 22:54 benwerd_ Right, it gives you context in a way that a purely textual address can't
# 22:54 tantek yes - the "who else is going" or might go or is invited is a huge sense of context/comfort as well
# 22:55 tantek so I think you've got that part mostly solved (who is going)
# 22:55 tantek though you're displaying RSVPs like a comment thread, rather than grouping into lists of "Going" "Maybe" "Invited" as e.g. FB does
# 22:56 benwerd_ indeed, I think I do have a bunch of design to work out
# 22:56 tantek btw at the HWC you brought up the challenge of invitations, however I thought we'd figured that out (webmention to the person's home page)
# 22:56 tantek I mean I saw the "invited" on one of your previous events
# 22:57 tantek (though I don't think I got the webmention - maybe due to me using rel=webmention rather than the URL)
# 22:57 benwerd_ I coded them in by hand in the event description, and then idno sent the webmantions
# 22:57 tantek ohhh - coding by hand is totally fine - good way to test / prototype
# 22:57 benwerd_ but I'm also not receiving them - if someone webmentions my profile I don't do anything with it
# 22:58 benwerd_ ok, if my standard of typing is anything to go by, I might not get many features built tonight after all
# 22:58 tantek so for me, all my webmentions (that I receive) are going into a webmention.io queue
# 22:58 tantek so I check that manually - since I don't have anything built to listen to it
# 22:58 benwerd_ it's there in a list. but I don't have it displayed to me in a really useful way
b0bg0d joined the channel
# 23:00 benwerd_ NB: your lack of webmention probably is because of rel=webmention. I'll make a note to check that out
# 23:01 tantek so yeah, I'm kinda obsessing on making my events look somewhat pretty before going live with them
# 23:02 benwerd_ I really like both the idea of the image and the horizontal map
# 23:02 tantek I know that goes against the incremental just get something up there methodology but it's like a feeling thing.
# 23:02 benwerd_ It's motivational to have something looking nice, if nothing else
# 23:03 benwerd_ I wonder about automatically pulling the image from the location somehow if you don't specify one
# 23:03 benwerd_ not sure where you'd be able to pick that from though
# 23:03 tantek AFAIK no other site does automatic event header image pulling - so I might punt on that
# 23:04 tantek though if there was some way to search my Flickr/Instagram photos by venue...
poppy joined the channel
tpinto joined the channel
# 23:20 benwerd_ do they provide anything at all that *reads* that JSON, I wonder?
# 23:22 Jeena you can add ?callback=myfunc to get it wrapped in jsonp ;)
# 23:23 tantek pdurbin - I support atom on my site only to support legacy consumers
# 23:23 tantek I think we're done with DRY violating sidefiles
# 23:24 Jeena is there a feedreader which can understand h-entry?
# 23:25 tantek Jeena - standalone "feedreaders" have been declining / dying for quite some time.
paulcp joined the channel
# 23:26 pdurbin I still use RSS to subscribe to podcasts. I'm not aware of an alternative
# 23:26 tantek pdurbin - even iTunes has cutback on RSS podcast support
# 23:29 pdurbin tantek: wow, 4 pages. I don't use iTunes but I'm pretty sure my podcatcher only works with RSS. Or maybe Atom. I'm not sure. You're saying iTunes uses something else these days?
# 23:30 tantek no I'm saying iTunes' RSS podcast support is breaking bit by bit
# 23:30 tantek it's part of the greater phenomenon of RSS support/ecosystem in general crumbling
# 23:31 tantek it's not quite dead yet, but the trends are all there
# 23:31 tantek e.g. Apple *dropped* RSS from Safari and Mail
# 23:32 pdurbin well, as long as podcasts still work I don't care how they get to me
# 23:32 tantek pdurbin - we had a prototype hAtom+hAudio alternative to RSS podcasts a few years ago, but hAudio was unfortunately a very poorly developed microformat (longer story) and was insufficient to gain any traction as an alternative.
# 23:33 tantek it's likely that someone will develop a replacement h-media format that will work will with h-entry
# 23:33 Jeena I too think the format doesn't really matter as long as it is machine readable
# 23:33 benwerd_ pdurbin - I care in so far as I want to be able to pick my podcast fetcher. I use one for Android that downloads new episodes automatically at night, which is wonderful. I don't want to be beholden to iTunes or any single provider.
# 23:33 benwerd_ (I'm blissfully iTunes-free and intend to stay that way.)
# 23:33 tantek benwerd - thoughts on even design captures? was that accurate? anything to add or is it time to commence hacking? ;)
# 23:33 Loqi tantek meant to say: benwerd - thoughts on event design captures? was that accurate? anything to add or is it time to commence hacking? ;)
# 23:34 pdurbin benwerd_: oh, sure, it absolutely still needs to be a standard. I just don't care if no longer makes use of XML.
# 23:37 Jeena because of lack of synchronization of listened podcasts and the listening posision I only listen to them on one devise but I hate it
# 23:38 Jeena I would rather have som synchronization going on where I could just stop the one I'm listening to on my desktop computer and just continue it on my phone
# 23:38 tantek and sync that read/play state perhaps through your own personal website ;)
# 23:38 Jeena but if I don't implement that myself, it will obviously never happen
# 23:39 Jeena I'm so angry about all the feed readers that they never got together and just came up with _one_ sync API which everybody could implement and use
# 23:40 benwerd_ tantek - I've got nothing else to add. Just made tiny tweaks here and there for context.
# 23:42 tantek oh dear: "I don't know that but I suspect that Google will at some not that distant point in future start discontinuing Google Reader and the undocumented API. "
# 23:44 Jeena it was easy to predict, the API was undocumented for a reason
caseorganic joined the channel
# 23:52 tantek Plancast is odd in that it shows invitees only to the planner
# 23:57 benwerd_ huh. I guess I've never invited anyone to an event on Plancast.