Skip to content

Inoreader does not recognize rss #71

Open
@LeeYunhang

Description

@LeeYunhang

When I use node-rss to generate RSS, the generated RSS can not be recognized by Inoreader. Here's my code:

  let feed = new RSS({
    title: username,
    description: `${username}/${reposName}'s issue`,
    feed_url: `https://${SELF_DOMAIN}/${encodeURIComponent(url)}/feed`,
    site_url: url
  })

  issues.forEach((issue, index) => feed.item({
      title: issue.title,
      description: issue.description, 
      url: url,
      author: issue.author,
      date: issue.date,
      guid: issue.guid
    })
  )

  return feed.xml()

But can be detected on validator.w3.org/feed. My code is also written in accordance with the demo given on README. Here is my RSS content.

<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0">
    <channel>
        <title><![CDATA[mrcodehang]]></title>
        <description><![CDATA[mrcodehang/blog-comment's issue]]></description>
        <link>https://github.com/mrcodehang/blog-comment/issues</link>
        <generator>RSS for Node</generator>
        <lastBuildDate>Fri, 12 May 2017 08:49:06 GMT</lastBuildDate>
        <atom:link href="https://rss.mrcodex.com/https%3A%2F%2Fgithub.com%2Fmrcodehang%2Fblog-comment%2Fissues/feed" rel="self" type="application/rss+xml" />
        <item>
            <title><![CDATA[以通俗的方式理解关键渲染路径]]></title>
            <description><![CDATA[<p><a href="https://blog.mrcodex.com/learn-the-critical-render-path-is-easy/">https://blog.mrcodex.com/learn-the-critical-render-path-is-easy/</a></p>
]]></description>
            <link>https://github.com/mrcodehang/blog-comment/issues</link>
            <guid isPermaLink="false">2017-04-07T18:27:32Z</guid>
            <dc:creator><![CDATA[mrcodehang]]></dc:creator>
            <pubDate>Fri, 07 Apr 2017 18:27:32 GMT</pubDate>
        </item>
        <item>
            <title><![CDATA[React的10种设计模式]]></title>
            <description><![CDATA[<p><a href="https://blog.mrcodex.com/react-ten-design-pattern/">https://blog.mrcodex.com/react-ten-design-pattern/</a></p>
]]></description>
            <link>https://github.com/mrcodehang/blog-comment/issues</link>
            <guid isPermaLink="false">2017-04-06T17:18:35Z</guid>
            <dc:creator><![CDATA[mrcodehang]]></dc:creator>
            <pubDate>Thu, 06 Apr 2017 17:18:35 GMT</pubDate>
        </item>
        <item>
            <title><![CDATA[成为一名认证"老司机"]]></title>
            <description><![CDATA[<p><a href="https://blog.mrcodex.com/become-a-authenticate-old-driver/">https://blog.mrcodex.com/become-a-authenticate-old-driver/</a></p>
]]></description>
            <link>https://github.com/mrcodehang/blog-comment/issues</link>
            <guid isPermaLink="false">2017-04-06T17:11:22Z</guid>
            <dc:creator><![CDATA[mrcodehang]]></dc:creator>
            <pubDate>Thu, 06 Apr 2017 17:11:22 GMT</pubDate>
        </item>
        <item>
            <title><![CDATA[JS函数式浅析]]></title>
            <description><![CDATA[<p><a href="https://blog.mrcodex.com/javascript-functional-programming-analysis/">https://blog.mrcodex.com/javascript-functional-programming-analysis/</a></p>
]]></description>
            <link>https://github.com/mrcodehang/blog-comment/issues</link>
            <guid isPermaLink="false">2017-04-11T04:08:48Z</guid>
            <dc:creator><![CDATA[mrcodehang]]></dc:creator>
            <pubDate>Thu, 06 Apr 2017 17:10:09 GMT</pubDate>
        </item>
        <item>
            <title><![CDATA[find-github-star 开发历程~]]></title>
            <description><![CDATA[<p><a href="https://blog.mrcodex.com/find-github-star-developer-road/">https://blog.mrcodex.com/find-github-star-developer-road/</a></p>
]]></description>
            <link>https://github.com/mrcodehang/blog-comment/issues</link>
            <guid isPermaLink="false">2017-04-06T16:53:58Z</guid>
            <dc:creator><![CDATA[mrcodehang]]></dc:creator>
            <pubDate>Thu, 06 Apr 2017 16:52:13 GMT</pubDate>
        </item>
        <item>
            <title><![CDATA[find-github-star 开发历程~]]></title>
            <description><![CDATA[<p><a href="https://blog.mrcodex.com/find-github-star-developer-road/">https://blog.mrcodex.com/find-github-star-developer-road/</a></p>
]]></description>
            <link>https://github.com/mrcodehang/blog-comment/issues</link>
            <guid isPermaLink="false">2017-04-06T16:51:46Z</guid>
            <dc:creator><![CDATA[mrcodehang]]></dc:creator>
            <pubDate>Thu, 06 Apr 2017 16:51:46 GMT</pubDate>
        </item>
    </channel>
</rss>

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions