Open carstingaxion opened 2 months ago
Friendly ping asking for your opinions: @paaljoachim, @ntsekouras and @jeherve
I went ahead and posted in the PR: https://github.com/WordPress/gutenberg/pull/39837 So that people there would get information about this issue.
Cool, thank you @paaljoachim !
What problem does this address?
I did not find a blocky way to get a list of all feeds a reader may want to subscribe to, for a given post. I was looking for a block equivalent to
get_term_link()
.Once again: for GatherPress, I created a block variation of the post-terms block that seemed so simple and general, that I thought it might be better to ask, if we don’t want to support that from core.
What is your proposed solution?
I’d like to take https://github.com/WordPress/gutenberg/pull/39837 one step further and register another set of core/post-terms variations which will be populated with the feed urls of the selected terms.
While the block should use ‚
rss
‘ as its default feed type, a radio control could be pre-populated with the registered feed types to let an editor choose from.In my GatherPress use-case, I wanted to use such a block to show the subscribe-able iCal endpoints.
Because I did this already for GatherPress, I can easily share some code or even create a PR.