diff --git a/Cargo.toml b/Cargo.toml index d891d49..ad8ed77 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "aggregate_rss_zine" -description = "Aggregate feed of RSS feeds I enjoy in the form of a newspaper." +description = "Blogroll of RSS feeds I enjoy in the form of a newspaper." version = "0.3.0" edition = "2021" authors = ["Anson Biggs"] diff --git a/README.md b/README.md index 07f9f6b..631513c 100644 --- a/README.md +++ b/README.md @@ -1,18 +1,19 @@ -# Anson's Aggregated Feed +# Anson's Blogroll Zine -Anson's Aggregated Feed is a Rust application designed to aggregate content from multiple RSS feeds, creating a personalized news page. It fetches articles from specified RSS feed URLs, generates HTML cards for each entry, and outputs a single, styled HTML page. This project showcases the use of Rust for web content aggregation and manipulation, leveraging several powerful crates for parsing RSS feeds, handling dates and times, making HTTP requests, and rendering HTML. +Anson's Blogroll Zine is a Rust application designed to aggregate content from multiple RSS feeds, creating a personalized news page. It fetches articles from `feeds.txt` and `featured.txt`, generates HTML cards for each entry, and outputs a single, styled HTML page. ## Algorithm Long term I would like some sort of algorithm that is a small improvement over just sorting the feed by posting date. Right now the only aspects taken into account are: -- Whether the feed is in the featured list -- Publish date of the post -- Bonus points if the feed includes an image, negative points if there isn't even a social image. +- [x] Whether the feed is in the featured list +- [x] Publish date of the post +- [~] Bonus points if the feed includes an image, negative points if there isn't even a social image. +- [x] Feeds that are in the featured list are boosted ## Featured Feeds -These are feeds that are extremely high quality and don't post on a regular schedule. There are blogs (factorio for example) that I think are consistently high quality but I want to save this space for very special posts. +These are feeds that are extremely high quality. Ideally they are independent blogs that don't post on a regular schedule, and don't promote anything. ## Quarantine Feeds diff --git a/src/site_generator.rs b/src/site_generator.rs index 0659948..02bffe7 100644 --- a/src/site_generator.rs +++ b/src/site_generator.rs @@ -86,7 +86,7 @@ fn generate_header() -> Markup { header { nav { ul { - li { h1 { "Anson's Aggregated Feed" }} + li { h1 { "Anson's Blogroll Zine" }} } ul { li { button data-target="about" onclick="toggleModal(event)" { "About" } } @@ -169,7 +169,7 @@ pub fn generate_index(mut entries: Vec) -> Markup { title { "Anson's Zine | Public RSS Feed" } meta charset="utf-8"; meta name="viewport" content="width=device-width, initial-scale=1"; - meta name="description" content="Aggregate newspaper of RSS feeds for Anson" + meta name="description" content="Blogroll zine of RSS feeds for Anson" link rel="apple-touch-icon" sizes="180x180" href="/favicon/apple-touch-icon.png"; link rel="icon" type="image/png" sizes="32x32" href="/favicon/favicon-32x32.png"; link rel="icon" type="image/png" sizes="16x16" href="/favicon/favicon-16x16.png"; @@ -179,7 +179,7 @@ pub fn generate_index(mut entries: Vec) -> Markup { // Open Graph meta tags meta property="og:title" content="Anson's Zine | Public RSS Feed"; - meta property="og:description" content="Aggregate newspaper of RSS feeds for Anson"; + meta property="og:description" content="Blogroll zine of RSS feeds for Anson"; meta property="og:url" content="https://blogroll.ansonbiggs.com"; meta property="og:type" content="website"; } @@ -219,7 +219,7 @@ pub fn generate_rss(posts: Vec) -> String { .collect(); let channel = ChannelBuilder::default() - .title("Anson's Aggregate RSS Feed") + .title("Anson's Blogroll") .link("https://zine.ansonbiggs.com/feed") .description("All the feeds I like, aggregated into one place.") .items(items)