mirror of
https://github.com/fergalmoran/podnoms.git
synced 2025-12-25 18:58:12 +00:00
Fixed rss including entries
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user