We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
You can continue the conversation there. Go to discussion →
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
Describe the bug When there is no <title> in an RSS feed's <item>, the action fails:
<title>
<item>
title: item.title.trim(), ^ TypeError: Cannot read properties of undefined (reading 'trim')
Expected behavior The RSS file in question is from a microblogging site. It's a valid RSS 2.0 file. Per the RSS 2.0 specification:
All elements of an item are optional, however at least one of title or description must be present.
In this feed, <title> is absent, but <description> is available:
<description>
<item> <guid isPermaLink="true">https://mastodon.yshi.org/@owls/110177333762426246</guid> <link>https://mastodon.yshi.org/@owls/110177333762426246</link> <pubDate>Tue, 11 Apr 2023 00:24:55 +0000</pubDate> <description><p>!deer</p></description> </item>
If you would like to see the whole feed, it is available at https://mastodon.yshi.org/@owls.rss.
https://mastodon.yshi.org/@owls.rss
Screenshots If applicable, add screenshots to help explain your problem.
Workflow Yml Used
name: Dynamic README on: schedule: - cron: '0 * * * *' workflow_dispatch: permissions: contents: write jobs: update-readme-with-blog: name: Update this repo's README with latest blog posts runs-on: ubuntu-latest steps: - name: Checkout uses: actions/checkout@v3 - name: Pull in Blog Posts uses: gautamkrishnar/blog-post-workflow@v1 with: feed_names: "owlblog,microblog" feed_list: "https://godless-internets.org/feed/,http://mastodon.yshi.org/@owls.rss"
The text was updated successfully, but these errors were encountered:
@nie7321 title check can be disabled by setting disable_item_validation also you can skip items that don't have a title via item_exec read more about that in the options list: https://github.com/gautamkrishnar/blog-post-workflow#options
disable_item_validation
item_exec
You can use a combination of templates combined with the above options to make the workflow work. ex: #142 and #34 (comment)
Sorry, something went wrong.
No branches or pull requests
Describe the bug
When there is no
<title>
in an RSS feed's<item>
, the action fails:Expected behavior
The RSS file in question is from a microblogging site. It's a valid RSS 2.0 file. Per the RSS 2.0 specification:
In this feed,
<title>
is absent, but<description>
is available:If you would like to see the whole feed, it is available at
https://mastodon.yshi.org/@owls.rss
.Screenshots
If applicable, add screenshots to help explain your problem.
Workflow Yml Used
The text was updated successfully, but these errors were encountered: