Skip to content
New issue

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

Question regarding pubDate #194

Open
Andre601 opened this issue Jul 23, 2023 · 0 comments
Open

Question regarding pubDate #194

Andre601 opened this issue Jul 23, 2023 · 0 comments

Comments

@Andre601
Copy link
Contributor

I have a question regarding the <pubDate> property of the different items created by this plugin.

As of right now do I override it by using the date metadata which results in dates such as Fri, 21 Jul 2023 00:00:00 +0200 when I set date: 2023-07-21

The thing is, that I want to use this RSS feed together with Mastofeed to automatically publish posts on my Mastodon account whenever I create a new blog post.
What makes this a problem is the fact that, the <pubDate> and/or <lastBuildDate are never older than the <pubDate> of my latest post, since these dates also include a time (And also have a -0000 time shift), so my posts are always considered as "old" and not published on Mastodon.

I was now considering to just remove the Metadata from the RSS plugin options, so that it would default to... something.
When I understand it correctly, should this mean that it would pull the date of when the page has been created from Git Metadata for the create feed?

If so, do I need to look out for some common pitfalls (i.e. specific date patterns to set in the plugin settings), or should it work fine?

I'm just a bit worried, that the Mastodfeed site could go crazy, because I use a CI pipeline for automatic publishing and that one has shallow git fetching (--fetch-depth=1), so dates are messed up.
Tho, I did fix this now using git fetch --unshallow, but I still fear there might be issues?
If you can, I would appreciate if you take a look at this file to see if that should create proper feed_rss_created.xml files with the right creation (<pubDate>) dates...
https://codeberg.org/Andre601/blog-source/src/branch/master/.woodpecker.yml

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant