It’s just data

Validating feeds in functional tests

Manfred Stienstra: Time to add validation to the functional tests.

Way cool.

I would recommend AA, and strongly suggest avoiding AAA as that was always experimental and never fully implemented.

I’d convert the Feed Validator over to Ruby if I felt like that would help it attract a larger development community.  I don’t suspect that many of the current contributors have a strong preference.


Someone had a project that embedded the Python interpreter in Ruby, and actually used the feed validator as their example.  But I can’t find it.

Posted by Ian Bicking at

As cool as that is Ian (and it is cool!), myself, I would strongly prefer to have a pure-Ruby implementation of the feed validator.

Posted by Bob Aman at

I suspect that having the feed validator installed as an executable command would probably be a lot simpler.  It’s been a while since I checked out the source to the feed validator.  There may already be one in there...

I know, I know, “patches welcome”.

Posted by Dominic Mitchell at

Dominic, the Feed Validator is available as an executable command.  In fact, that’s exactly how Manfred’s code invokes it.

Posted by Sam Ruby at

Validating feeds in functional tests: Manfred Stienstra: Time to add validation to the functional tests. Way cool. I would recommend AA, and strongly suggest avoiding AAA as that was always experimental and never fully implemented. I’d...

Excerpt from Spoken at

Hi... sorry, I have a quick programming question.

How would I direct all output of a rb script into a file, within the script. In other words, what do I need to call inside a script to have all of it’s output (print/echo/etc...) saved in /some/file.txt

Thank you!

Posted by Andrei at

$stdout = open '/some/file.txt', 'w'
Posted by Sam Ruby

at

Add your comment