nextcloud / website

An attempt to build a new website (obsolete)
7 stars 4 forks source link

RSS feed invalid #18

Open sir-indy opened 4 years ago

sir-indy commented 4 years ago

I like to follow the news from Nextcloud via the News app in my Nextcloud instance, with their RSS feed: https://nextcloud.com/blogfeed I've recently been having problems with some other feeds, and checking them all I found that the RSS feed from nextcloud is invalid. See this validator: https://validator.w3.org/feed/check.cgi?url=https%3A%2F%2Fnextcloud.com%2Fblogfeed

Output:

Sorry

This feed does not validate.

line 1750, column 3: Invalid character in a URI: "https://nextcloud.com/media/notification-view.png [help]

    ]]></content:encoded>
       ^

line 2010, column 3: Invalid character in a URI: link here (4 occurrences) [help]

    ]]></content:encoded>
       ^

In addition, interoperability with the widest range of feed readers could be improved by implementing the following recommendations.

line 12, column 92: Self reference doesn't match document location [help]

    ... rel="self" type="application/rss+xml" />
                                                 ^

line 91, column 0: Non-html tag: stream (12 occurrences) [help]

    <p><stream src="6644f6c1e7c0a5e3ff5b877e07ed1dea" controls poster="https://n ...

line 91, column 0: content:encoded should not contain script tag (13 occurrences) [help]

    <p><stream src="6644f6c1e7c0a5e3ff5b877e07ed1dea" controls poster="https://n ...

line 131, column 0: style attribute contains potentially dangerous content: max-width (136 occurrences) [help]

    <div style="max-width: 300px; width: 100%; margin: 50px auto 50px auto;"><a  ...

line 206, column 0: content:encoded should not contain iframe tag (11 occurrences) [help]

    <p><iframe src="https://www.youtube-nocookie.com/embed/oyWXMjb-6ik" width="8 ...

line 395, column 0: content:encoded should not contain sizes attribute (7 occurrences) [help]

                    <content:encoded><![CDATA[<p><a href="https://nextcloud.com/media/IONOSb ...

line 1008, column 0: Invalid HTML: EOF in middle of construct, at line 7, column 111 [help]

    <p><a href="https://privacy-tech.eu/wp-content/uploads/2019/11/e-evidence_op ...
skjnldsv commented 4 years ago

@jospoortvliet