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

Can not locate image in RSSFeed #130

Closed
ahmedrezik opened this issue Oct 27, 2020 · 1 comment
Closed

Can not locate image in RSSFeed #130

ahmedrezik opened this issue Oct 27, 2020 · 1 comment

Comments

@ahmedrezik
Copy link

An rssfeeditem does not contain an attribute that holds the item's image or it's URL

@GarthSnyder
Copy link
Collaborator

FeedKit is a relatively thin layer over the RSS format spec (e.g., here for feed items). It doesn't add anything that's not in the spec; RSS items do not have images. If the feed itself has an image, you can reasonably impute that image to the items it contains, but since this isn't officially part of RSS, FeedKit doesn't do it for you.

In theory, an item's URL is in the link field. But keep in mind that RSS is a folk format, so there are many noncompliant feeds out there. If the link field doesn't contain the type of content that you think it should, you should also check for an enclosure of the appropriate type.

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

No branches or pull requests

2 participants