1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00
rails--rails/actionwebservice/examples/metaWeblog
Leon Breedt 4f2f408ba1 allow 0, 1, '0' or '1' to be cast to the appropriate values for boolean
values.

update XML-RPC example to work in :layered mode.


git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@883 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-03-10 11:53:29 +00:00
..
apis allow 0, 1, '0' or '1' to be cast to the appropriate values for boolean 2005-03-10 11:53:29 +00:00
controllers allow 0, 1, '0' or '1' to be cast to the appropriate values for boolean 2005-03-10 11:53:29 +00:00
README allow 0, 1, '0' or '1' to be cast to the appropriate values for boolean 2005-03-10 11:53:29 +00:00

= metaWeblog example

This example shows how one might begin to go about adding metaWeblog
(http://www.xmlrpc.com/metaWeblogApi) API support to a Rails-based
blogging application.

The example APIs are more verbose than you may want to make them, for documentation
reasons.

= Running

  1. Copy the "apis" directory and its files into "app" in a Rails project.

  2. Copy the "controllers" directory and its files into "app" in a Rails project

  3. Fire up a desktop blogging application (such as w.bloggar, MarsEdit, or BloGTK),
     point it at http://localhost:3000/xmlrpc/api, and try creating or editing blog posts.