Skip to content

Conversation

@danlyng
Copy link
Contributor

@danlyng danlyng commented Mar 28, 2025

According to the Atom 1.0 spec, foreign markup may be processed as children of atom:entry, atom:feed, or a Person construct. atom-syndication processes extensions in entry and feed but ignores foreign markup in Person elements.

This PR extends the current handling of extensions to Person. I've tried to keep the API consistent, but please let me know if you'd like changes.

Use case: I am parsing arXiv atom entries, which include an affiliation element like this:

<author>
   <name>G. G. Kacprzak</name>
   <arxiv:affiliation xmlns:arxiv="http://arxiv.org/schemas/atom">NMSU</arxiv:affiliation>
</author>

@danlyng
Copy link
Contributor Author

danlyng commented Jun 25, 2025

Wanted to follow up on this—please let me know if you'd like any changes!

@andy128k andy128k merged commit 193303b into rust-syndication:master Sep 14, 2025
15 checks passed
@danlyng danlyng deleted the person-ext branch September 16, 2025 17:08
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