Merge pull request #948 from iancmyers/findery-onebox

Added Findery and Zappos entries to the Oneboxer::Whitelist.
This commit is contained in:
Robin Ward 2013-06-04 10:34:16 -07:00
commit f22a6a8a18

View File

@ -1,8 +1,19 @@
module Oneboxer
#******************************************************************************#
# #
# Oneboxer already supports most sites using OpenGraph via the OpenGraphOnebox #
# class. If the site you want to create a onebox for supports OpenGraph, #
# please try adding the site to the whitelist below before creating a custom #
# parser or template. #
# #
#******************************************************************************#
module Oneboxer
module Whitelist
def self.entries
[
Entry.new(/^https?:\/\/(?:www\.)?findery\.com\/.+/),
Entry.new(/^https?:\/\/(?:www\.)?zappos\.com\/.+/),
Entry.new(/^https?:\/\/(?:www\.)?slideshare\.net\/.+/),
Entry.new(/^https?:\/\/(?:www\.)?rottentomatoes\.com\/.+/),
Entry.new(/^https?:\/\/(?:www\.)?cnn\.com\/.+/),