#indiewebcamp 2012-10-22

2012-10-22 UTC
dascher joined the channel
#
@edbury
Best POSSE solution utilizing @wordpress for syndicating to Twitter? #indieweb
dascher, dascher_, zztr, tilgovi, stereoket, zztr1, friedcell, adactio, spinnerin, barnabywalters, tantek and joshr_ joined the channel
#
joshr_
tantek hey man :)
#
joshr_
so the question is really bigger than i alluded to on facebook.. it's not just about blogging of course
#
tantek
of course
#
joshr_
i guess i'm after falcon.. but it's a bit bleeding edge for me at the moment, how's progress?
#
tantek
here's some background reading: http://indiewebcamp.com/Getting_Started
#
joshr_
(stop me if this has been covered tons already)
#
joshr_
ok
#
tantek
even if it *has* been covered tons already, clearly we can improve discoverability of the information
#
tantek
so it is good to keep asking these questions
#
joshr_
and things change fast too
#
tantek
Falcon *is* too bleeding edge for anyone else to use at this point, however, the Falcon functions I've open sourced in #cassis.js are quite usable and a few folks have incorporated some of them into their own solutions.
#
barnabywalters
cassis auto_link = best auto-linking function ever ;)
#
tantek
My approach with Falcon is to a) get functionality barely working however necessary for myself, b) clean-up/fix common code/functions and release them as part of CASSIS for everyone else to use sooner rather than trying to release some monolithic package
#
tantek
thanks barnabywalters!
#
tantek
It *does* do a better job than both Twitter and Facebook's autolinkers, so I'm pretty happy with that.
#
joshr_
ok got it
#
tantek
and hang out here daily
#
joshr_
auto_link is the embed function?
#
barnabywalters
tantek: yuk, twitter’s autolinker is not only awful but inconsistent across platforms and contexts >:(
#
joshr_
ha yeah of course..
#
joshr_
is not a coder, btw
#
tantek
autolink is at its simplest the code that turns a plain text URL into an <a href="">…</a> that links the URL.
#
joshr_
right, using oEmbed?
#
tantek
but it optionally auto-embeds images, vidoes as well
#
joshr_
ok
#
tantek
no oembed, purely computational
#
tantek
oembed is kind of a fail from an http requests perspective
#
joshr_
yeah
#
tommorris
has the porting of autolink from Cassis into Ruby on his to-do list.
#
joshr_
hey tom :)
#
tantek
oembed is trying too hard when simpler solutions are possible that use fewer network requests/traffic
#
tommorris
is in watching-old-Buffy-episodes-while-noodling-around-with-OSM-data lurkmode.
#
barnabywalters
tommorris: tantek: didn’t you come up with bits of code which would run in php/js/ruby? I’m assuming the syntaxes are too different to have one file which runs in anything
#
tommorris
barnabywalters: cassis is the subset of php and JS.
#
barnabywalters
aaronpk: that’s the one
#
joshr_
an aside, but it's pretty awesome that you're all just here for Q&A :) thanks all
#
tantek
joshr_, it's almost like a community ;)
#
joshr_
OMG
#
tantek
barnabywalters that very autolinker you like is both valid PHP and valid JS
#
joshr_
it's more the immediacy that's striking
#
barnabywalters
tantek: tommorris: sure, I get that cassis is PHP+JS. That has not passed me by ;)
#
tantek
in fact… /me switches channels
#
tantek
(#microformats that is)
#
joshr_
ok i'm going to do some reading, and make sure i cover all the things i need, or *think* i need.. thanks guys
#
tantek
joshr_ - you can ask questions about CASSIS in #cassis.js as well - not many of us there, but that's where we hang for that.
#
joshr_
tantek: thanks
#
tantek
haha - welcome to your first Loqi memeification joshr_
#
joshr_
amaze
spinnerin and friedcell joined the channel
#
tommorris
tantek: for some reason, I can't get the regex within auto_link to work in Ruby
#
tantek
well it works in both JS and PHP
#
tantek
so it must be Ruby's fault
#
tantek
I suggest blogging about it as such, posting on HackerNews, and then getting all the Ruby fan bois in a tussle about it until they fix Ruby or fix the regex
#
tommorris
tantek: I prefer not to troll Hacker News
#
aaronpk
trolling hackernews is fun
#
tantek
really tommorris, and here I thought you did it for sport (your API post was quite effective)
#
tommorris
tantek: that was completely unintentional.
#
barnabywalters
it wasn’t even tommorris who posted it there! (right?)
#
tommorris
it's a genre issue. if I post something goofy on Twitter, it doesn't get treated in the same way as it does if I post it on tommorris.org
#
barnabywalters
tommorris: I wonder if that could be because all your content is equal on tommorris.org?
#
tommorris
barnabywalters: not any more. tommorris.org/articles now exists. ;-)
#
barnabywalters
tommorris: but everything still lives under /posts/, right?
#
barnabywalters
and uses the same styling?
#
barnabywalters
so it is all equal
#
tommorris
I may need to fix that.
#
@singpolyma
Doing your own backups is both an advantage and a disadvantage of #indieweb https://singpolyma.net/?post_type=actionstream&p=301163
#
tantek
singpolyma - surely you can create better URLs than that for syndication
#
singpolyma
tantek: I syndicate custom short links
#
singpolyma
Loqi only follow one of two redirects on said short link
#
Loqi
who, me?
#
tantek
singpolyma - it's not up to Loqi to fix what you send to Twitter
#
tantek
once the links are un-t.co'd, whatever shows up is your fault
#
singpolyma
... Loqi broke what I send to twitter :)
#
barnabywalters
singpolyma: so why so many redirects? surely that is fragile?
#
singpolyma
barnabywalters: well, it's just 2. One from http://sngpl.ma/t4La1 to the WordPress-internal URI and then WordPress does one to the real permalink
#
singpolyma
it's so I don't need to import all of wordpress into my shortener
#
tantek
hmm - looks like a bug
#
tantek
speaking of bugs
#
tommorris
tantek, found the issue with the regex.
#
tommorris
Ruby and Python versions of auto_link comin' soon. ;-)
#
barnabywalters
tommorris: ruby and python? awesome :)
#
tommorris
well, I tested it in python to be sure. the regex works, just Ruby was having some weird text encoding error
#
tommorris
as in...
#
tommorris
doesn't work but
#
tommorris
re = Regexp.new("_regex_") does.
#
barnabywalters
I’m assuming re=/regex/ is a shortcut for Regex.new?
#
tommorris
well, Ruby has Perl-style regex literals.
#
tantek
tommorris - woot! nicely done.
#
tommorris
tantek: I was using Twitter's twitter-text. it's pretty broken.
#
tantek
yeah it is
#
barnabywalters
is signing off. Goodnight all.
#
Loqi
sweet dreams
friedcell and friedcell1 joined the channel
#
tantek
interesting
#
tantek
so it looks like 4sqq wqas down about four hours
#
tantek
due to AWS outage
#
tantek
I think my webhost is more reliable than AWS
#
aaronpk
yea, and I really wanted to check in to Epicenter Cafe right then!!
#
aaronpk
really want to get my indieweb checkin thing built
#
aaronpk
(i.e. publishing checkins on aaronparecki.com similar to notes and articles)
#
tantek
wait, aaronpk - are you in SF?
#
tantek
yeah, we have a wiki page for indieweb checkins right?
#
tantek
I know we had at least a session at IndieWebCamp2012, and I did a barcamp session during OSBridge2012 on it as well
#
tantek.com
created /geo (+115) "stub with links to what people might mean"
(view diff)
#
tantek.com
created /checkins (+21) "r"
(view diff)
#
tantek.com
edited /location (-113) "collapse top level to do into stub statement. remove empty people section, people can show interest by contributing to the page, not adding their name to a me-too list.rm empty demos section."
(view diff)
#
tantek.com
created /checkin (+1772) "draft with definition, reference to sessions, and a few use cases off the top of my head"
(view diff)
#
tantek.com
edited /2012/Open_Checkins (+61) "see also"
(view diff)
tilgovi joined the channel
#
aaronpk
tantek: yep! for the CodeStrong conference!
#
tantek
I'm working on a "checkin" page on the indiewebcamp wiki that abstracts/documents all the stuff we've discussed in our sessions on the topic so far: http://indiewebcamp.com/checkin
#
tantek
I've kicked it off with a few of the use-cases
#
tantek
please feel free to add more to it
#
tantek
today's 4+ h4 4sq outage was a good reminder to keep this moving forward
#
tommorris
has a working link extractor gem written in Ruby using the regex from cassis.
#
tommorris
now just has to remember his password for rubygems.org ;-)
#
tantek
nice!
#
tantek
tommorris - if you want any problems, let me know
#
tantek
I specifically isolated the regex in its own function to allow patching just that
#
tommorris
I'll write some documentation and the like shortly.
#
tantek
cool. linking it somehow back to cassis.js would be cool so people could send any suggestions upstream as well.
#
tommorris
yep, will add a README in a second
#
tommorris
just want to push 0.0.1 out as a gem