Stuff.co.nz feeds
Stuff.co.nz has feeds now, I’m not sure if they had them all along and last time I looked I was blind but they’re there now.
Check it out: Sutff.co.nz feeds
The REST Dialogues
Ducan Cragg “In an exclusive nine-part dialogue with an imaginary eBay Architect, we present an accessible discussion of the REST vs. SOA issue.”
Oh the Humanity
This entry pushes me over the official Internet “links to another blog” limit, so this is absolutely the last time I ever link to Tim Bray’s website.
Go read this, follow the link to this, and then see this. You may then laugh quietly to yourself.
For anybody who is coming here to read Tim’s blog, because you probably could with the amount of content I’ve reposted, you should just subscribe yourself.
Venus
Sam Ruby has been giving out plenty of examples from his version of the Planet software, called Venus.
Here are the posts so far: Reading Lists, Filters, MeMeme, Stream Editing.
For me, what this needs is to be hooked up to a real database. So the configuration, including the list of subscriptions, and the cache of feeds would be stored in some relational schema. The reason why I think this is important is that for me it opens the data to be used by many different apps without needing access to the filesystem. Sam gives a good example of using Ruby to re-use the data contained in the feed cache.
Once something like that is in place it could start moving towards being more of a feedreader than just an aggregator of feeds.
I think the coolest part about this is(as Joe Gregario pointed out, it transforms all of the data into Atom as part of the filtering process. It opens many possibilities, most of which I would bet haven’t even been conceived of yet.
And now I realise that tvrss is almost exactly the same as Planet, but for a specific source of data. Oh well, it’s character building.
RSSBus
RSSBus is a Service Bus - but a Really Simple one, and it uses RSS as the main interchange mechanism.
An ESB implemented using RSS as the message format. Looks like it is .Net based and only working on Windows for now with a Linux/Mono version in the works.
Via: Dave Johnson.
Ruby error checking
Tim Bray is running a series of posts on an Atom Publishing Protocol client that tests out an APP implementation called APE, or Atom Protocol Exerciser.
In one of the series Tim describes how he uses Duck Typing to handle checking a URI for validity. My first thought was: That isn’t an example of Duck Typing. Sam Ruby has posted his thoughts on how it should be done, which is Ok, but I think I have something equally as good.
def some_method
return [true, "actual return value here"]
end
ok, value = some_method
return "this didn't work" unless ok
puts value
This way, you never need to check whether something is of a certain Type, and it doesn’t impact the readability much either. Some people might not like the Array return type however, each to his own.
This is how the xmlrpc library works when using the client.call2 api.
Bloglines Keyboard Navigation
Bloglines has made an update to their keyboard navigation. Finally there is a “Toggle New” key. Now, if they would just add a “Previous Sub” I would be sorted.
Actually, these are so good I find myself trying to use them on sites which don’t support keyboard navigation at all.
