human readable XML dump with tidy(1)
authorWolfram Schneider <wosch@indexdata.dk>
Wed, 14 Apr 2010 10:15:07 +0000 (10:15 +0000)
committerWolfram Schneider <wosch@indexdata.dk>
Wed, 14 Apr 2010 10:15:07 +0000 (10:15 +0000)
zebra/Makefile

index 55b2a72..0213447 100644 (file)
@@ -41,6 +41,7 @@ dump:
        -test -e records-${DATE} && mv records-${DATE} records-${DATE}.old
        mkdir records-${DATE}
        cd records-${DATE} && ../../bin/irspy-dump.pl localhost:8018/IR-Explain---1
+       cd records-${DATE} && ( for i in *.xml; do tidy -xml -i -w 140 $$i; done ) > /dev/null 2>&1 
        tar cf - records-${DATE} | gzip > records-${DATE}.tgz
        
 clean: