From 39e443ef9e7d88b23b35dc1a632db3e70b36f3a8 Mon Sep 17 00:00:00 2001 From: Martin Donnelly Date: Fri, 7 Aug 2015 14:22:57 +0100 Subject: [PATCH] added unveiler to other feeds --- html/js/app.prod.js | 2 +- html/js/jquery.unveil.js | 2 +- lifestyle.js | 2 +- tech.js | 4 +++- 4 files changed, 6 insertions(+), 4 deletions(-) diff --git a/html/js/app.prod.js b/html/js/app.prod.js index 71c7f2f..8726259 100644 --- a/html/js/app.prod.js +++ b/html/js/app.prod.js @@ -9,7 +9,7 @@ var APP = { _list : null, _feed : null, - feeds: ['paleo', 'lifestyle'], + feeds: ['paleo', 'lifestyle', 'tech'], lastUpdated: null, preCache: function() { this._list = new EJS({url: 'ejs/list.ejs'}); diff --git a/html/js/jquery.unveil.js b/html/js/jquery.unveil.js index 8cfeb25..65ad7ab 100644 --- a/html/js/jquery.unveil.js +++ b/html/js/jquery.unveil.js @@ -31,7 +31,7 @@ function unveil() { var inview = images.filter(function() { var $e = $(this); - if ($e.is(":hidden")) return; + // if ($e.is(":hidden")) return; var wt = $w.scrollTop(), wb = wt + $w.height(), diff --git a/lifestyle.js b/lifestyle.js index a5d0298..0ed3fa5 100644 --- a/lifestyle.js +++ b/lifestyle.js @@ -19,7 +19,7 @@ feeds.simple_test_feed = { "description": "Combined Lifestyle Feed", 'site_url': 'http://pipes.silvrtree.co.uk/lifestyle.xml' }, - "plugins" : ['filter_3_days' ], + "plugins" : ['filter_3_days' ,'fix_images'], "sources" : [ { diff --git a/tech.js b/tech.js index c2f98d1..06c7288 100644 --- a/tech.js +++ b/tech.js @@ -20,6 +20,7 @@ feeds.simple_test_feed = { "description": "Combined Tech Feed", 'site_url': 'http://pipes.silvrtree.co.uk/tech.xml' }, + "plugins" : ['filter_3_days' ,'fix_images'], "sources": [ { "count": 100, @@ -81,7 +82,8 @@ var braider_options = { indent: " ", date_sort_order: "desc", // Newest first log_level: "warn", - dedupe_fields: ['link', 'guid'] + dedupe_fields: ['link', 'guid'], + plugins_directories : [__dirname + "/plugins/"] }; var rss_braider = RssBraider.createClient(braider_options);