Expand description
feedpress
Pressing together all your RSS news thats fit to press.
- Supports rss feed standards
- Creates typst output files.
Modules§
Structs§
- Args πCommand line arguments meant to provide ability to add or remove feeds, or press into an edition, via scheduled tasks, cronts, etc.
Constants§
- REQUEST_TIMEOUT_SECS πSeconds allowed before timing out when requesting a URL
- VERSION πThe package version
Functions§
- add_feed_url πAdds a provided feed URL to the array located in the configuration toml
- article_too_old π
- compile_feeds πWill compile the created feed data into both PDF and PNG formats (for a 1st page thumbnail)
- create_edition πReally a soft of collected convenience method that allows for an edition to be created both from the endpoint API and the command line. Does all that is necessary.
- get_config πDoes what it says on the tin.
- get_feed πGets the feed data in the form of a Channel
- main πMain application entrypoint
- press_feeds πProcesses RSS feeds located in the configuration toml and then prepares an output file able to be used by typst.
- process_biblio πCreates the bibliographic entry corresponding to each of the content entries.
- process_content πCreates the output file used in the typsetting portion of this process.
- remove_feed_url πRemoves a provided feed URL from the array located in the configuration toml
- scrape_this πUtilizes [Readability] to scrape the articleβs provided link and then send it through a simple html -> markdown processor.