#indiewebcamp 2013-05-10

2013-05-10 UTC
#
bret
aaronpk: pushbot worked great
#
bret
Random DNS qustion... if you use a TLD, is it bad to use a CNAME for a random subdomain?
#
pdurbin
maybe give an example
#
bret
i have the domain bre.tc with an A record pointing twoards the github pages IP
#
bret
and I also have an arecord for www.bre.tc pointing to the same github pages IP
#
bret
but I also have a CNAME record pointing fever.bre.tc to delta.nfshost.com
#
bret
i also have google apps set up on the domain
#
pdurbin
sounds more or less ok
#
pdurbin
google apps is pointed at apps.bre.tc or something?
tilgovi joined the channel
#
bret
I just log in at google
#
bret
seems to recive email and xmpp messages okay
#
bret
http://www.whatsmydns.net/#A/www.bre.tc Its just that my www redirect isnt working
#
bret
seemingly
#
pdurbin
I can't imagine your fever.bre.tc is causing any problems
tantek, fmarier, scor and bnvk joined the channel
#
aaronpk
bret: I see the www.bre.tc -> bre.tc redirect working just fine
Loqi, spinnerin, brianloveswords and bnvk joined the channel
#
bret
thanks, i guess it was a dns delay or browser cache issue
scor, jedahan, spinnerin and xtof joined the channel
#
bret
aaronpk, you do mapping stuff. have you seen this? http://aircasting.org/
#
aaronpk
oh nice!
#
aaronpk
haven't seen that yet
#
bret
the clothing is kind of dorky, but the mapping and data they are getting seems pretty decent
bret joined the channel
#
bret
aaronpk, do you have any ideas on how you are going to support outgoing webmentions with pingback.me?
#
aaronpk
the idea was a simple API where you'd provide a URL to one of your posts, and it would go find outgoing links and send any webmentions+pingbacks it finds
#
aaronpk
I ended up writing a small PHP script to do that for my own site though, and encountered an interesting issue
#
bret
would that be possible to trigger with an http request?
#
aaronpk
yea, it would be an HTTP API
#
aaronpk
but it turns out I don't want to send notifications for *all* links on a page, because that includes things in my sidebar. so instead it should look for an h-entry and only send notifications for things inside
#
bret
What do you think about doing something similar to PuSH, where the site sending the request publishes an atom feed of webmentions it wants sent out, and then does a simple "hello i published, please parse my webmention atom feed"
#
bret
or maybe thats how you were thinking
#
aaronpk
oh yea... that makes sense
#
aaronpk
hadn't thought about making it work with a feed yet
#
aaronpk
I haven't done much with feeds on my own site yet
#
bret
its easy to generate lists of variable data in order in GH-pages, and hit a URL after publishing
#
aaronpk
ah that's awesome
#
bret
it doesnt nessisarily have to be a feed
#
bret
it could be, read my front page
#
aaronpk
so yea... sounds like we need PuSH for feeds of h-entries
#
bret
and then parse for microdata or something
#
bret
I managed to get push working today
#
aaronpk
wow awesome
#
bret
but found out that that GH-pages and the appspot push server have a race condition, where the post commit trigger fires too soon, and the new atom feed isnt available yet sometimes
#
aaronpk
hah! wow
#
aaronpk
right...cause pushing to gh-pages doesn't necessarily mean it's live
#
bret
*I think*
#
bret
it builds in a matter of seconds
#
aaronpk
yea they have an asynchronous process that publishes it
#
bret
but still, google has quick servers
#
bret
If only there was a, say, 5 second delay I could set
#
bret
but nope..
#
aaronpk
you should be able to in the build process though
#
Loqi
agreed.
#
bret
delay the build process?
#
aaronpk
jekyll, right?
#
bret
yeah
#
bret
my original goal was that git was the only thing required to update the site
#
bret
not sure if it has panned out so great
#
bret
but I learned a lot!
#
aaronpk
what else do you need? ruby?
#
bret
well, technically all you need is git if you let GH do the page build
#
bret
but if you want to build locally yeah ruby
#
bret
and some python things like pygments
#
aaronpk
I can't see where it's letting you add a hook after the build, but seems like you should be able to add a sleep here https://github.com/mojombo/jekyll/blob/master/Rakefile#L136
#
bret
whoa a rake file
#
bret
they just added that
#
bret
so I could avoid this issue if I built the site locally, then pushed up the result as static html, then I am guessing there is no race condition because the files would be live as soon as the commit is done *i think*.... I have it set up so that you push out the raw liquid templates and markdown files and github does the final build before taking it live
#
aaronpk
ah crazy, I didn't know GH would actually build a jekyll site
#
bret
which allows you to update the site directly in github or on a computer with ruby installed
#
bret
kind of crazy
#
aaronpk
interesting
#
bret
but LOTS of people do it because of the free hosting
#
aaronpk
yea makes a lot of sense
#
bret
and because lots of people are doing it
#
bret
I also didnt have a VPS when I started
#
bret
I'll just play around with incoming web mentions for the while
#
bret
i still need to write something to pull in the links
#
bret
off of pingback.me
#
aaronpk
I'd really like to be able to come up with a good stack for hosting on gh-pages, I think it would enable a lot of people
#
bret
It's almost there!
#
bret
would you ever enable Pingback.me as a PuSH hub?
#
bret
im not sure how hard that would be
#
bret
or simply a delayed http request forwarder would work too
#
aaronpk
I could enable it as a PuSH hub for h-atom feeds... don't see much reason to replicate google's actual PuSH hub right now though
#
bret
For push to work reliably on GH-Pages, we need something to be able to get an http trigger from gh, wait 5 seconds then fire off a "http://pubsubhubbub.appspot.com/publish?hub.mode=publish&hub.url=http://bre.tc/atom.xml" type http request
#
bret
or just tell gh-page users to make two comits per post
#
bret
incoming webmentions already have the tools available
#
bret
from something like pingback.me
#
aaronpk
ok, I'd love to keep thinking about how that might work
#
bret
and outgoing, I imagine, being something similar to PuSH,
#
aaronpk
I haven't seen the publishing flow in gh-pages recently so I need to be a little more familiar with it
#
bret
i can explain it if you want, or just answer questions its up to you
#
aaronpk
either way it will have to be another night :) can't think much more, way later than I wanted to stay up
#
bret
ok :) night!
#
bret
let me know if you ever want more information
friedcell, seyz, fmarier, Phae_, aaronpk_, adactio, bnvk, scor, mxuribe, xtof, bnvk_, duckbillp and duckbillp_ joined the channel
#
christopheducamp.com
edited /Getting_Started-fr (+823) "[fr: sync'd translation]"
(view diff)
#
christopheducamp.com
edited /Getting_Started-fr (-1) "/* Domaine Personnel */ typo"
(view diff)
#
christopheducamp.com
edited /Facebook-fr (+211) "[fr: sync'd translation]"
(view diff)
#
christopheducamp.com
edited /in-reply-to-fr (+41) "[fr: sync'd translation]"
(view diff)
#
christopheducamp.com
created /rel-in-reply-to-fr (+408) "[fr: sync'd translation]"
(view diff)
#
christopheducamp.com
created /Foursquare-fr (+680) "[fr: sync'd translation]"
(view diff)
duckbillp_ joined the channel
#
christopheducamp.com
created /checkin-fr (+5590) "[fr: first draft translation to be reviewed]"
(view diff)
b0bg0d, gRegorLove and barnabywalters joined the channel
#
christopheducamp.com
created /venues-fr (+4528) "[fr: first draft translation to be reviewed]"
(view diff)
#
christopheducamp.com
edited /checkin-fr (+4) "[fr: location-fr endroit]"
(view diff)
duckbillp_ joined the channel
#
christopheducamp.com
created /location-fr (+857) "[fr: sync'd translation]"
(view diff)
#
christopheducamp.com
created /venue-fr (+23) "#redirect [[venues-fr]]"
(view diff)
tantek, spinnerin, seyz, fmarier_, barnabywalters, eschnou, bnvk, bret, b0bg0d, jedahan and shaners joined the channel
#
tommorris
has had the slightly weird experience today of launching a site for someone else. ;)
#
tommorris
and by a site, I mean a siloed application in Facebook.
#
tantek
oh dear
#
tantek
hope it paid well!
bnvk and b0bg0d joined the channel