fix for open session languages
[mir.git] / source / mir / rss / RSSTest.java
index 0c4afa4..bcfd786 100755 (executable)
@@ -32,16 +32,26 @@ package mir.rss;
 
 import java.util.*;
 import mir.util.*;
+import gnu.regexp.RE;
+
 
 public class RSSTest {
 
   public static void main(String[] args) {
+
     RSSReader reader = new RSSReader();
     RSS091Reader reader2 = new RSS091Reader();
     try {
-      RSSData wvl = reader.parseUrl("http://coyote1.kein.org/~gnudeo/v2v.rdf");
+//      RE test = new RE(".*\\bLB\\b.*", RE.REG_ICASE);
+//      System.out.println(" LB II : " + test.isMatch("LB II"));
+//      System.out.println(" revised LB: " + test.isMatch("revised LB"));
+//      System.out.println(" revised LB II : " + test.isMatch("revised LB II"));
+//      System.out.println(" buLB: " + test.isMatch("buLB"));
+
+      RSSData nl = reader.parseUrl("http://www.indymedia.nl/features.1-0.rdf");
+      RSSData it = reader.parseUrl("http://g8.mir.dnsalias.net/italynewswire.rss");
 //      Object result = StructuredContentParser.parse(" { a = 'b' 'as a' = [ 'asd' asd 'asdas asd as''asd' ] }") ;
-      System.out.println("" + wvl.get("rss:item"));
+//      System.out.println("" + wvl.get("rss:item"));
 //      RSSData fr = reader2.parseUrl("http://paris.indymedia.org/backendg8.php3");
 //      RSSData be = reader.parseUrl("http://belgium.indymedia.org/features.rdf");