public
Rubygem
Fork of jmhodges/rfeedparser
Description: rFeedParser is a translation of the Universal Feed Parser from Python into Ruby. It has nearly the exact same behavior.
Homepage: http://rfeedparser.rubyforge.org
Clone URL: git://github.com/technomancy/rfeedparser.git
rfeedparser / tests / rfeedparserserver.rb
100755 11 lines (8 sloc) 0.413 kb
1
2
3
4
5
6
7
8
9
10
11
#!/usr/bin/env ruby
 
require File.join(File.dirname(__FILE__), 'rfeedparser_test_helper')
 
# Start up the mongrel server and tell it how to send the tests
server = Mongrel::HttpServer.new("0.0.0.0", $PORT)
Mongrel::DirHandler::add_mime_type('.xml','application/xml')
Mongrel::DirHandler::add_mime_type('.xml_redirect','application/xml')
server.register("/", FeedParserTestRequestHandler.new('.'))
server.run.join