Skip to content

Fix permalink id tag - #12

Merged
lsaffre merged 4 commits into
lsaffre:masterfrom
JWCook:validation-fixes
Mar 26, 2026
Merged

Fix permalink id tag#12
lsaffre merged 4 commits into
lsaffre:masterfrom
JWCook:validation-fixes

Conversation

@JWCook

@JWCook JWCook commented Mar 25, 2026

Copy link
Copy Markdown

Updates #11.

I tested these changes with the w3 validator, and the related error ("id must be a full and valid URL") no longer appears. A small downside: since this changes IDs, feed readers that already picked up previously published posts will get duplicate entries for those posts.

  • Add urn:uuid: prefix for <id>
  • Remove duplicate slash if feed_base_url has a trailing slash (an unrelated issue I found while testing this)
  • Run tests with and without feed_entry_permalink
  • Run CI tests for python 3.13 and 3.14

@JWCook
JWCook force-pushed the validation-fixes branch from e63fc3a to b052108 Compare March 25, 2026 02:41
@JWCook JWCook changed the title Validation fixes Fix non-permalink id tag with UUID Mar 25, 2026
@JWCook JWCook changed the title Fix non-permalink id tag with UUID Fix permalink id tag Mar 25, 2026
@JWCook
JWCook force-pushed the validation-fixes branch from b052108 to 3b5799c Compare March 25, 2026 05:56
@JWCook JWCook mentioned this pull request Mar 25, 2026
@lsaffre
lsaffre merged commit 099f1f1 into lsaffre:master Mar 26, 2026
8 checks passed
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

Successfully merging this pull request may close these issues.

2 participants