Closed boonebgorges closed 4 months ago
I've built a version of this. For features of this sort, it's hard to balance power/flexibility with an interface that is comprehensible for regular users. I ended up doing the following:
I provide two different formats: one with publication and one without. It's annoying to do this, but information about the source publication is not uniformly available, and thus we need to be able to print a version of the statement without the publication name. But multilingual considerations mean we can't simply lop off the 'via' part of the statement. I went with placeholders {{item}}
and {{publication}}
. Then, I added a bit of help text. It's not super duper clear, but it's an admin-only interface, and I think that most admins will be able to suss out the meaning of it.
A nice side-effect of the implementation is that you can disable source statements altogether, simply by leaving both format fields blank.
The implementation also fixes a bug that caused the source statement to be a 'Classic' block when creating an item via the block-editor-based Nominate This. It's now created as a proper Paragraph block.
I also added the Publication Name (and URL, when available) to the sidebar area discussed in #902:
A few recommendations from https://wordpress.org/support/topic/add-feed-name-after-source-when-publishing/:
Source: %s
withVia: %s
or something like that. A more advanced version might have a placeholder language likeSource: <a href="{{sourceItemUrl}}">{{sourceItemTitle}}</a>
Placing in the 5.7.0 milestone for consideration alongside other editorial workflow improvements.