cantino / ruby-readability

Port of arc90's readability project to Ruby
Apache License 2.0
925 stars 171 forks source link

get the largest image, and also grab image size from style attributes #73

Open vhanded opened 10 years ago

vhanded commented 10 years ago

setting :get_largest_image => true will return only 1 largest image from .images()

check for image size from style attribute, if available, like: style="width:400px; height:300px"

cantino commented 10 years ago

Thanks @vhanded! Would you mind adding a spec for this change?

vhanded commented 10 years ago

Sure, in a few days time!