| Name | Modified | Size | Downloads / Week |
|---|---|---|---|
| Parent folder | |||
| README.md | 2026-07-04 | 1.4 kB | |
| v4.2.0 -- Dotted access to nested_attribute feed fields source code.tar.gz | 2026-07-04 | 225.4 kB | |
| v4.2.0 -- Dotted access to nested_attribute feed fields source code.zip | 2026-07-04 | 240.7 kB | |
| Totals: 3 Items | 467.5 kB | 0 | |
Dotted access to nested / attribute feed fields
Podcast and other rich feeds carry data in namespaced elements (<itunes:duration>) and attribute-only elements (<enclosure url=…>, <itunes:image href=…>). feedparser_rs exposes these as typed, dict-like sub-objects, which the fields = … templating language previously couldn't fully reach.
Added
- Dotted field syntax — reach a sub-object's value with
itunes.duration,enclosures.href,itunes.image,links.href, etc. Resolves one scalar (the first element when the base is a list; use[delim]field.keyto join all). Composes with every existing markup form (##,-#,>,<>,``). - Field discovery —
show_sample_entry.py,show_all_entries.py, andnewfeed.pynow print every reachable field as the exact config token plus its value (nested fields included), flagging list-backed fields with the[delim]join hint. - Shared
feedfields.py— one module both the bot and the utility scripts import, so every token the scripts show is guaranteed usable in a config.
Fixed
- html2text no longer mangles URL-valued fields (it rewrote
&e=2into&e;=2); rendering now runs html2text only on values containing whitespace, leaving URLs/tokens raw.
Docs
FEEDS.mdFAQ on dotted access and the comma-free[delim]join rule.feed2discord.examples.iniHuttonOrbital section reworked into a working podcast showcase.