The Mentionables plugin lets you establish a custom mention dataset. Custom mentions work the same as @users or #categories, but use data external to discourse, including linking to external urls.
Currently google sheets is the only supported data source, however the plugin is designed to support any source. If youâd like to add a new source, please contact us.
Not currently. How are you thinking the filter would work in an abstract sense? You can estabilsh any external dataset as a mentionables set. Perhaps you can use an additional column in the data that informs how posts with custom mentionable data would be ordered. Then youâd also need to deal with situations where mutiple mentions were made in the same post. If you scoped out the feature in some detail in an abstract sense we could get a sense of how much it would take to implement it.
OK Iâve completed a couple of PRâs for this which get things back up and running:
Moves the API to Googleâs official API, dropping an intermediary gem (and a few others) and adding CI so things should be a bit more reliable going forward.
Please note the breaking changes to settings:
mentionables_google_spreadsheet_url: âURL of the Google spreadsheetâ
becomes:
mentionables_google_spreadsheet_id: âID of the Google spreadsheetâ
mentionables_google_worksheet_gids: âRestrict Google spreadsheet import to worksheet GIDs. If empty, all worksheets will be imported.â
becomes:
mentionables_google_worksheet_names: âNames of in-scope source worksheets (tabs)â
And there is a new setting:
mentionables_google_worksheet_max_row: âMaximum number of rows scannedâ
Itâs not suitable for @froldâs use case I suspect which is to present a financial graph rendered by a third party site. Mentionables is not intended for such a use case.
@frold thereâs no code here for sharing third party graphs. This plugin is not going to help you. Itâs purely designed to permit sites to allow users to search and recall from a list of products as grey bubbles that are links to each products page.