Version 2.0.50
[idzebra-moved-to-github.git] / tab / nwi.flt
index fdb9fd2..166157e 100644 (file)
@@ -1,10 +1,9 @@
 #
 # Input-filter for the Nordic Web Index record syntax. Output is 'gils-like'.
 #
-# $Id: nwi.flt,v 1.2 1996-04-24 13:34:19 quinn Exp $
 #
 
-BEGIN                            { begin record gils }
+/<nwi>/                            { begin record gils }
 
 # Ignore meta tags
 
@@ -30,12 +29,15 @@ BEGIN                            { begin record gils }
 # Don't want to have <ip> inside of LocalSubjectIndex
 # Since we end localsubjectindex, we consume the end-tag for that as well.
 
-/<ip>[ \n]*/ BODY /<\/ip>[ \n]*<\/lsi>/  {
-                                   end element;
-                                   data -element sampleText $1
-                                }
+#/<ip>[ \n]*/ BODY /<\/ip>[ \n]*<\/lsi>/  {
+#                                  end element;
+#                                  data -element sampleText $1
+#                               }
 
-/<ip>[ \n]*/ BODY /<\/ip>/       { data -element sampleText $1 }
+/<ip>[ \n]*/ BODY /<\/ip>/       {
+                                  end element;
+                                   data -element sampleText $1
+                                }
 
 /<cr>/                           { begin element crossReference }
 /<li> */ BODY /$/                  { data -element linkage $1 }