Re: [Radiant] Re: feed_me extension for metaweblogapi

2010-10-21 Thread Jim Gay
On Sat, Oct 16, 2010 at 9:51 AM, Bobby Johnson  wrote:
> Not yet, I am still fighting with it. Mostly my newbishness around how to
> debug these problems in ruby, so at least it's a learning experience.
> Jim's response was pretty helpful in clarifying exactly what the problem was
> and helping me to understand the radiant environment. The feed me directions
> says to make the following edit to your environment.rb file:
> change: config.frameworks -= [ :action_webservice, :action_mailer ]
> to: config.frameworks -= [ :action_mailer ]
> I assume this means that it will now configure radiant to use
> actionwebservice if its present. The section of the env file where this
> setting is located also has the following comment.
> # Skip frameworks you're not going to use (only works if using
> vendor/rails).
> Which leads me to believe that I need to have actionwebservice in my vendor
> directory. I have tried unpacking it to vendor/gems/actionwebservice, but
> that didn't seem to do the trick.
> To restate the problem for anyone who might have input, we are using the
> feed_me extension. It throws the following error when trying to browse to
> the api/xmlrpc route:
>
> undefined method `web_service_dispatching_mode' for ApiController:Class

Rails has abandoned actionwebservice. You might find a more up to date
version of it here though
http://github.com/datanoise/actionwebservice/network

If you can find a gem, you should be able to add

config.gem 'actionwebservice', :version => ... whatever version...

>
> It appears that actionwebservice is not being loaded by radiant. Here is my
> current gems
> *** LOCAL GEMS ***
...
> actionwebservice (1.2.6)

> radiant (0.9.1)
>
>
> On Tue, Oct 12, 2010 at 4:44 PM, hamlet  wrote:
>>
>> Had you any luck with extension ?
>> I'd like to use it and doesn't really want to dive into that right
>> now...
>> Regards
>>
>> On Sep 27, 3:56 pm, Bobby Johnson  wrote:
>> > Hi Jim,
>> >
>> > Thanks for the response. I am currently using Radiant (0.9.1) which I
>> > was
>> > under the impression was Rails 3 compliant. I may have misread that.
>> > Thanks
>> > for the pointers to other version of AWS, I will give them a shot.
>> >
>> > Thanks again,
>> > Bobby
>> >
>> >
>> >
>> > On Sun, Sep 26, 2010 at 10:58 AM, Jim Gay  wrote:
>> > > I'm not very familiar with ActionWebService, but you could check other
>> > > forks for support of rails 3
>> > >http://github.com/datanoise/actionwebservice/network
>> >
>> > > Are you running the rails 3 branch of radiant? Because we bundle rails
>> > > 2.3.8 with the current gem (0.9.1)
>> >
>> > > On Fri, Sep 24, 2010 at 8:12 AM, Bobby Johnson
>> > > 
>> > > wrote:
>> > > > Ok, so I have dug in a bit more and it looks like ActionWebServive
>> > > > was
>> > > > replaced with ActionResource which is intended to provide RESTful
>> > > interfaces
>> > > > of your ActiveRecord entities. Not sure how to make ActionResource
>> > > conform
>> > > > to the metablogapi xmlrpc api. But I am digging more. Are there any
>> > > > good
>> > > > docs on testing extensions for Radiant?
>> >
>> > > > On Thu, Sep 23, 2010 at 8:47 AM, Bobby Johnson (NotMyself)
>> > > >  wrote:
>> >
>> > > >> Hi gang,
>> >
>> > > >> I am attempting to convert my blog over to radiantcms & rails 3. I
>> > > >> am
>> > > >> getting the following error when trying to hit api/xmlrpc:
>> > > >>http://gist.github.com/579241
>> >
>> > > >> Now, I have researched myself enough to know that I am running
>> > > >> radiant
>> > > >> with rails 3 and feed_me has a dependency on actionwebservice which
>> > > >> doesn't seem to support rails 3. The extension is simple enough and
>> > > >> I
>> > > >> want to try to fix it myself. Maybe even make a contribution back
>> > > >> to
>> > > >> the community.
>> >
>> > > >> My question is what is the rails 3 way of standing up a web
>> > > >> service? I
>> > > >> can't seem to find any documentation on it and my google-fu is
>> > > >> failing
>> > > >> me.
>> >
>> > > >> Thanks for any pointers in the right direction, even if it's a "go
>> > > >> read this" kinda response.
>> >
>> > > >> Bobby
>> >
>> > > > --
>> > > > "The explanation requiring the fewest assumptions is most likely to
>> > > > be
>> > > > correct."
>> >
>> > > > - Occam’s Razor
>> > >
>> > > > >http://en.wikipedia.org/wiki/Occam's_Razor
>> >
>> > > --
>> > > Jim Gay
>> > > Saturn Flyer LLC
>> > >http://www.saturnflyer.com
>> > > 571-403-0338
>> >
>> > --
>> > "The explanation requiring the fewest assumptions is most likely to be
>> > correct."
>> >
>> > - Occam’s Razorhttp://en.wikipedia.org/wiki/Occam's_Razor
>
>
> --
> "The explanation requiring the fewest assumptions is most likely to be
> correct."
>
> - Occam’s Razor
> http://en.wikipedia.org/wiki/Occam's_Razor
>



-- 
Jim Gay
Saturn Flyer LLC
http://www.saturnflyer.com
571-403-0338


Re: [Radiant] Re: feed_me extension for metaweblogapi

2010-10-16 Thread Bobby Johnson
Not yet, I am still fighting with it. Mostly my newbishness around how to
debug these problems in ruby, so at least it's a learning experience.

Jim's response was pretty helpful in clarifying exactly what the problem was
and helping me to understand the radiant environment. The feed me directions
says to make the following edit to your environment.rb file:

change: config.frameworks -= [ :action_webservice, :action_mailer ]

to: config.frameworks -= [ :action_mailer ]

I assume this means that it will now configure radiant to use
actionwebservice if its present. The section of the env file where this
setting is located also has the following comment.

# Skip frameworks you're not going to use (only works if using
vendor/rails).

Which leads me to believe that I need to have actionwebservice in my vendor
directory. I have tried unpacking it to vendor/gems/actionwebservice, but
that didn't seem to do the trick.

To restate the problem for anyone who might have input, we are using the
feed_me extension. It throws the following error when trying to browse to
the api/xmlrpc route:

undefined method `web_service_dispatching_mode' for ApiController:Class

It appears that actionwebservice is not being loaded by radiant. Here is my
current gems

*** LOCAL GEMS ***

abstract (1.0.0)
actionmailer (3.0.0, 2.3.5, 2.2.2, 1.3.6)
actionpack (3.0.0, 2.3.5, 2.2.2, 1.13.6)
actionwebservice (1.2.6)
activemodel (3.0.0)
activerecord (3.0.0, 2.3.5, 2.2.2, 1.15.6)
activeresource (3.0.0, 2.3.5, 2.2.2)
activesupport (3.0.0, 2.3.5, 2.2.2, 1.4.4)
acts_as_ferret (0.5.1, 0.4.3)
arel (1.0.1)
builder (2.1.2)
bundler (1.0.0)
capistrano (2.5.19, 2.5.2)
cgi_multipart_eof_fix (2.5.0)
daemons (1.1.0, 1.0.10)
diff-lcs (1.1.2)
dnssd (1.4, 0.6.0)
erubis (2.6.6)
fastercsv (1.5.3)
fastthread (1.0.7, 1.0.1)
fcgi (0.8.8, 0.8.7)
ferret (0.11.6)
gem_plugin (0.2.3)
gherkin (2.2.4)
highline (1.6.1, 1.5.0)
hpricot (0.8.2, 0.6.164)
i18n (0.4.1)
jk-ferret (0.11.8.2)
json (1.4.6)
json_pure (1.4.6)
libxml-ruby (1.1.4, 1.1.2)
mail (2.2.6.1)
mime-types (1.16)
mollom (0.2.3)
mongrel (1.1.5)
needle (1.3.0)
net-scp (1.0.4, 1.0.1)
net-sftp (2.0.5, 2.0.1, 1.1.1)
net-ssh (2.0.23, 2.0.4, 1.1.4)
net-ssh-gateway (1.0.1, 1.0.0)
nokogiri (1.4.3.1)
polyglot (0.3.1)
rack (1.2.1, 1.1.0, 1.0.1)
rack-mount (0.6.13)
rack-test (0.5.5)
radiant (0.9.1)
rails (3.0.0, 2.3.5, 2.2.2, 1.2.6)
railties (3.0.0)
rake (0.8.7, 0.8.3)
RedCloth (4.2.3, 4.1.1)
rspec (1.3.0)
rspec-rails (1.3.2)
ruby-openid (2.1.8, 2.1.2)
ruby-yadis (0.3.4)
rubygems-update (1.3.7)
rubynode (0.1.5)
rvm (1.0.14, 1.0.11)
sanitize (1.2.1)
sqlite3-ruby (1.3.1, 1.2.4)
term-ansicolor (1.0.5)
termios (0.9.4)
thor (0.14.2, 0.14.1)
treetop (1.4.8)
trollop (1.16.2)
tzinfo (0.3.23)
will_paginate (2.3.15)
xmpp4r (0.5, 0.4)



On Tue, Oct 12, 2010 at 4:44 PM, hamlet  wrote:

> Had you any luck with extension ?
> I'd like to use it and doesn't really want to dive into that right
> now...
> Regards
>
> On Sep 27, 3:56 pm, Bobby Johnson  wrote:
> > Hi Jim,
> >
> > Thanks for the response. I am currently using Radiant (0.9.1) which I was
> > under the impression was Rails 3 compliant. I may have misread that.
> Thanks
> > for the pointers to other version of AWS, I will give them a shot.
> >
> > Thanks again,
> > Bobby
> >
> >
> >
> > On Sun, Sep 26, 2010 at 10:58 AM, Jim Gay  wrote:
> > > I'm not very familiar with ActionWebService, but you could check other
> > > forks for support of rails 3
> > >http://github.com/datanoise/actionwebservice/network
> >
> > > Are you running the rails 3 branch of radiant? Because we bundle rails
> > > 2.3.8 with the current gem (0.9.1)
> >
> > > On Fri, Sep 24, 2010 at 8:12 AM, Bobby Johnson <
> bobby.john...@gmail.com>
> > > wrote:
> > > > Ok, so I have dug in a bit more and it looks like ActionWebServive
> was
> > > > replaced with ActionResource which is intended to provide RESTful
> > > interfaces
> > > > of your ActiveRecord entities. Not sure how to make ActionResource
> > > conform
> > > > to the metablogapi xmlrpc api. But I am digging more. Are there any
> good
> > > > docs on testing extensions for Radiant?
> >
> > > > On Thu, Sep 23, 2010 at 8:47 AM, Bobby Johnson (NotMyself)
> > > >  wrote:
> >
> > > >> Hi gang,
> >
> > > >> I am attempting to convert my blog over to radiantcms & rails 3. I
> am
> > > >> getting the following error when trying to hit api/xmlrpc:
> > > >>http://gist.github.com/579241
> >
> > > >> Now, I have researched myself enough to know that I am running
> radiant
> > > >> with rails 3 and feed_me has a dependency on actionwebservice which
> > > >> doesn't seem to support rails 3. The extension is simple enough and
> I
> > > >> want to try to fix it myself. Maybe even make a contribution back to
> > > >> the community.
> >
> > > >> My question is what is the rails 3 way of standing up a web service?
> I
> > > >> can't seem to find any documentation on it and my google-fu is
> failing
> > > >> me.
> >
> > > >> Thanks for any pointers in the right direction, even i

[Radiant] Re: feed_me extension for metaweblogapi

2010-10-12 Thread hamlet
Had you any luck with extension ?
I'd like to use it and doesn't really want to dive into that right
now...
Regards

On Sep 27, 3:56 pm, Bobby Johnson  wrote:
> Hi Jim,
>
> Thanks for the response. I am currently using Radiant (0.9.1) which I was
> under the impression was Rails 3 compliant. I may have misread that. Thanks
> for the pointers to other version of AWS, I will give them a shot.
>
> Thanks again,
> Bobby
>
>
>
> On Sun, Sep 26, 2010 at 10:58 AM, Jim Gay  wrote:
> > I'm not very familiar with ActionWebService, but you could check other
> > forks for support of rails 3
> >http://github.com/datanoise/actionwebservice/network
>
> > Are you running the rails 3 branch of radiant? Because we bundle rails
> > 2.3.8 with the current gem (0.9.1)
>
> > On Fri, Sep 24, 2010 at 8:12 AM, Bobby Johnson 
> > wrote:
> > > Ok, so I have dug in a bit more and it looks like ActionWebServive was
> > > replaced with ActionResource which is intended to provide RESTful
> > interfaces
> > > of your ActiveRecord entities. Not sure how to make ActionResource
> > conform
> > > to the metablogapi xmlrpc api. But I am digging more. Are there any good
> > > docs on testing extensions for Radiant?
>
> > > On Thu, Sep 23, 2010 at 8:47 AM, Bobby Johnson (NotMyself)
> > >  wrote:
>
> > >> Hi gang,
>
> > >> I am attempting to convert my blog over to radiantcms & rails 3. I am
> > >> getting the following error when trying to hit api/xmlrpc:
> > >>http://gist.github.com/579241
>
> > >> Now, I have researched myself enough to know that I am running radiant
> > >> with rails 3 and feed_me has a dependency on actionwebservice which
> > >> doesn't seem to support rails 3. The extension is simple enough and I
> > >> want to try to fix it myself. Maybe even make a contribution back to
> > >> the community.
>
> > >> My question is what is the rails 3 way of standing up a web service? I
> > >> can't seem to find any documentation on it and my google-fu is failing
> > >> me.
>
> > >> Thanks for any pointers in the right direction, even if it's a "go
> > >> read this" kinda response.
>
> > >> Bobby
>
> > > --
> > > "The explanation requiring the fewest assumptions is most likely to be
> > > correct."
>
> > > - Occam’s Razor
> > >http://en.wikipedia.org/wiki/Occam's_Razor
>
> > --
> > Jim Gay
> > Saturn Flyer LLC
> >http://www.saturnflyer.com
> > 571-403-0338
>
> --
> "The explanation requiring the fewest assumptions is most likely to be
> correct."
>
> - Occam’s Razorhttp://en.wikipedia.org/wiki/Occam's_Razor


Re: [Radiant] Re: feed_me extension for metaweblogapi

2010-09-27 Thread Bobby Johnson
Hi Jim,

Thanks for the response. I am currently using Radiant (0.9.1) which I was
under the impression was Rails 3 compliant. I may have misread that. Thanks
for the pointers to other version of AWS, I will give them a shot.

Thanks again,
Bobby

On Sun, Sep 26, 2010 at 10:58 AM, Jim Gay  wrote:

> I'm not very familiar with ActionWebService, but you could check other
> forks for support of rails 3
> http://github.com/datanoise/actionwebservice/network
>
> Are you running the rails 3 branch of radiant? Because we bundle rails
> 2.3.8 with the current gem (0.9.1)
>
> On Fri, Sep 24, 2010 at 8:12 AM, Bobby Johnson 
> wrote:
> > Ok, so I have dug in a bit more and it looks like ActionWebServive was
> > replaced with ActionResource which is intended to provide RESTful
> interfaces
> > of your ActiveRecord entities. Not sure how to make ActionResource
> conform
> > to the metablogapi xmlrpc api. But I am digging more. Are there any good
> > docs on testing extensions for Radiant?
> >
> > On Thu, Sep 23, 2010 at 8:47 AM, Bobby Johnson (NotMyself)
> >  wrote:
> >>
> >> Hi gang,
> >>
> >> I am attempting to convert my blog over to radiantcms & rails 3. I am
> >> getting the following error when trying to hit api/xmlrpc:
> >> http://gist.github.com/579241
> >>
> >> Now, I have researched myself enough to know that I am running radiant
> >> with rails 3 and feed_me has a dependency on actionwebservice which
> >> doesn't seem to support rails 3. The extension is simple enough and I
> >> want to try to fix it myself. Maybe even make a contribution back to
> >> the community.
> >>
> >> My question is what is the rails 3 way of standing up a web service? I
> >> can't seem to find any documentation on it and my google-fu is failing
> >> me.
> >>
> >> Thanks for any pointers in the right direction, even if it's a "go
> >> read this" kinda response.
> >>
> >> Bobby
> >
> >
> > --
> > "The explanation requiring the fewest assumptions is most likely to be
> > correct."
> >
> > - Occam’s Razor
> > http://en.wikipedia.org/wiki/Occam's_Razor
> >
>
>
>
> --
> Jim Gay
> Saturn Flyer LLC
> http://www.saturnflyer.com
> 571-403-0338
>



-- 
"The explanation requiring the fewest assumptions is most likely to be
correct."

- Occam’s Razor
http://en.wikipedia.org/wiki/Occam's_Razor


Re: [Radiant] Re: feed_me extension for metaweblogapi

2010-09-26 Thread Jim Gay
I'm not very familiar with ActionWebService, but you could check other
forks for support of rails 3
http://github.com/datanoise/actionwebservice/network

Are you running the rails 3 branch of radiant? Because we bundle rails
2.3.8 with the current gem (0.9.1)

On Fri, Sep 24, 2010 at 8:12 AM, Bobby Johnson  wrote:
> Ok, so I have dug in a bit more and it looks like ActionWebServive was
> replaced with ActionResource which is intended to provide RESTful interfaces
> of your ActiveRecord entities. Not sure how to make ActionResource conform
> to the metablogapi xmlrpc api. But I am digging more. Are there any good
> docs on testing extensions for Radiant?
>
> On Thu, Sep 23, 2010 at 8:47 AM, Bobby Johnson (NotMyself)
>  wrote:
>>
>> Hi gang,
>>
>> I am attempting to convert my blog over to radiantcms & rails 3. I am
>> getting the following error when trying to hit api/xmlrpc:
>> http://gist.github.com/579241
>>
>> Now, I have researched myself enough to know that I am running radiant
>> with rails 3 and feed_me has a dependency on actionwebservice which
>> doesn't seem to support rails 3. The extension is simple enough and I
>> want to try to fix it myself. Maybe even make a contribution back to
>> the community.
>>
>> My question is what is the rails 3 way of standing up a web service? I
>> can't seem to find any documentation on it and my google-fu is failing
>> me.
>>
>> Thanks for any pointers in the right direction, even if it's a "go
>> read this" kinda response.
>>
>> Bobby
>
>
> --
> "The explanation requiring the fewest assumptions is most likely to be
> correct."
>
> - Occam’s Razor
> http://en.wikipedia.org/wiki/Occam's_Razor
>



-- 
Jim Gay
Saturn Flyer LLC
http://www.saturnflyer.com
571-403-0338


[Radiant] Re: feed_me extension for metaweblogapi

2010-09-24 Thread Bobby Johnson
Ok, so I have dug in a bit more and it looks like ActionWebServive was
replaced with ActionResource which is intended to provide RESTful interfaces
of your ActiveRecord entities. Not sure how to make ActionResource conform
to the metablogapi xmlrpc api. But I am digging more. Are there any good
docs on testing extensions for Radiant?

On Thu, Sep 23, 2010 at 8:47 AM, Bobby Johnson (NotMyself) <
bobby.john...@gmail.com> wrote:

> Hi gang,
>
> I am attempting to convert my blog over to radiantcms & rails 3. I am
> getting the following error when trying to hit api/xmlrpc:
> http://gist.github.com/579241
>
> Now, I have researched myself enough to know that I am running radiant
> with rails 3 and feed_me has a dependency on actionwebservice which
> doesn't seem to support rails 3. The extension is simple enough and I
> want to try to fix it myself. Maybe even make a contribution back to
> the community.
>
> My question is what is the rails 3 way of standing up a web service? I
> can't seem to find any documentation on it and my google-fu is failing
> me.
>
> Thanks for any pointers in the right direction, even if it's a "go
> read this" kinda response.
>
> Bobby




-- 
"The explanation requiring the fewest assumptions is most likely to be
correct."

- Occam’s Razor
http://en.wikipedia.org/wiki/Occam's_Razor