Skip to content

Add mapping for the xml:lang attribute in Atom feeds#281

Merged
w3stling merged 2 commits intomasterfrom
map-lang-attribute-on-feed-tag
Nov 15, 2025
Merged

Add mapping for the xml:lang attribute in Atom feeds#281
w3stling merged 2 commits intomasterfrom
map-lang-attribute-on-feed-tag

Conversation

@w3stling
Copy link
Owner

Adds support for mapping the xml:lang attribute on the root <feed> tag as a fallback when no <language> tag is provided in an Atom feed.

/feed/xml:lang -> channel::getLanguage

Example:

<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
    ...
    <entry>
        ...
    </entry>
</feed>

@w3stling w3stling added the enhancement New feature or request label Nov 15, 2025
@github-actions
Copy link

github-actions bot commented Nov 15, 2025

Test Results

 13 files   13 suites   31s ⏱️
310 tests 308 ✅ 2 💤 0 ❌
318 runs  316 ✅ 2 💤 0 ❌

Results for commit 1f2f495.

♻️ This comment has been updated with latest results.

@sonarqubecloud
Copy link

@w3stling w3stling merged commit 5425f45 into master Nov 15, 2025
7 checks passed
@w3stling w3stling deleted the map-lang-attribute-on-feed-tag branch November 15, 2025 07:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant