dylang / dylang/node-rss

rss feed not handling html anchor tags properly

Open
#76 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
1k
Forks
128
PR merge metrics
No merged PRs in 30d

Description

I generated a podcast RSS feed using a module derived from `node-rss`. The feed works fine in general. But the text content I have within the content:encoded includes some html, especially url links wrapped in tag. And those are not being recognized by iTunes. Here is the xml for one item in my feed
```

<![CDATA[How To Read People's Energy In 3 Seconds, Ep 18]]>
Subscribe to The True Voyage: A Soundcast For The Journey Within on
Soundwise

]]>
https://mysoundwise.com/episodes/1517178943974e
https://mysoundwise.com/episodes/1517178943974e




Sun, 28 Jan 2018 22:45:08 GMT

Subscribe to The True Voyage: A Soundcast For The Journey Within on Soundwise

]]>
Natasha Che
How To Read People's Energy In 3 Seconds, Ep 18
some words...Subscribe to <a href="https://mysoundwise.com/soundcasts/1508293913676s">The True Voyage: A Soundcast For The Journey Within</a> on <a href="https://mysoundwise.com/soundcasts/1508293913676s">Soundwise</a></p>
No
1177

How To Read People's Energy In 3 Seconds, Ep 18

```
It seems iTunes is rendering the content in `content:encoded` in their episode description. But the url links are not being recognized for some reason. I used
```
customElements: [
{
'content:encoded':
{
_cdata: 'some string including html tags'
}
}
]
```
for the `content:encoded` element. It looks correct to me. Not sure why the anchor tags are not being picked up by iTunes.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.