Tag Archives: atom
Restfulie 0.5, atom feeds, content negotiation and default controllers
Posted on 07. Jan, 2010 by guilhermesilveira.
ATOM FEED Restfulie 0.5.0 is out and its major new feature is its support to Atom feeds with variable media types. A feed can be easily rendered by invoking the to_atom method: @hotels = Hotel.all render :content_type => ‘application/atom+xml’, :text => @hotels.to_atom(:title=>’Hotels’, :controller => self) A collection might contain entries with different media types and [...]
Continue Reading
Hypermedia: making it easier to create dynamic contracts
Posted on 08. Dec, 2009 by guilhermesilveira.
The human web and christmas gifts You have been buying books at amazon.com for 5 years now: typing www.amazon.com in your browser, searching for your book, adding it to the cart and entering your credit card information. But this year, on December 15th 2009 something new happens. Amazon has launched an entire new “christmas discount [...]
SUBSCRIBE TO OUR RSS