PressForward / pressforward

PressForward is a free plugin that provides an editorial workflow for content aggregation and curation within the WordPress dashboard. It is designed for bloggers and editorial teams who wish to collect, discuss, and share content from a variety of sources on the open web.
GNU Affero General Public License v3.0
120 stars 22 forks source link

Improvements to Source attribution #1131

Closed boonebgorges closed 4 months ago

boonebgorges commented 1 year ago

A few recommendations from https://wordpress.org/support/topic/add-feed-name-after-source-when-publishing/:

  1. Add the name and link to the source website along with the post title. So: "Source: [Title] via [SourceName]". This is complicated because I'm unsure whether we have a reliable way of determining the SourceName from the OpenGraph protocol, but it's something we can investigate.
  2. Introduce a UI that allows admins to specify the default format of the Source statement. At a minimum, this might mean replacing Source: %s with Via: %s or something like that. A more advanced version might have a placeholder language like Source: <a href="{{sourceItemUrl}}">{{sourceItemTitle}}</a>

Placing in the 5.7.0 milestone for consideration alongside other editorial workflow improvements.

boonebgorges commented 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:

1131-settings

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:

1131-nominate-this