Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

Page object doesn't expose @body

#16

I'd like to use Anemone to mirror chunks of multiple web sites, and crawl to do it. I don't see any good way to get the actual page contents as text (rather than a Nokogiri document), and I don't see any obvious way to get the original text from a Nokogiri document.

If you added an attr_accessor for :body in the Page object, I think that would fix the problem.

Reported by Noah Gibbs · December 24th, 2009 @ 02:10 PM

State: resolved
Milestone: none
Assigned to: chris (at chriskite) chris (at chriskite)

Activity

  1. Noah Gibbs
    Noah Gibbs

    Actually, it should probably be attr_reader rather than attr_accessor. Changing the body makes questionable sense in the first place, and doing it without changing the Nokogiri document makes no sense at all.

    December 24th, 2009 @ 03:34 PM

  2. chris (at chriskite)
    chris (at chriskite)
    • State changed from new to open
    • Assigned user set to chris (at chriskite)

    January 22nd, 2010 @ 08:13 PM

  3. chris (at chriskite)
    chris (at chriskite)
    • State changed from open to resolved

    January 22nd, 2010 @ 09:40 PM

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.