matrix-org / matrix-org/matrix-hookshot

Allow adding RSS feeds with header `content-type: text/html` from the widget

Open
#548 5 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Feeds T-Enhancement Widgets / Provisioning
Dominant language
TypeScript
Stars
450
Forks
95
Avg merge
1d 2h
Merged PRs (30d)
23

Description

I have an RSS feed that has the header content-type: text/html; charset=utf-8 instead of content-type: application/rss+xml; charset=UTF-8, but the Hookshot widget doesn't allow adding it.

Screen Shot 2022-10-28 at 10 40 32 PM

I manually set the uk.half-shot.matrix-hookshot.feed state event, and the feed is working.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start in the Hookshot widget's RSS feed validation flow and reproduce the issue with a feed returning content-type: text/html; charset=utf-8. Compare it with the manually configured uk.half-shot.matrix-hookshot.feed state event; done means the widget accepts and uses the feed without manual state configuration.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.