mirror of
https://gitlab.com/Anson-Projects/zine.git
synced 2025-06-15 13:16:39 +00:00
Small Renaming
This commit is contained in:
parent
ec6da65e5e
commit
910ee46b8c
@ -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"]
|
||||
|
13
README.md
13
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
|
||||
|
||||
|
@ -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<utilities::Post>) -> 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<utilities::Post>) -> 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<utilities::Post>) -> 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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user