Displaying 8 results from an estimated 8 matches for "rubyfulsoup".
Did you mean:
rubyful_soup
2006 Jun 28
0
class Tag in both acts_as_taggable and RubyfulSoup
I''m starting to use RubyfulSoup (http://www.crummy.com/software/
RubyfulSoup/), but my Rails app already uses acts_as_taggable.
RubyfulSoup has a Tag class. In order to get the Tag <<
ActiveRecord::Base and this Tag to co-exist, I had to rename the
RubyfulSoup class to TagSoup. This seems to work so far.
This is a...
2006 May 16
3
Best way to handle namespace collisions?
All,
I have a little namespace collision here. I am trying to use both
RubyfulSoup (an HTML parser - which I highly recommend by the way) and
the ActionView::Helpers::TextHelper class. Within the TextHelper class,
there''s an attempt to create a new "Tag" object. However, Tag is also
defined in the RubyfulSoup gem and it is _this_ Tag class whose
initializ...
2006 Jun 05
6
HTML Parsing libraries
Hi,
What is the best way to parse HTML?
Or is there a simple way to convert a table to an array?
I tried beautiful_soup and the built-in htmltools, but have trouble
getting them to run.
Any pointers?
Thanks, Hari
--
Posted via http://www.ruby-forum.com/.
2006 Mar 22
6
Relatively easy HTML/XML parsing utilities?
Anyone know of any Ruby modules which can be used to parse an HTML page
?
Thanks,
Wes
--
Posted via http://www.ruby-forum.com/.
2006 Jun 24
0
superclass mismatch for class Tag (TypeError)
I am trying to write a ruby script which includes both the ''RubyfulSoup''
gem for HTML scouring, and the rails environment so I can access the
database easily. I get the following error when trying to run this
script.
/usr/lib/ruby/gems/1.8/gems/actionpack-1.12.1/lib/action_view/helpers/../../action_controller/vendor/html-scanner/html/node.rb:276:
superclass...
2007 Aug 30
0
No method exception - figured it out
I had to dig through the source and do a lot of debug printing, but I
figured out that because I was using NavigableString objects generated from
RubyfulSoup parsing lib, instead of String, the drb server was not properly
unmarshalling the object.
I fixed it by calling to_s on all my strings.
ActiveRecord and the local ferret server handled this fine, but the remote
one chokes.
The error was masked twice by the exception trapping code in acts_as_ferr...
2006 Feb 13
2
How to parse HTML doc in Ruby?
Hi,
I want to parse the html doc using ruby.
I tried using reXML but failed to load html doc as it is not in well
formed structure.
Can you please suggest me a good parser which I can use to parse HTML
page using Ruby?
Thanks,
Karika.
--
Posted via http://www.ruby-forum.com/.
2006 May 18
1
Unnecessary Gem modules loaded under Rails 1.1.2
All,
Rails 1.1.2
Win XP Pro
Rubyful Soup 1.0.4
htmltools 1.0.9
I am terribly confused as to what pulling in a gem does with respect to
how many modules get loaded at runtime.
I am using two gems in my app, Rubyful Soup and htmltools.
RubyfulSoup requires one module from the htmltools gem
(html/sgml-parser).
My app requires the RubyfulSoup gem.
When I started my app, something was causing _another_ module from the
htmltools gem named html/tags.rb to be loaded. This eventually led to a
namespace conflict.
When I made local copies of bo...