0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-01-20 22:42:53 -05:00

Add rss.item filter

This commit is contained in:
Fabian Becker 2015-07-09 13:18:32 +02:00
parent 3c5011cd56
commit 88a7cdbc3d

View file

@ -179,7 +179,9 @@ generateFeed = function generateFeed(data) {
} }
}); });
feed.item(item); filters.doFilter('rss.item', item, post).then(function then(item) {
feed.item(item);
});
}); });
return filters.doFilter('rss.feed', feed).then(function then(feed) { return filters.doFilter('rss.feed', feed).then(function then(feed) {