« Return to Thread: Feedzirra (more importantly, curb) on JRuby?

Re: Feedzirra (more importantly, curb) on JRuby?

by MDWeezer :: Rate this Message:

Reply to Author | View in Thread

If anyone has interest in Feedzirra with JRuby, my co-worker and I
paired on a solution this morning.  It now falls back on NET:HTTP if
curb isn't available.  It's not as speedy but it does the trick and
Feedzirra does an awesome job parsing feeds!

http://github.com/mwilliams/feedzirra/tree/master

I exchanged e-mails with the original author and he mentioned he has
plans to make master JRuby friendly with an FFI solution for curb or
with another JRuby friendly library.

-MW
@mwilliams

On Mon, Jul 6, 2009 at 10:20 AM, Matthew
Williams<matthew.d.williams@...> wrote:

> Thanks for the analyzing!  For now I'm going to stick with a pure Ruby
> RSS parser for now (I could opt for some in Java but we would like to
> keep this compatible with MRI as well).
>
> -MW
> @mwilliams
>
> On Mon, Jul 6, 2009 at 10:04 AM, Hirotsugu Asari<asari.ruby@...> wrote:
>> I don't think so.  Not in the present state, anyway.
>>
>> It's not clear to me what we are supposed to 'require'.
>>
>> There is nothing in curb_ffi.rb.  So there's no use in 'require "curb_ffi"'.
>>
>> Requiring 'curb_ffi/libcurl_easy_wrapper' is not only cumbersome, but there
>> is very little.  (And it defines methods in CurbFfi::Curl::Easy, which is
>> not compatible with curb.)
>>
>> On Jul 6, 2009, at 8:25 AM, Matthew Williams wrote:
>>
>>> That I caught (and found odd) but there's a wrapper inside the lib
>>> directory:
>>>
>>>
>>> http://github.com/trotter/curb-ffi/blob/de50b4ded141af5ccbbc7b5c62d9a61c55d283a1/lib/curb_ffi/libcurl_easy_wrapper.rb
>>>
>>> Is this anything meaningful or able to be utilized?
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe from this list, please visit:
>>
>>   http://xircles.codehaus.org/manage_email
>>
>>
>>
>

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email


 « Return to Thread: Feedzirra (more importantly, curb) on JRuby?