view · edit · sidebar · attach · print · history

20121023-update-oddb2xml

<< | Index | >>


Summary

  • Update oddb2xml

Commits

Index


Swissindex-pharma-and-non-pharma

pharma
nonpharma
Pharma
<ITEM DT =“2010-08-01T00:00:00+02:00“>
<GTIN>7680336700367</GTIN>
<PHAR>1258605</PHAR>
<STATUS>A</STATUS>
<STDATE>1995-05-08T00:00:00</ST DATE>
<LANG>DE</LANG>
<DSCR>ASPIRIN C Brausetabl</DSCR>
<ADDSCR>20 Stk</ADDSCR>
<ATC>N02BA51</ATC>
<COMP>
<NAME>Bayer (Schweiz) AG</NAME>
<GLN>7601001002593</GLN>
</COMP>
</ITEM>
<RESULT>
<OK_ERROR>OK</OK_ERROR>
<NBR_RECORD>1</NBR_RECORD>
<ERROR_CODE />
<MESSAGE />
</RESULT>

NonPharma
<ITEM DT =“2010-08-01T00:00:00+02:00“>
<GTIN>7610472308790</GTIN>
<PHAR>2012711</PHAR>
<STATUS>A</STATUS>
<STDATE>2006-11-01T00:00:00</STDATE>
<LANG>DE</LANG>
<DSCR>SANOR Blutdruckmessgerät Vollautomat</DSCR>
<ADDSCR/>
<COMP>
<NAME>Lamprecht AG</NAME>
<GLN>7601001003859</GLN>
</COMP>
</ITEM>
<RESULT>
<OK_ERROR>OK</OK_ERROR>
<NBR_RECORD>1</NBR_RECORD>
<ERROR_CODE />
<MESSAGE />
</RESULT>

Added nonpharma option.

$ bin/oddb2xml --help
bin/oddb2xml ver.1.0.5
Usage:
  oddb2xml [option]
    -c F, --compress=F  Compress format F. Currently only 'tar.gz' is available.
    -a T, --append=T    Additional target. T is only 'nonpharma' available.
    -h,   --help        Show this help message.

Pushed to nonpharma branch.

commit

currently report.

$ oddb2xml -c tar.gz -a nonpharma
DE
        Pharma products: 14727
        NonPharma products: 27381
FR
        Pharma products: 14727
        NonPharma products: 27381
view · edit · sidebar · attach · print · history
Page last modified on October 23, 2012, at 06:57 AM