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/README
David Heinemeier Hansson 7a67d0f617 Renamed Action Service to Action Web Service
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@669 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-02-18 23:43:09 +00:00

28 lines
705 B
Text

= 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.
= Running
1. Ensure you have the 'actionservice' Gem installed. You can generate it using
this command:
$ rake package
2. Edit config/environment.rb, and add the following line after the rest of the
require_gem statements:
require_gem 'actionservice'
3. Copy blog_controller.rb to "app/controllers" in a Rails project.
4. 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.