<< | Index | >>
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
added XML example of substance.xml
TextPlugin test is old and still broken.