From 928cbaf8f4008dbf4f34abe9700f3b8bd799547c Mon Sep 17 00:00:00 2001 From: rays Date: Tue, 29 Sep 2026 16:16:25 +0000 Subject: [PATCH] Show each feed's id labelled in ipx list (#82) The id led the title's line unlabelled, so antirez.com's, "feed" with no title beside it, read as a heading; 'ipx fetch antirez' was tried instead and failed. The title now heads the entry and the id has its own row. Co-Authored-By: Claude Opus 5.5 --- CHANGELOG.md | 1 + src/main.rs | 5 ++++- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 3cc2a46..0db45ba 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -23,6 +23,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Changed +- `ipx list` shows each feed's id on a line of its own, labelled, under its title. - Each browser keeps its own theme, so a phone and a desktop can differ. A browser that has not chosen one yet starts from the theme your account had. - The Modern theme takes its colours from the new logo: its navy, the blue of its bars and the diff --git a/src/main.rs b/src/main.rs index 97f15d9..a9525fb 100644 --- a/src/main.rs +++ b/src/main.rs @@ -886,7 +886,10 @@ async fn list(ctx: &Ctx) -> Result<()> { } for (id, feed) in &cfg.feeds { let s = ctx.db.feed_summary(id).await?; - println!("{id} {}", s.title.as_deref().unwrap_or("-")); + // The id on a line of its own, labelled: first on the title's line, antirez.com's id + // "feed" read as a heading and 'ipx fetch antirez' was tried instead (issue #82). + println!("{}", s.title.as_deref().filter(|t| !t.is_empty()).unwrap_or(id)); + println!(" id {id}"); println!(" url {}", feed.url); println!(" last checked {}", ago(s.last_checked)); println!(" entries {} ({} downloaded)", s.entries, s.downloaded);