Directory: give feeds a category, from the feed itself #4
Notifications
Due Date
No due date set.
Blocks
#5 Directory: expose category on /api/popular and /api/directory
rays/ipodderx-rs
Reference: rays/ipodderx-rs#4
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
ParsedFeedkeeps per-episodecategories(src/feed.rs:24) but nothing at the channel level. Read the first<itunes:category>off the channel, next to wherefrom_rssalready readsch.itunes_ext()forexplicit(src/feed.rs:441). Take only the iTunes one: it is Apple's fixed list, while a plain channel<category>is freeform and would fill the rail with one-off tags.Add a
categorycolumn throughmigrate()'s list, pass it throughrecord_feed, and put it onFeedSummary.Backfill:
record_feedonly runs on a 200, and 682 feeds carry a validator, so most would answer 304 and never pick up a category until the publisher changes something. Have the migration nulletagandlast_modifiedonce (notlast_checked, asclear_validatorsdoes, or every feed comes due at once) so each re-reads on its normal schedule. (src/feed.rs,src/db.rs,src/main.rs)First of the Directory overhaul issues.