This post originated from an RSS feed registered with Java Buzz
by Marc Logemann.
Original Post: patched fetchrss and a regex issue
Feed Title: Marc's Java Blog
Feed URL: http://www.logemann.org/day/index_java.xml
Feed Description: Java related topics for all major areas. So you will see J2ME, J2SE and J2EE issues here.
As long as bob is still waiting for SF to approve fetchrss as a project, i made available the most recent version (i hope its the most recent, cause without CVS, you never know exactly). It supports RDF and RSS 0.91 (even if the RDF parser code sucks as bob mentioned it in the source - i like funny inline comments) and can handle blogrolling.com feeds for easier management. I also modified the formatting of the friendlyFrom field in the email header, my mailer had problems with chars like ":" or "@". You can download the source package or the binary package. As soon as the project has its own space in the web, i will give up placing distributions on my site.
By the way, is there a faster method to cut away chars from a string than this?
Pattern p = Pattern.compile("[@:_\\/\',]");
Matcher m = p.matcher("some string with @ _ and other weird chars");
String s = m.replaceAll("");