view · edit · sidebar · attach · print · history

20120504-update-mymedi-mail-order-price-ydocx

<< | Index | >>


Summary

  • Updated mail_order_price_logo in mymedi
  • Updated chapter style and layout in ydocx

Commits

ydocx
oddb.org

Index


Updated mail_order_price in mymedi


Updated chapter list for fi/pi

Improved chapter list fi/pi

And, added version option.

usage
Usage: docx2html file [options]
  -f, --format    Format of style and chapter {(fi|fachinfo)|(pi|patinfo)|(pl|plain)|none}, default fachinfo.
  -h, --help      Display this help message.
  -v, --version   Show version.

NOTE:

fachinfo
patinfo

searched mail address in src and ext like this.

$ grep -r -n -E "\w+\@\w+\.\w+" src | grep -v "\-\-"

in src/util/updater.rb

    def log_info(plugin, method=:log_info)
      hash = plugin.send(method)
      hash[:recipients] = if(rcp = hash[:recipients])
        rcp + recipients
      else
        recipients
      end 
      hash
    end

When instance of plugin is created.

in src/util/updater.rb

    def export_oddb_csv(date = @@today)
      subj = 'oddb.csv'
      wrap_update(CsvExportPlugin, subj) {
        plug = CsvExportPlugin.new(@app)
        plug.export_drugs
        log = Log.new(date)
        log.update_values(log_info(plug))
        log.notify(subj)
      }
    end
view · edit · sidebar · attach · print · history
Page last modified on May 04, 2012, at 05:17 PM