added unveiler to other feeds
This commit is contained in:
parent
2851432888
commit
39e443ef9e
@ -9,7 +9,7 @@ var APP = {
|
|||||||
_list : null,
|
_list : null,
|
||||||
_feed : null,
|
_feed : null,
|
||||||
|
|
||||||
feeds: ['paleo', 'lifestyle'],
|
feeds: ['paleo', 'lifestyle', 'tech'],
|
||||||
lastUpdated: null,
|
lastUpdated: null,
|
||||||
preCache: function() {
|
preCache: function() {
|
||||||
this._list = new EJS({url: 'ejs/list.ejs'});
|
this._list = new EJS({url: 'ejs/list.ejs'});
|
||||||
|
@ -31,7 +31,7 @@
|
|||||||
function unveil() {
|
function unveil() {
|
||||||
var inview = images.filter(function() {
|
var inview = images.filter(function() {
|
||||||
var $e = $(this);
|
var $e = $(this);
|
||||||
if ($e.is(":hidden")) return;
|
// if ($e.is(":hidden")) return;
|
||||||
|
|
||||||
var wt = $w.scrollTop(),
|
var wt = $w.scrollTop(),
|
||||||
wb = wt + $w.height(),
|
wb = wt + $w.height(),
|
||||||
|
@ -19,7 +19,7 @@ feeds.simple_test_feed = {
|
|||||||
"description": "Combined Lifestyle Feed",
|
"description": "Combined Lifestyle Feed",
|
||||||
'site_url': 'http://pipes.silvrtree.co.uk/lifestyle.xml'
|
'site_url': 'http://pipes.silvrtree.co.uk/lifestyle.xml'
|
||||||
},
|
},
|
||||||
"plugins" : ['filter_3_days' ],
|
"plugins" : ['filter_3_days' ,'fix_images'],
|
||||||
"sources" : [
|
"sources" : [
|
||||||
{
|
{
|
||||||
|
|
||||||
|
4
tech.js
4
tech.js
@ -20,6 +20,7 @@ feeds.simple_test_feed = {
|
|||||||
"description": "Combined Tech Feed",
|
"description": "Combined Tech Feed",
|
||||||
'site_url': 'http://pipes.silvrtree.co.uk/tech.xml'
|
'site_url': 'http://pipes.silvrtree.co.uk/tech.xml'
|
||||||
},
|
},
|
||||||
|
"plugins" : ['filter_3_days' ,'fix_images'],
|
||||||
"sources": [
|
"sources": [
|
||||||
{
|
{
|
||||||
"count": 100,
|
"count": 100,
|
||||||
@ -81,7 +82,8 @@ var braider_options = {
|
|||||||
indent: " ",
|
indent: " ",
|
||||||
date_sort_order: "desc", // Newest first
|
date_sort_order: "desc", // Newest first
|
||||||
log_level: "warn",
|
log_level: "warn",
|
||||||
dedupe_fields: ['link', 'guid']
|
dedupe_fields: ['link', 'guid'],
|
||||||
|
plugins_directories : [__dirname + "/plugins/"]
|
||||||
};
|
};
|
||||||
var rss_braider = RssBraider.createClient(braider_options);
|
var rss_braider = RssBraider.createClient(braider_options);
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user