Skip to content
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

Support for multiple enclosures #140

Merged
merged 1 commit into from
Feb 2, 2024
Merged

Conversation

w3stling
Copy link
Owner

@w3stling w3stling commented Feb 2, 2024

Add support for multiple enclosures per RSS Item.

<rss>
   ...
   <item>
      ...
      <enclosure url="https://url1" length="1" type="image/jpeg" />
      <enclosure url="https://url2" length="2" type="image/png" />
      <enclosure url="https://url3" length="3" type="image/gif" />
   </item>
   ...
</rss>

Method in Item class getting multiple enclosures:

List<Enclosure> enclosures = item.getEnclosures();

@w3stling w3stling added the enhancement New feature or request label Feb 2, 2024
@w3stling w3stling merged commit 3bf20e3 into master Feb 2, 2024
2 of 3 checks passed
@w3stling w3stling deleted the support-for-multiple-enclosures branch February 2, 2024 12:11
@w3stling w3stling linked an issue Feb 2, 2024 that may be closed by this pull request
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.

Support for multiple instances of Enclosure
1 participant