Skip to content

Conversation

Grotax
Copy link

@Grotax Grotax commented Jul 23, 2025

alexdebril#432

Cherry picked the changes from #8.

@Grotax Grotax requested review from SMillerDev and Copilot July 23, 2025 11:52
Copy link

@Copilot Copilot AI left a 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]>
@Grotax Grotax merged commit 4b3bdfb into main Aug 2, 2025
4 checks passed
@Grotax Grotax deleted the import-pr-432 branch August 2, 2025 17:56
Grotax added a commit that referenced this pull request Aug 13, 2025
- 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)
Grotax added a commit that referenced this pull request Aug 13, 2025
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)
@Grotax Grotax mentioned this pull request Aug 13, 2025
Grotax added a commit that referenced this pull request Aug 13, 2025
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)
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.

3 participants