hulihanapplications / fletcher

A cross-website product information fetcher for ruby.
http://www.hulihanapplications.com
MIT License
53 stars 12 forks source link

Generic Product Fallback Info #11

Open dhulihan opened 12 years ago

dhulihan commented 12 years ago

When someone tries to fetch product information from a URL that isn't supported by a model, fletcher should return generic fallback information composed of the following:

davidcollom commented 12 years ago

wouldn't all images on the page be a little excessive? also what about other currencies? GBP, EUR, YEN....? cross selling or related items may be higher in the source then the actual item/product price.

agreed with the title, this should be implemented, maybe fall back to meta description of exists?

dhulihan commented 12 years ago

Agreed, it's hard to pull relevant images, so that may be out. Pulling description from meta is a good idea.

As far as price goes, we could also check for standardized meta information, like the the presence of Open Graph Protocol tags, etc. Just a thought.

Have you played with the amazon wishlist bookmarklet? They're able to parse an arbitrary price pretty accurately.

davidcollom commented 12 years ago

Agreed on opg, brilliant idea. amazon are possibly passing things into a readability and then scanning for currency symbols?

oyeanuj commented 8 years ago

@dhulihan @hulihanapplications Any updates on this ticket? This would be invaluable given the prolificity of stores today?