Crate feedpress

source Β·
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§

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.