You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Setting up rss feeds when you have a blog with social cards per the instructions doesn't work. It's possible this is a mkdocs-rss-plugin issue vs a mkdocs-material issue.
mkdocs build is looking for the social cards at the wrong path when you add the rss plugin per the docs.
Please report this to the authors of the RSS plugin, since the problem manifests in a file generated by that plugin (feed_json_created.json). Furthermore, there have been some issues with the social plugin, e.g., Guts/mkdocs-rss-plugin#257 (as you mentioned as well), so it might be related. Essentially, the RSS plugin does not correctly handle the computed blog posts URLs, so this might be an ordering issue among plugins.
The URLs are computed as early as possible (before on_page_markdown, in on_files), so I'm quite confident the RSS plugin doesn't use the computed URLs correctly.
Context
Setting up rss feeds when you have a blog with social cards per the instructions doesn't work. It's possible this is a
mkdocs-rss-plugin
issue vs amkdocs-material
issue.Bug description
mkdocs build
is looking for the social cards at the wrong path when you add the rss plugin per the docs.The path in the resulting
feed_json_created.json
has social card paths that are missing the date and are incorrect: http://localhost:8000/assets/images/social/blog/posts/mission.png instead of http://localhost:8000/assets/images/social/blog/2023/09/01/the-mission-statement.pngRelated links
Reproduction
9.5.34+insiders.4.53.12-rss-social-blog.zip
Steps to reproduce
mkdocs build
list errors about loading images with the wrong path.mkdocs serve
succeeds, but the file at http://localhost:8000/feed_json_created.json has incorrect social links.Browser
Firefox
Before submitting
The text was updated successfully, but these errors were encountered: