view · edit · sidebar · attach · print · history

20121212-update-text-info-updater

<< | Index | >>


Summary

  • Updated fiparsed
    • skiped images of package
  • Updated oddb2xml README
    • added description about substance.xml
  • Update TextPlugin testcase

Commits

oddb.org
oddb2xml

Index


Update fiparse

  • skip images in Table of Packungen Chapter.
commit

Note

for check

diff --git a/src/plugin/text_info.rb b/src/plugin/text_info.rb
index 3f43e35..f881abf 100644
--- a/src/plugin/text_info.rb
+++ b/src/plugin/text_info.rb
@@ -568,6 +568,10 @@ module ODDB
       agent.get(url)
     end
     def search2 term
+return [
+  {:type => :fi, :indx => '1319', :name => 'Procto-Glyvenol®'},
+  {:type => :pi, :indx => '1098', :name => 'Procto-Glyvenol®'}
+]
       page = init_searchform2
       form = page.form_with(:name => 'aspnetForm')
       form['__EVENTTARGET']   = 'ctl00$MainContent$ucProductSearch1$rcbSearch'
@@ -701,6 +705,7 @@ module ODDB
       end
     end
     def textinfo_news2(agent=init_agent2)
+return [ 'Novartis' ]
       url = ODDB.config.text_info_newssource2 \
         or raise 'please configure ODDB.config.text_info_newssource2 to proceed'
       # get security and innovation updates

Update oddb2xml README

added XML example of substance.xml

commit

Update text-plugin test

TextPlugin test is old and still broken.

view · edit · sidebar · attach · print · history
Page last modified on March 01, 2013, at 09:13 AM