0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-04-01 02:41:39 -05:00
ghost/core
Hannah Wolfe e41d0c76fb
RSS service + controller improved for consistency (#9233)
refs #9192, refs #5091 

- Moved all url generation into generate-feed.js, so we can see as much data processing as possible in a single place.
- Refactored the way res.locals were used, to be more like how express uses them prior to rendering
- Removed a bunch of code & tests todo with context for RSS - I can't see any way that'd be used, unless we switched the rendering to use a template.
- moved the RSS rendering to be part of the service, not controller
- updated the tests significantly 

Note: RSS generate-feed has a complete duplication of the code used in the excerpt helper in order to create an item description
2017-11-10 07:36:39 +00:00
..
client@a333e9506a Updated Ghost-Admin to 1.17.1 2017-11-09 14:37:42 +00:00
server RSS service + controller improved for consistency (#9233) 2017-11-10 07:36:39 +00:00
test RSS service + controller improved for consistency (#9233) 2017-11-10 07:36:39 +00:00
index.js Misc grunt /dev updates 2015-05-28 20:25:14 +01:00