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 .

12 Responses to “Mephisto XMLRPC plugin released for Mephisto 0.8 and Mephisto Edge”

  1. David Says:
    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. Jeet Says:
    Thanks for your support David
  3. jeet Says:
    David this plugin is already there at http://github.com/jeet/mephisto_xmlrpc/tree/master
  4. fico Says:
    Very Nice Site! Thanx! http://excellent-credit-card.blogspot.com
  5. Daryl Says:
    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. Jeet Says:
    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.
  7. Keith Fligg Says:
    Following the directions above, when I get to the part about installing the action web service via svn, I find I don't have a vendor/rails directory. So, I created one and did the svn checkout. However, all sorts of things break at this point. It looks like I need to have something called vendor/rails/railties/lib/initializer. But since I had not vendor/rails to begin with, clearing I'm missing this file. Maybe someone out there has a pointer for me to follow? I installed a version of mephisto from http://mephistoblog.com/download called 0.8 Drax. Thanks in advance.
  8. Daryl Says:
    @Jeet... You're totally right. I thought I had checked out 0.8, but must've grabbed edge. The edge plugin seems to allow the mongrels to start. thanks ! Now I just need a script to port simplelog over to mephisto... =]
  9. Jeet Says:
    Hi Keith, you dont need to freeze rails . just checkout action web services in your vendor directory.you dont need to create rails directory at all. if you feel any problem please let me know cheers
  10. Keith Fligg Says:
    Ah - excellent! I was trying to be smarter than the instructions and inserted that stupid rails directory. Thanks Jeet.
  11. Adam Says:
    I found a couple issues with the xmlrpc plugin (for edge mephisto -- even though I could have sworn I downloaded 0.8). The "read more" functionality doesn't seem to work: when I post, the content above the fold duplicates to the bottom, replacing what was there. Also, one of my articles seems to get listed twice in the "fetch post" dialog. I'm not entirely sure what is different about it without looking at the db... If you're interested in sorting it out and want more info, you can reach me on aim at ThreadUsesIRC, on freenode as thread, or via email. Thanks for keeping up Mephisto's xmlrpc features. :) Adam
  12. NikkyBlond Says:
    Excellent time. And nice site. Keep up a good work! :-))
  13. orange5912 Says:
    looks like i got the plugin working fine with my app, but when i use MarsEdit, and try to post, i get an error: Casting of method parameters failed NoMethodError (undefined method `signature=' for #) any thoughts?
  14. San Says:
    thanks for keeping this plugin alive

Leave a Reply