#indiewebcamp 2012-08-18

2012-08-18 UTC
spinnerin and tantek joined the channel
#
aaronpk
tantek: how did you end up publishing your content to google's hub? I want to do that but I can't find any tools to actually make a subscribe request to them so they'll start pulling the feed
#
aaronpk
identi.ca is still complaining about my feed and not returning any helpful error messages
lmorchard joined the channel
#
tantek
your second message contains the answer to your first
#
tantek
that is, on status.net or identica - add a remote subscription to your indieweb URL
#
tantek
status.net will auto-discover the google hub via the rel in your <head> on your indieweb home page
#
tantek
and then subscribe to it from that hub
#
aaronpk
ok, then I guess I only have one question: what are the exact requirements statusnet has on feeds? it doesn't like mine but doesn't tell me why
#
tantek
not sure - my feed is *very* minimal
#
tantek
feel free to copy what I'm doing ;)
#
aaronpk
I will try that then!
#
tantek
it's live generated via Falcon code
#
tantek
from the HTML5+hAtom data store :)
#
aaronpk
you still haven't posted the falcon source anywhere ;)
#
tantek
I've posted *some* of it - in cassis.js
#
tantek
as I cleanup/move more of it from sloppy PHP to clean CASSIS, I open source it to cassis.js
#
tantek
eventually I may split off the Falcon CASSIS from core CASSIS
#
tantek
and put it in a separate file
#
tantek
as well as hypertalk CASSIS
#
aaronpk
I think what's missing is at least an explanation of your data store mechanism and description of the overall structure of your site
#
aaronpk
it's a very unique approach
#
tantek
so if you're looking for Falcon functions, you can find a whole bunch of them in cassis.js
#
tantek
yes - I should publish an architecture diagram
#
tantek
so at least it's clearer which pieces have been open sourced and which haven't
#
tantek
todo: add that to my Falcon wiki page at tantek.com/w/Falcon
#
aaronpk
turns out identica doesn't like <content type="html"> with a CDATA inside, it needs <content type="xhtml">
danbri joined the channel
#
tantek
aaronpk - a-ha excellent discovery
#
tantek
I'm wondering if we should capture some of these bits of knowledge into a "how to setup your realtime feed" page on the indiewebcamp wiki
#
tantek
since it sounds like you've discovered a lot of it recently and it's fresh in your mind, feel free to do a braindump to a wiki page - I'm more than happy to edit and add contributions for other stuff I know of
barnabywalters, danbri, benward, jancborchardt and lmorchard joined the channel
#
@pkbot
mentioned in #indiewebcamp 2012-08-15 http://t.co/IMhmt54H [Google Alerts]
danbri, danbri_ and barnabywalters joined the channel
#
aaronpk
tantek: great idea
#
barnabywalters
looks through logs
#
barnabywalters
aaronpk: you've figured out the magic sauce for getting statusnet to like feeds?
#
aaronpk
not quite
#
aaronpk
but almost
#
barnabywalters
aw, I was getting all hopeful then :(
#
aaronpk
I definitely know some things not to do
#
barnabywalters
well that's a start - further than I got
#
aaronpk
I will write this up
#
aaronpk
and then you can try it and see if you can get farther
#
aaronpk
it let me add the feed, but it hasn't pulled in any content yet
#
barnabywalters
I did have a look through the statusnet source to see if I could figure out *exactly* what happens when someone tries to subscribe to a remote feed, but couldn't find anything useful
#
aaronpk
oh true, didn't even think to look at the source
#
barnabywalters
When I was on diaspora I got annoyed with a member of the D* team wanting to build a syndicator to statusnet, so I tried to subscribe to my D* feed from identica. Worked, but all the posts were in the wrong order
#
barnabywalters
so I think it is partly statusnet's weirdness
#
barnabywalters
can't we just ask evanpro?
#
aaronparecki.com
edited /Main_Page (+26) "/* IndieWebCampUK */ add link to The Skiff"
(view diff)
#
aaronparecki.com
edited /Getting_Started (+12) "fix spelling of setup->set up"
(view diff)
#
aaronparecki.com
edited /projects (+18) "add category "how""
(view diff)
#
aaronparecki.com
edited /Getting_Started (+18) "add category "how""
(view diff)
#
aaronparecki.com
edited /Contribute (+18) "add to category "how""
(view diff)
#
aaronparecki.com
edited /how (-1) "Redirected page to [[Category:how]]"
(view diff)
#
aaronparecki.com
created /Category:how (+73) "Created page with "This collection of articles should help you get started on the Indie Web.""
(view diff)
#
aaronpk
barnabywalters: great!!
#
aaronpk
this is perfect
#
aaronpk
I think what's happening is they are catching all those "throw new ClientException" and returning a generic error to the screen that says "unable to add feed"
#
barnabywalters
that sounds likely
#
barnabywalters
it's a pity there are loads of dependencies, or we could grab the class and see where the exceptions are coming from
#
aaronpk
doesn't look too bad, looks like just activityutils would be enough
#
barnabywalters
I think there are quite a few
#
aaronpk
we don't care about the queue thingy
#
barnabywalters
Activity, Queue, various Exceptions
#
aaronpk
we could change ClientException to Exception safely
#
barnabywalters
but surely we need that file in order to run FeedImporter?
#
aaronpk
I may give this a shot
#
aaronparecki.com
edited /Main_Page (+17) "/* How */"
(view diff)
#
barnabywalters
okay, I'll download a copy too and see what I can do
#
barnabywalters
beat me to it!
#
barnabywalters
okay, well it's not complaining about my feed
#
aaronpk
so it must do something else then, because I get "Could not set up remote subsscription" when I tru in identica
#
barnabywalters
well, it was worth a try
#
barnabywalters
perhaps we can persuade evanpro to make the errors a bit more useful
#
barnabywalters
isn't there some Loqi trick for leaving a message?
#
Loqi
yeah!
#
aaronpk
!tell barnabywalters hello
#
Loqi
Ok, I'll tell them that when I see them next
#
barnabywalters
!tell evanpro barnabywalters and aarokpk having trouble getting statusnet to accept our feeds, can we have more useful error messages please?
#
Loqi
barnabywalters: aaronpk left you a message 1 minute ago: hello
#
Loqi
Ok, I'll tell them that when I see them next
#
barnabywalters
aaronpk: that's really useful. Should be standard IRC functionality
#
barnabywalters
pity I spelt your nick wrong :|
#
aaronpk
heh, yea there's no way to un-do it
#
barnabywalters
Hmmm… unless we could nest a substitute command inside a tell command?
#
barnabywalters
gotta be worth a try…
#
barnabywalters
!tell aaronpk somethig splt wrng
#
Loqi
Ok, I'll tell them that when I see them next
#
barnabywalters
!tell aaronpk s/somethig/something
#
Loqi
Ok, I'll tell them that when I see them next
#
aaronpk
I just found a PuSH->Jabber test bot!
#
Loqi
aaronpk: barnabywalters left you a message 36 seconds ago: somethig splt wrng
#
Loqi
aaronpk: barnabywalters left you a message 27 seconds ago: s/somethig/something
#
tantek
arronpk, perhaps have the !tell command execute the s/foo/bar pattern if seen on the previous tell to that recipient
#
barnabywalters
aw, didn't work
#
aaronpk
could work, could also lead to more potential errors. would probably be easier to return an #id that could be used to cancel a !tell
#
tantek
!tell evanpro we're documenting how to create a realtime feed that statusnt accepts
#
Loqi
Ok, I'll tell them that when I see them next
#
tantek
!tell evanpro s/statusnt/statusnet
#
Loqi
Ok, I'll tell them that when I see them next
#
barnabywalters
aaronpk: woah, that looks cool. Should be good for testing PuSH
#
aaronpk
That's more like what I was looking for in the first place.
#
barnabywalters
aaronpk: have you managed to get the bot to work?
#
aaronpk
works with the indiewebcamp logs and also my notes feed
#
barnabywalters
I've not been able to — just made a jabber.org account and got a mac client
#
aaronpk
oh, I just used my google talk account with the Messages app
#
barnabywalters
could you do me a favour and try subscribing to http://waterpigs.co.uk/feed/barnaby/
#
aaronpk
looks like it worked
#
aaronpk
now you gotta ping the appspot hub to tell it there's new content
#
barnabywalters
can't remember if I set that up or not… it'll be buried deep in my current codeigniter mess
#
barnabywalters
ah, working for me now as well
#
aaronpk
got it!
#
barnabywalters
ha ha! Got an update in real time!
#
barnabywalters
sadly, the link doesn't work
#
barnabywalters
throws out old feed reader, I'm living in real time now!
#
tantek
woot!
#
Loqi
pong
#
barnabywalters
aaronpk: what I wouldn't give to get a sneak peek at Loqi's source ;)
#
barnabywalters
bet there's all sorts of fun stuff we haven't figured out yet
#
Loqi
pong
#
aaronpk
sorry, testing something
spinnerin joined the channel
#
barnabywalters
aaronpk: both safari and PuSHbot are complaining about your articles feed
#
aaronpk
yea, I have some messy xml
#
aaronpk
oh sweet it works! Loqi is publishing to the hub now whenever a new message is received
#
barnabywalters
so this IRC channel has a feed now?
#
Loqi
pong
#
aaronpk
there's a 30-second buffer so it won't ping the hub more than once every 30 seconds
#
aaronpk
barnabywalters: just ran my articles.atom through Tidy and now it validates
#
barnabywalters
you can do that? awesome! subscribing…
#
aaronpk
ready? I'm going to send the ping
#
barnabywalters
I just got a ping containing all of the article
#
barnabywalters
s/article/articles
#
Loqi
barnabywalters meant to say: I just got a ping containing all of the articles
#
aaronpk
that should have been the notes
#
aaronpk
here come articles
#
barnabywalters
this PuSHbot is great
#
Loqi
does a happy dance!
#
aaronpk
yes it is
#
barnabywalters
way better for testing than the official subscriber app
#
aaronpk
course what I really want is a PuSHBot->IRC
#
aaronpk
but this is good for testing
#
aaronpk
I will have to make my own IRC PuSH client
#
barnabywalters
aaronpk + tantek: just deployed a test version of my new site, can you try out the auth please?
#
barnabywalters
when you've logged in (link at bottom of page) a new note should appear in /notes/ that wasn't there before
#
aaronpk
which note?
#
aaronpk
I successfully logged in
#
aaronpk
it says not authorized!
#
barnabywalters
that is wrong
#
barnabywalters
give me a min
#
barnabywalters
can't figure this one out right now so I'll leave it for the mo
#
barnabywalters
yep, it's aways worked before when I've simulated people being logged in
#
aaronpk
maybe missing a "/" or something?
#
barnabywalters
the URI I'm storing in the session matches the URI in the auth tag exactly
#
barnabywalters
to make something private I add a tag like: private-aaronparecki.com
#
barnabywalters
ah! found the 'bug'
#
barnabywalters
was actually a missing comma *embarrassed*
#
barnabywalters
give it another shot now
#
aaronpk
aha! there it is!
#
aaronpk
nicely done
#
barnabywalters
wey hey! indieauth + tagauth finally pays off
#
aaronpk
just added shortlink support! http://aaron.pk/a4KB1
#
aaronparecki.com
created /How_to_set_up_your_realtime_feed (+4500) "Created page with "'''Setting up an Atom feed for realtime publishing.''' The goal of this post is to collect information on how to prepare your website and Atom feed to publish realtime content. ...""
(view diff)
Nadreck joined the channel