This is intertwingly.net/blog's TypePad Profile.
Join TypePad and start following intertwingly.net/blog's activity
intertwingly.net/blog
Recent Activity
I don't believe that Ruby itself provides the necessary function to do this: if you get access to a method, you can determine its "arity" but not the names of arguments.
The closest you could come is something like this:
action :mymethods, [:a, :b] do
end
For bonus points, the action method could define the necessary route.
Rails no-brainer?
I've been using Rails for about 4 years and have often wondered why it doesn't implement the following concept; a Rails controller could define a method like: def mymethod(a, b) end and if you invoked the method with mymethod&a=14&b=hi that Rails would automatically set the variable "a'" to "14"...
re: "well-defined mapping for how to turn both sorts of object entries":
just a thought... why only "both"? Would there be value in defining a mapping for mediaRSS and/or iTunes? Such usages might not be as esthetically clean or full function, but might be valuable as a transition aide.
In any case, it goes without saying: any well defined extension with non-negligible deployment will get full support by the feed validator.
Using RSS for Activity Streams: Analysis
I've been thinking some more and talking a bit with folks about whether Activity Streams should be in RSS or Atom. I did get some feedback saying that both should be supported, but I'm not sure I really want to create two different ways to publish/consume activity data. Here are some advantages o...
A few random thoughts...
MediaRSS has not had any active development for years. Heck, it took literally years to correct a simple bug (the namespace specified in the documentation was wrong).
There is not just one standard for media extension in RSS, but two. The other is: http://www.apple.com/itunes/whatson/podcasts/specs.html
Consumers will scrape from whatever source they can find. Good consumers will try harder. FriendFeed and Plaxo Pulse, for example, will quickly adapt -- if there is significant content out there for them to want to do so.
My conclusion: this is not a case of if you build it (a better spec) they will come, but rather: if you address a pain point for producers, they will produce it. And if they produce it, the consumers will come.
Writing up a better spec for a proper subset won't make it any easier for consumers, they will still have to deal with the full spec. And this means that you can't make things more detailed, as that would represent a change, and consumers would still have to deal with the potentially myriad ways the original and full spec can be interpreted.
I suspect that most folks have "unexciting" reasons.
Perhaps a good place to start would be answering the question: not only why does *this* blog produce both Atom and RSS, but why does this blog advertise via autodiscovery links both feeds?
Why do sites still publish RSS?
In my travels all over the web looking for examples to use as the basis for AtomActivity it was interesting to note the number of sites that are still publishing both Atom and RSS feeds in parallel. Given that Atom was designed to be the "cure to all ills" of RSS, it seems like you
Subscribe to intertwingly.net/blog’s Recent Activity
