X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=tab%2Fnwi.flt;h=cd676ca8715c6dd9acb2ed626eb4b8544bcf5239;hb=676ae79af06721621b1f66bdaec06164b3ba7b1f;hp=6e28922f94faad8def6e3a7fc4088edc8f4b0857;hpb=9314fca68f6f5c0de94244823bebfab596550e53;p=idzebra-moved-to-github.git diff --git a/tab/nwi.flt b/tab/nwi.flt index 6e28922..cd676ca 100644 --- a/tab/nwi.flt +++ b/tab/nwi.flt @@ -1,10 +1,14 @@ # # Input-filter for the Nordic Web Index record syntax. Output is 'gils-like'. # -# $Id: nwi.flt,v 1.1 1996-02-28 16:47:43 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 + +/.*$/ {} / */ BODY /$/ { data -element title $1 } @@ -26,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 }