view · edit · sidebar · attach · print · history

20130516-debug-ebook-creation

<< | Index | >>


Summary

  • Debug ebps Ebook Jobs.
  • Debug Fachinfo importer Jobs.

Commits

Index


Debug fachinfo Swissmedcinfo importer Job

In some case, fiparsed can not parse title (still missing.).
# TextInfoPlugin can parse, correctly.

  ISKNR : Fachinfo - DE - ALK7 Gräsermischung und Roggen/ ALK7 Frühblühermischung - ["54787", "54788"]
  ISKNR : Fachinfo - FR - ALK7 mélange de graminées et seigle/ ALK7 mélange d’arbres précoces - ["54787", "54788"]
  ISKNR : Fachinfo - DE - Topiramat Desitin® - ["58796"]
  ISKNR : Fachinfo - FR - Topiramat Desitin® - ["58796"]
  ISKNR : Fachinfo - FR - MENAMIG® Comprimés filmés - ["56264"]
  ISKNR : Fachinfo - DE - CalciumFolinat Pharmintraco  - ["54041"]
  ISKNR : Fachinfo - FR - Calcium Folinate Pharmintraco - ["54041"]
  ISKNR : Fachinfo - DE - Pantoprazol Byk® 20/40/- i.v. - ["60458", "60457"]
  ISKNR : Fachinfo - FR - Pantoprazol Byk® 20/40/- i.v. - ["60458", "60457"]
  ISKNR : Fachinfo - DE - Pantoprazol Byk® 20/40/- i.v. - ["60458", "60457"]
  ISKNR : Fachinfo - FR - Pantoprazol Byk® 20/40/- i.v. - ["60458", "60457"]
  ISKNR : Fachinfo - DE - Cefuroxim-Mepha® 250/500 - ["56958"]
  ISKNR : Fachinfo - FR - Céfuroxime-Mepha® 250/500 - ["56958"]

z.B. following cases.

# no section for name
* "MENAMIG® Filmtabletten" DE (fr is fine)

# white space
[3] 1.9.3-p194(#<ODDB::FiParse::FachinfoHpricot>)> first_p.inner_text
=> "ALK7 Gräsermischung und Roggen/ALK7 Frühblühermischung"
[4] 1.9.3-p194(#<ODDB::FiParse::FachinfoHpricot>)> @title
=> "ALK7 Gräsermischung und Roggen/ ALK7 Frühblühermischung"

# case
[3] 1.9.3-p194(#<ODDB::FiParse::FachinfoHpricot>)> doc.at("p").inner_text #=> HTML
=> "PRED FORTE® 1%"
[4] 1.9.3-p194(#<ODDB::FiParse::FachinfoHpricot>)> @title # XML
=> "Pred Forte® 1%"

Then I updated name detection for these cases.

commits

Note

update_textinfo_swissmedicinfo jobs has --no-download option.
If this option is given, Job does not download XML and does not check INDEX on swissmedicinfo. (Job uses XML on Filesystem, that is already downloaded.)
This option is usefull for continuous running.

% ruby jobs/update_textinfo_swissmedicinfo --reparse --target=fi --no-download 00450
commit
view · edit · sidebar · attach · print · history
Page last modified on May 16, 2013, at 11:25 AM