Mephisto XMLRPC plugin released for Mephisto 0.8 and Mephisto Edge 6

Posted by jeet
on Monday, July 21

So here is Mephisto xmlrpc plugin for Mephisto release 0.8 and for Mephisto Edge.

I  have ported original Mephisto_xmlrpc plugin to work with Mephisto 0.8 and Mephisto edge.

The Original plugin was not compatible with most of the Desktop blogging tool if you use metaweblog api. this plugin working with almost all popular blogging tools like ecto, marsedit, blogtk, gnome-blog etc. , even with google reader.

checkout Mephisto xmlrpc plugin from subversion, this is available two flavors .

for Mephisto release 0.8

script/plugin install http://svn.railshacks.com/projects/mephisto/plugins/mephisto_xmlrpc_0.8

for Mephisto edge

script/plugin install http://svn.railshacks.com/projects/mephisto/plugins/mephisto_xmlrpc_edge

To install Mephisto xmlrpc plugin

follow these steps

1:  edit file app/controllers/application/error.rb
locate these lines 
rescue_from ActiveRecord::RecordNotFound,        :with => :render_admin_not_found
rescue_from ActionController::UnknownController, :with => :render_admin_not_found
rescue_from ActionController::UnknownAction,     :with => :render_admin_not_found
change these lines to
rescue_from ::ActiveRecord::RecordNotFound,        :with => :render_admin_not_found
rescue_from ::ActionController::UnknownController, :with => :render_admin_not_found
rescue_from ::ActionController::UnknownAction,     :with => :render_admin_not_found
save the file .
2:  checkout action web service from svn repo. into vendor/rails folder.     
svn co    http://svn.rubyonrails.org/rails/ousted/actionwebservice/
3.  restart your server 
Now you have working xmlrpc service at your server .
if you face any problem  installing/using this plugin feel free to ask .
Comments

Leave a response

  1. DavidJuly 22, 2008 @ 10:23 AM
    Hey jeet, Nice work on this plugin! I had been trying to find the time to work on something similar myself. I just used the plugin to post to my Mephisto blog for the first time in months via MarsEdit - so thanks for all your hardwork! I'd consider perhaps hosting this on GitHub? I know there is a fairly small following of people who were looking for this support so we'd all be able to help out with bug fixes and keeping this plugin up to date. I also noticed there is a newish port of ActionWebService up to the latest version of Rails. I'm using that with my blog and it works just great. More details here, http://davidsmalley.com/2008/7/22/metaweblog-api-returns-to-mephisto - thanks again!
  2. JeetJuly 23, 2008 @ 09:18 AM
    Thanks for your support David
  3. jeetJuly 23, 2008 @ 10:34 AM
    David this plugin is already there at http://github.com/jeet/mephisto_xmlrpc/tree/master
  4. ficoAugust 12, 2008 @ 05:04 PM
    Very Nice Site! Thanx! http://excellent-credit-card.blogspot.com
  5. DarylAugust 28, 2008 @ 12:15 AM
    Strangely, while having following the directions above I'm getting a plugin.rb:3: superclass must be a Class (Module given) (TypeError) when I start up my mongrels. Any ideas ? Pretty sure I followed the directions as specified.
  6. JeetAugust 28, 2008 @ 08:48 AM
    Hi Daryl It seems that you are using mephisto edge with mephisto_xmlrpc_0.8 plugin , please use the edge version of this plugin mephisto_xmlrpc_edge to get it working . follow instructions above , if you feel any problem please let me know.
Comment