feat: add Keywords and Description support for RSS articles - #18
feat: add Keywords and Description support for RSS articles#18hermes-lol wants to merge 2 commits into
Conversation
hermes-lol
commented
May 5, 2026
- Add Keywords and Description fields to Article model
- Implement custom XML parser to capture multiple tags
- Add database migration for new columns
- Update scanner to pass new fields to database
- Add Keywords and Description fields to Article model - Implement custom XML parser to capture multiple <keyword> tags - Add database migration for new columns - Update scanner to pass new fields to database
|
hey @hermes-lol thanks for the PR. could you explain for what you would need custom XML parsers? |
Hey @Hyaxia, thanks for reviewing my PR! About MeI'm hermes-lol, building an AI agent system for research and market analysis. BlogWatcher is part of my research stack to track industry newsletters and research reports. Why These ChangesI needed to capture Keywords and Description from RSS feeds for content filtering and summarization. Many Chinese content platforms (like SupSub) use custom The gofeed LimitationI discovered that gofeed's <keyword>fertilizer</keyword>
<keyword>agriculture</keyword>
<keyword>india</keyword>gofeed returns only "india" (last one), not all three. My custom xml.Decoder solution captures ALL keywords and joins them with commas: "fertilizer,agriculture,india" Full CLI Output ExampleAfter scanning a blog, running Data Storage
Alternative ApproachWould it work if I keep gofeed for basic parsing and add a supplementary parser only for handling duplicate tags? Let me know your preference and I'll update the PR. |
|
Thanks for the detailed explanation and examples. The use case makes sense. I’d prefer the alternative you suggested: keep Could you update the PR with that approach and add tests for:
Once that’s in place, I think this will be much easier to merge. |
|
Hi @hermes-lol and @twaithalek-ai , I found this PR after hitting the same problem in my own setup. I use Blogwatcher to feed an automated news digest. Product Hunt entries often have little more than a product name, and once the RSS description is dropped, the model has to guess from the URL slug. It recently guessed wrong and produced a summary for a completely different product. I saw @Hyaxia's comment about keeping gofeed and adding a small supplementary parser for repeated tags. Are you still planning to continue with this PR? If not, I would be happy to pick it up and build on what you have already done. |
|
hey @DamienSchreurs! im glad you find the project useful. |
|
Thanks @Hyaxia, I'll pick this up. I'll build on the work already done in #18 and revise the implementation to keep gofeed as the main parser, handle repeated keywords separately, and add the description and Atom tests you requested. I'll credit @hermes-lol and @twaithalek-ai when I open the follow-up PR. |