mirror of
https://github.com/github/rails.git
synced 2026-02-13 23:55:16 -05:00
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
18 lines
623 B
Plaintext
18 lines
623 B
Plaintext
= 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.
|