Closed pagojo closed 12 years ago
The documentation on retrieving images should perhaps state all the steps to achieve the retrieval of image links
e.g.,
You can get a list of images in the content area with .images. This feature requires that the mini_magick gem be installed.
.images
mini_magick
rbody = Readability::Document.new(body, :tags => %w[div p img a], :attributes => %w[src href], :remove_empty_nodes => false) rbody.images
I will add that to the doc, thank you.
The documentation on retrieving images should perhaps state all the steps to achieve the retrieval of image links
e.g.,
You can get a list of images in the content area with
.images
. This feature requires that themini_magick
gem be installed.