[LRUG] ReeVoo ruby parser installation

Peter Jones peterbjones at yahoo.com
Wed Jun 14 12:56:21 PDT 2006


Hi Paul,

Thank you very much for your email and the comments
you made.

Going through your points it would seem the parser is
installed correctly as "require 'uformats'" in irb
does give the answer => true. Also, "ruby test/all.rb"
results in "99 tests, 340 assertions, 0 failures, 0
errors" so all looks good there - does that also mean
htmlentities is working OK too?

I am however having difficulty using
sample/hreview_parser.rb to access a web page and list
all the hReviews on it. When I enter:

ruby sample/hreview_parser.rb
'http://po-ru.com/diary/review-the-bug-digital-radio/'

I get: "

c:/ruby/lib/ruby/gems/1.8/gems/tidy-1.1.2/lib/tidylib.rb:15:in
'load': Unable to load libtidy.dll (LoadError)
      from
c:/ruby/lib/ruby/gems/1.8/gems/tidy-1.1.2/lib/tidy.rb:46:in
'path='

      from sample/hreview_parser.rb:23 "

... And line 15 of Tidylib.rb is:

      raise LoadError, "Unable to load #{path}" 

I'm getting way out of my depth here, but should I be
looking at http://www.example.com/hreview as mentioned
in hreview_parser.rb, or use
'http://po-ru.com/diary/review-the-bug-digital-radio/'
as suggested in your email, in which case do I need to
change anything in hreview_parser.rb? Or am I looking
at the wrong cause of this issue? I'll IM you tomorrow
about it if that is OK.

Many thanks again for your help.

Kind regards,

Peter.



__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 



More information about the Chat mailing list