We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I added author field to items:
ideas.forEach((idea) => { feed.addItem({ title: idea.title, id: idea.short_id, link: `${urlBase}/${idea.short_id}/${idea.slug}`, content: idea.content, date: new Date(idea.idea_date), author: idea.user.name, }) })
But in the rss elements are like this:
<item> <title><![CDATA[New board]]></title> <link>https://www.bla.com/nkkmzt/new-board</link> <guid>nkkmzt</guid> <pubDate>Sat, 23 Jul 2022 16:22:21 GMT</pubDate> <content:encoded><![CDATA[<p>Test</p>]]></content:encoded> </item>
And for JSON:
{ id: "i43be6", content_html: "<p>Test</p>", url: "https://www.dailyidea.com/i43be6/an-idea", title: "An idea", date_modified: "2022-07-23T16:34:06.000Z", author: { } }
I validatedidea.user.name is present and are strings.
idea.user.name
The text was updated successfully, but these errors were encountered:
No branches or pull requests
I added author field to items:
But in the rss elements are like this:
And for JSON:
I validated
idea.user.name
is present and are strings.The text was updated successfully, but these errors were encountered: