fileedit fixed
[mir.git] / source / mir / rss / RSSTest.java
index 065fe2b..cbd4d44 100755 (executable)
@@ -30,9 +30,6 @@
 
 package mir.rss;
 
-import java.util.*;
-import mir.util.*;
-import gnu.regexp.RE;
 
 
 public class RSSTest {
@@ -40,7 +37,7 @@ public class RSSTest {
   public static void main(String[] args) {
 
     RSSReader reader = new RSSReader();
-    RSS091Reader reader2 = new RSS091Reader();
+//..    RSS091Reader reader2 = new RSS091Reader();
     try {
 //      RE test = new RE(".*\\bLB\\b.*", RE.REG_ICASE);
 //      System.out.println(" LB II : " + test.isMatch("LB II"));
@@ -48,10 +45,8 @@ public class RSSTest {
 //      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");
-      System.out.println(it.get("rss:item").toString());
-      System.out.println(nl.get("rss:item").toString());
+      RSSData arg = reader.parseUrl("http://argentina.indymedia.org/features.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"));
 //      RSSData fr = reader2.parseUrl("http://paris.indymedia.org/backendg8.php3");