From 4f2f408ba1a7dd976a1ec5061d05ef0439e5f942 Mon Sep 17 00:00:00 2001 From: Leon Breedt Date: Thu, 10 Mar 2005 11:53:29 +0000 Subject: 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 --- actionwebservice/examples/metaWeblog/README | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) (limited to 'actionwebservice/examples/metaWeblog/README') diff --git a/actionwebservice/examples/metaWeblog/README b/actionwebservice/examples/metaWeblog/README index 0550b06623..f66f56770b 100644 --- a/actionwebservice/examples/metaWeblog/README +++ b/actionwebservice/examples/metaWeblog/README @@ -1,16 +1,17 @@ = 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 blog_controller.rb to "app/controllers" in a Rails project. + 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 - 2. Fire up a desktop blogging application (such as BloGTK on Linux), - point it at http://localhost:3000/blog/api, and try creating or - editing blog posts. + 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. -- cgit v1.2.3