#
# 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
# 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 }