Feeds 2/5: fetch feed items in the API with cache and per-feed errors
Mantenedores costumam responder em até 1 dia
Ninguém assumiu esta issue ainda.
Avaliação
- Dificuldade
- 4/5
- Tempo estimado
- 3-5 dias
- Facilidade para iniciantes
- 28/100
Direção de pesquisa
This is part 2 of 5 and depends on part 1, so start with the data model that part 1 introduces and with the parent issue #230. The work is a fetch-and-cache service behind an API endpoint, with RSS and Atom parsing through System.ServiceModel.Syndication, a 10 s per-feed timeout, and per-feed error results. Done means the unit tests with fake feed XML pass: RSS, Atom, a failing feed, a timeout, and script-tag sanitizing, plus the 30-day, already-a-Post and Added/Skipped filters working.
Escrita pelo modelo de indexação a partir do texto da issue.
Descrição
Sub-issue of #230, written with an AI assistant. Part 2 of 5, depends on part 1.
Goal
An API endpoint that returns the current feed items for all feeds, one group, or one feed.
Scope
- Fetch RSS and Atom in parallel (
System.ServiceModel.Syndicationor equivalent), 10 s timeout per feed. - In-memory cache of about 15 minutes per feed; a
refresh=trueparameter bypasses it. - Per-feed result: feed id, items, and an error message when the fetch failed (other feeds still return).
- Item: Url, Title, FeedId, FeedTitle, Published, one-line Excerpt, LeadImageUrl, sanitized HTML Body.
- Filters: drop items older than 30 days, items whose URL already exists as a Post, items with an Added/Skipped state.
- Pending counts per group and per feed (for the left pane).
- Unit tests with fake feed XML (RSS and Atom, a failing feed, a timeout, sanitizing script tags).
Out of scope
UI, background polling.
- Linguagem predominante
- C#
- Estrelas
- 13
- Forks
- 3
- Merge médio
- 12h 33min
- PRs com merge (30d)
- 13
Preparar o ambiente
- Sem Dockerfile nem arquivo Docker Compose
- Sem modelo de pull request
- Ler o guia de contribuição
Primeiros passos
- Leia a issue inteira e depois o guia de contribuição do projeto.
- Comente na issue dizendo que vai assumir — evita que duas pessoas façam o mesmo trabalho.
- Faça um fork do repositório e trabalhe em uma branch.
- Abra um pull request que referencie o número da issue.
Mais de fboucher/NoteBookmark
-
enhancement in-progress ready-for-agent
Dificuldade 3/5 1-2 dias Facilidade para iniciantes 42/100
fboucher/NoteBookmark#235 ·
Mantenedores costumam responder em até 1 dia
-
enhancement in-progress ready-for-agent
Dificuldade 4/5 3-5 dias Facilidade para iniciantes 25/100
fboucher/NoteBookmark#234 ·
Mantenedores costumam responder em até 1 dia
-
enhancement in-progress ready-for-agent
Dificuldade 4/5 3-5 dias Facilidade para iniciantes 30/100
fboucher/NoteBookmark#233 ·
Mantenedores costumam responder em até 1 dia
-
enhancement in-progress ready-for-agent
Dificuldade 4/5 3-5 dias Facilidade para iniciantes 35/100
fboucher/NoteBookmark#231 ·
Mantenedores costumam responder em até 1 dia
-
enhancement ready-for-agent
Dificuldade 5/5 Mais de uma semana Facilidade para iniciantes 12/100
fboucher/NoteBookmark#230 ·
Mantenedores costumam responder em até 1 dia
Todas as issues de fboucher/NoteBookmark
Issues semelhantes
-
Assert.That on a null non-generic IEnumerable throws ArgumentNullException, so IsNull() cannot passAbertabug P2
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 72/100
Mantenedores costumam responder em até 1 dia
-
area/automation area/sdk kind/bug
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 78/100
unoplatform/uno.templates#2406 ·
Mantenedores costumam responder em até 1 dia
-
bug frontend ui
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 68/100
Mantenedores costumam responder em até 1 dia
-
agentic-workflows
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 68/100
Mantenedores costumam responder em até 1 dia
-
documentation trivial
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 72/100
Mantenedores costumam responder em até 1 dia