Automattic / Automattic/jetpack

Podcast block only shows one post regardless of "number of items" setting (Simple sites only)

Open
#19,696 4 comments 0 reactions 0 assignees View on GitHub
[Block] Podcast Player [Pri] Normal Bug
Dominant language
PHP
Stars
1.8k
Forks
898
Avg merge
1d 18h
Merged PRs (30d)
774

Description

### Steps to reproduce the behavior

1. Insert a Podcast Block (Jetpack)
2. Paste a RSS audio feed (http://juliagomez.es/category/audio/ in my testing)
3. Try changing the number of podcast episodes to display

#### What I expected to happen
I expected it to change the number of episodes being listed, the way it does on Jetpack Sites:

Screen Shot on 2021-04-28 at 16-14-43

#### What actually happened

Only the latest episode displays, regardless of the number of number in the block settings.

![podcast-block-number-of-items](https://user-images.githubusercontent.com/4452464/116420498-4e4c6400-a83e-11eb-9995-fc690f942095.png)

As I said before, this issue is **happening on simple sites only**.

Here are two examples:

https://juliagomez.es/podcast/ (Feed: http://juliagomez.es/category/audio/ )
https://claragomez.es/podcast/ ( Feed: http://claragomez.es/category/audio/ )

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the Podcast Block on a Simple site with the RSS feeds from the issue, then trace the block's handling of the number-of-items setting and its rendering path. Done means the selected number of podcast episodes is displayed instead of only the latest episode, while Jetpack Sites behavior remains unchanged.

Written by the indexing model from the issue text.

Assessment

Tech stack
php, wordpress
Domain
frontend, web-dev
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.