Most feeds have no Directory category: blogs name none, and it is only set by hand #117

Closed
opened 2026-10-04 15:10:22 -07:00 by rays · 1 comment
Owner

A feed's Directory category comes from its own itunes:category or from an admin (ipx add --category, or the feed's settings). Most blogs and news sites name none, so they show under no category chip in the Directory.

TypeSafe's Jev (https://docs.typesafe.ai/api) can pick one from a fixed list given the feed's title and recent item titles. Tried on 2026-10-04 with Apple's top-level podcast categories: XDA, Daring Fireball, The Old New Thing and Ars Technica as Technology, BoardGameGeek as Games, John D. Cook as Science, Pluralistic as Technology at low confidence (0.42; Society & Culture 0.35). About 600 input tokens a feed, $0.042 per million.

Plan: when a scan reads a catalogue feed that has neither its own category nor an admin's, and TYPESAFE_KEY is set, ask Jev once and store the answer as the feed's catalogue category, where an admin can change it.

A feed's Directory category comes from its own <itunes:category> or from an admin (ipx add --category, or the feed's settings). Most blogs and news sites name none, so they show under no category chip in the Directory. TypeSafe's Jev (https://docs.typesafe.ai/api) can pick one from a fixed list given the feed's title and recent item titles. Tried on 2026-10-04 with Apple's top-level podcast categories: XDA, Daring Fireball, The Old New Thing and Ars Technica as Technology, BoardGameGeek as Games, John D. Cook as Science, Pluralistic as Technology at low confidence (0.42; Society & Culture 0.35). About 600 input tokens a feed, $0.042 per million. Plan: when a scan reads a catalogue feed that has neither its own category nor an admin's, and TYPESAFE_KEY is set, ask Jev once and store the answer as the feed's catalogue category, where an admin can change it.
rays added the enhancement label 2026-10-04 15:10:22 -07:00
Author
Owner

Done in 3e384f3 and deployed on 2026-10-04 22:22 UTC, with TYPESAFE_KEY in ipx.env. A feed is asked on its first read, or on a forced refresh if it still has no category, so ordinary scans never call Jev. A forced scan straight after the deploy categorised 113 of the 179 feeds (the rest name their own category or are not in the catalogue), none failing: Technology 58, Tech News 18, Games 4, Video Games 4, Hobbies 4, Design 3, Philosophy 3 and a long tail. Query: {container="iPX"} |= "categorised"

Done in 3e384f3 and deployed on 2026-10-04 22:22 UTC, with TYPESAFE_KEY in ipx.env. A feed is asked on its first read, or on a forced refresh if it still has no category, so ordinary scans never call Jev. A forced scan straight after the deploy categorised 113 of the 179 feeds (the rest name their own category or are not in the catalogue), none failing: Technology 58, Tech News 18, Games 4, Video Games 4, Hobbies 4, Design 3, Philosophy 3 and a long tail. Query: {container="iPX"} |= "categorised"
rays closed this issue 2026-10-04 15:23:38 -07:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: rays/ipx#117