-
Notifications
You must be signed in to change notification settings - Fork 38
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
Store entry source #276
Comments
Hi, thanks for reaching out!
I think |
Some notes on implementing this. The RSS <source url="http://example.com/feed.xml">Some Feed</source> The Atom feedparser represents the RSS source element like this: {'href': 'http://example.com/feed.xml', 'title': 'Some Feed'} Note the It should be pretty safe to make Entry.source have a subset of the Feed attributes: class Entry:
...
source: Optional[EntrySource]
class EntrySource:
url: str # RSS href/url; Atom link[rel=self]
updated: Optional[datetime] = None
title: Optional[str] = None
link: Optional[str] = None
author: Optional[str] = None
subtitle: Optional[str] = None |
2024 implementation notes:
|
Hi
First of thanks for building this great tool.
I am having a small issue with understanding how to store elements from a feed item.
For this feed
https://www.newsdesk.lexisnexis.com/feed/aeb9dae6799dcbd4.rss
I am interested in storing thesource
element.How could I store this for each entry in the feed?
Thanks
The text was updated successfully, but these errors were encountered: