Fixed rss including entries

This commit is contained in:
Fergal Moran
2017-10-30 23:26:19 +00:00
parent 0ebc3806fb
commit 851dd6f6d5
4 changed files with 9 additions and 19 deletions

View File

@@ -51,11 +51,8 @@ namespace PodNoms.Api.Controllers
var podcast = await _podcastRepository.GetAsync(user.EmailAddress, entry);
if (podcast != null)
{
_logger.LogDebug("RSS: Found podcast");
string xml = ResourceReader.ReadResource("podcast.xml", _logger);
_logger.LogDebug($"RSS: {xml}");
var template = Handlebars.Compile(xml);
var compiled = new PodcastEnclosureViewModel
{
Title = podcast.Title,