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);