« Service Oriented Architectures in Rails | Main | A Passenger Rackup File for Sinatra »

March 19, 2009

Comments

Nelson Morris

Daniel Insley was the one who updated the tests to run using mocks. I had an old fork that did it, but it was ugly and I killed it. His solution is much better.

Julien

Hey Paul!
Thanks for the heads up and for this new version... I just DL it and tried it but I am bumping into an error (haven't had time to look into it) :
no such file to load -- feedzirra/rdf_entry (MissingSourceFile)

Is it possible that you "forgot" some files in the Manifest?

Paul Dix

Hey Julien,
Whoops, I removed the old rdf files and forgot to remove it from the main loader and the gemspec. I just fixed it and bumped the gem version. Github should hopefully be putting it up soon. Version 0.0.8.

Thanks

Julien

Hey Paul,

Is there a ML or a group somewhere to discuss Feedzirra issues? Couldn't find it, so I thought this could be a nice place to post.

So, here is my problem : while testing with lots of feeds I found one that was not working as expected : http://hg.mozilla.org/mozilla-central/atom-log

If you use it, you'll see that the parsed entries don't have a url, while the feed's entries actually has a item.
This is due to the fact that this link item doesn't have rel=alternate nor type="text/html"...

I can't help but think that feedzirra shouldn't miss the link, but I also think that when an entry has several links, it should only take the one with rel=alternate and type=text/html.

So, here is my suggestion : add a links attribute to entries, which contains all the links (and there attributes?), and then, override the link reader to either return the @link or a choosen link (the first one?) from @links.

I'll try to set this up if you think it is a good idea. There might be an easier way. The main "drawback" of this is that our entries object will get "heavier" by an array...

Any thoughts?

The comments to this entry are closed.

My Photo

Talks

Linkage

  • My Github
  • Feedzirra
    My Ruby library for parsing and fetching feeds at blinding speed.
  • SAX Machine
    My Ruby library exposes a DSL for building Nokogiri backed SAX parsers.
  • Typhoeus
    My Ruby library for running HTTP requests quickly, easily, and in parallel.
  • NYC Machine Learning Meetup
    The meetup I organize. Talks from researchers and practitioners on machine learning and related technologies and techniques.

Twitter / pauldix