-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Improve rss/atom feed subscription (#13)
* feat: does not fetch old items from RSS feeds * feat: fetch automatically the rss/atom in the page source * fix: check if the link is a feed or not * fix: remove `clone` * feat: handle exception if feed table already exists * fix: resolve prevented multiple items from being imported * chore: `cargo fmt` * fix: remove excessive database access * fix: modify error if nothing is entered when adding a feed * chore: execute second `cargo fmt` * fix: check most recent only when fetch_old_items is false * fix: use `pub` * fix: add table column using `add_column_if_not_exists` * fix: handle errors when generating feeds in `errors.rc`. * fix: get feed ids for most recent items * fix: delete unnecessary HTTP request * chore: check clippy point
- Loading branch information
Showing
15 changed files
with
331 additions
and
63 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.