X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=tab%2Fnwi.flt;h=cd676ca8715c6dd9acb2ed626eb4b8544bcf5239;hb=676ae79af06721621b1f66bdaec06164b3ba7b1f;hp=fdb9fd23f1c58d4d2c1c0e23f2f64bc0a0812f17;hpb=0f7364db455d942ff565299e56309be95b88c1b4;p=idzebra-moved-to-github.git diff --git a/tab/nwi.flt b/tab/nwi.flt index fdb9fd2..cd676ca 100644 --- a/tab/nwi.flt +++ b/tab/nwi.flt @@ -1,10 +1,10 @@ # # 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 $ +# $Id: nwi.flt,v 1.4 1996-06-11 10:53:56 quinn Exp $ # -BEGIN { begin record gils } +// { begin record gils } # Ignore meta tags @@ -30,12 +30,15 @@ BEGIN { begin record gils } # Don't want to have inside of LocalSubjectIndex # Since we end localsubjectindex, we consume the end-tag for that as well. -/[ \n]*/ BODY /<\/ip>[ \n]*<\/lsi>/ { - end element; - data -element sampleText $1 - } +#/[ \n]*/ BODY /<\/ip>[ \n]*<\/lsi>/ { +# end element; +# data -element sampleText $1 +# } -/[ \n]*/ BODY /<\/ip>/ { data -element sampleText $1 } +/[ \n]*/ BODY /<\/ip>/ { + end element; + data -element sampleText $1 + } // { begin element crossReference } /
  • */ BODY /$/ { data -element linkage $1 }