aboutsummaryrefslogtreecommitdiffstats
path: root/actionwebservice/examples/metaWeblog/README
blob: f8a56d701881bf3479efc7ec319617723adcec87 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
= 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.