From 50ec3b21dcce22badd808ab992204820445d0178 Mon Sep 17 00:00:00 2001 From: Charlie Chrisman Date: Fri, 14 Jul 2017 00:42:41 -0700 Subject: [PATCH 1/2] Added Contentful --- src/apps.json | 13 +++++++++++++ src/icons/Contentful.svg | 7 +++++++ 2 files changed, 20 insertions(+) create mode 100644 src/icons/Contentful.svg diff --git a/src/apps.json b/src/apps.json index 735835afd..217988723 100755 --- a/src/apps.json +++ b/src/apps.json @@ -1646,6 +1646,19 @@ }, "website": "http://www.gocontentbox.org" }, + "Contentful": { + "cats": [ + "1" + ], + "html": [ + "<[^>]+(?:https?:)?\/\/images.contentful.com", + "<[^>]+(?:https?:)?\/\/videos.contentful.com", + "<[^>]+(?:https?:)?\/\/assets.contentful.com", + "<[^>]+(?:https?:)?\/\/downloads.contentful.com" + ], + "icon": "Contentful.svg", + "website": "http://www.contentful.com" + }, "ConversionLab": { "cats": [ "10" diff --git a/src/icons/Contentful.svg b/src/icons/Contentful.svg new file mode 100644 index 000000000..63e08db55 --- /dev/null +++ b/src/icons/Contentful.svg @@ -0,0 +1,7 @@ + + + + + + + From df3529018af90c041f6d15ec87aab73ece094c02 Mon Sep 17 00:00:00 2001 From: Charlie Chrisman Date: Tue, 1 Aug 2017 10:39:41 -0700 Subject: [PATCH 2/2] updated Contentful's html regex --- src/apps.json | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/src/apps.json b/src/apps.json index 217988723..50b81868b 100755 --- a/src/apps.json +++ b/src/apps.json @@ -1650,12 +1650,7 @@ "cats": [ "1" ], - "html": [ - "<[^>]+(?:https?:)?\/\/images.contentful.com", - "<[^>]+(?:https?:)?\/\/videos.contentful.com", - "<[^>]+(?:https?:)?\/\/assets.contentful.com", - "<[^>]+(?:https?:)?\/\/downloads.contentful.com" - ], + "html": "<[^>]+(?:https?:)?//(?:assets|downloads|images|videos)\\.contentful\\.com", "icon": "Contentful.svg", "website": "http://www.contentful.com" },