-
-
Notifications
You must be signed in to change notification settings - Fork 1
If "Link" does not exist, then set it based on "guid" (PublicId.php) #12
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
Conversation
Co-authored-by: Copilot <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
This PR implements functionality to automatically set a node's link from the <guid>
element when the guid has isPermaLink="true"
and no link is currently present. This addresses RSS feed parsing scenarios where the guid serves as a permalink but no explicit link element exists.
- Added conditional logic in
PublicId::setProperty()
to check for permalink-enabled guid elements - Created a new CHANGELOG.md file to document this enhancement
Reviewed Changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated 2 comments.
File | Description |
---|---|
src/FeedIo/Rule/PublicId.php | Added logic to set node link from guid when isPermaLink is true and link is null |
CHANGELOG.md | Added new changelog file documenting the enhancement |
…r consistency with modern PHP practices and better readability. Co-authored-by: Copilot <[email protected]>
- Add logic to set the node's link from the <guid> element when isPermaLink="true" and no link is present. (#12) - Do no longer default to 1800-01-01 as date for fetching feeds (#15) - Don't set if-modified-since header when discover feeds (#19) - Analysis of relative links for the Atom feed (#10) - Implicit null deprecations fixed (#17)
Changed - Add logic to set the node's link from the <guid> element when isPermaLink="true" and no link is present. (#12) - Do no longer default to 1800-01-01 as date for fetching feeds (#15) - Don't set if-modified-since header when discover feeds (#19) Fixed - Analysis of relative links for the Atom feed (#10) - Implicit null deprecations fixed (#17)
Changed - Add logic to set the node's link from the <guid> element when isPermaLink="true" and no link is present. (#12) - Do no longer default to 1800-01-01 as date for fetching feeds (#15) - Don't set if-modified-since header when discover feeds (#19) Fixed - Analysis of relative links for the Atom feed (#10) - Implicit null deprecations fixed (#17)
alexdebril#432
Cherry picked the changes from #8.