An RSS 2.0 feed I need to process returns date entries which ROME's DateParser cannot parse, delivering null
for all dates. More than that, no suitable SimpleDateFormat pattern exists (which could simply be specified in rome.properties), so the input needs to be pre-processed before it can be parsed. ROME's DateParser already does such things internally, like replacing "UT" in RFC822 date input by "GMT" before feeding it to the Java DateFormat parser. I just need to add a similar modification.
What I'm doing now is to include within my project copies of ROME's RSS20Parser.java and all feed parser classes it extends, as far as necessary to cover all references to ROME's DateParser, and provide my own DateParser class which the feed parser classes then reference instead of the orginal DateParser.
Given ROME's plugin structure, I was hoping to be able to simply plug in my own DateParser, but found no way to do so. Did I miss something? Can I somehow use ROME with my own DateParser, but without having to replicate all the feed parser classes which are expected to use it?