Highlight and share feature

AI-generated summary

The discussion is about adding a “Highlight and share” feature to Discourse forums, similar to the one on Medium and Product Hunt. kam44 proposed this idea and codinghorror initially disagreed, suggesting that sharing the URL to the post is sufficient. However, sam suggested that this feature could be useful for anonymous users who cannot quote.

It appears that the feature has since been implemented by pmusaraj and is now available in the core. It is enabled by default for anonymous users, but can be enabled for all users via the share quote visibility site setting. The feature allows users to share highlighted text on Twitter, Email, or Facebook.

jord8on noticed the feature on the Discourse Meta Community and is interested in implementing it on their own forums. pmusaraj explained that the feature is available in the tests-passed branch and can be enabled via site settings. However, it is currently disabled on mobile devices due to native share functionalities.

Hi everyone,

I was on huffingtonpost and i saw this Highlight and share button :

I think it could be a good idea to add this feature besides the quote feature.

The best will be the same share feature than medium and producthunt, which create an image of the highlighted text :

Producthunt open sourced a tool to do that – GitHub - producthunt/ShareMeow: 😻 text shots service · GitHub

5 лайков

Why? You can simply share the URL to the post. Every Discourse post and topic has OpenGraph / oEmbed tags so it will display appropriately, with an automatic excerpt. Try pasting a link to a Discourse post in Facebook or Twitter to see what I mean. Like so

This would also make quoting more confusing, and elevate the rare use case – “I need to share just this third paragraph of the post” – above the simple use case – “I need to share this post”.

At best plugin material.

3 лайка

Yes you right.

It’s just that i (many) love this on medium & PH. And it’s a good way to better interact the forum cotent on social media.

One area that I think this would not be super confusing is if it was an “anonymous” user feature, anon can not quote anyway and this would make it easier for them to “share” a quote from the forum.

That said I agree, explore this first in a plugin.

7 лайков

Извините, что воскрешаю этот старый пост, но похоже, что идея этой функции, предложенная @kam44, теперь реализована в сообществе Discourse Meta:

Я попытался найти какую-либо документацию об этой новой функции, но ничего не нашёл. Не могли бы вы подсказать, где можно почитать подробнее об этой функции, которую я только что заметил на Meta?

Мне это очень нравится, и я хотел бы видеть эту функцию и на наших форумах!

4 лайка

Это новая функция от @pmusaraj. Тема с объявлением должна появиться в ближайшее время.

3 лайка

Да, спасибо, Рафаэль, теперь это новая функция в ядре. По умолчанию она включена только для анонимных пользователей, но на вашем сайте её можно включить для всех пользователей через настройку сайта «share quote visibility»:

Обратите также внимание, что её можно включить для Twitter, Email или Facebook. Для Facebook требуется добавить идентификатор приложения в настройку сайта «facebook app id» (их API этого требует).

5 лайков

Я вижу, что эта функция теперь работает здесь на meta, по крайней мере в десктопной версии (на мобильной, правда, не получилось)… она уже доступна в бета-версии?

Да, это доступно в ветке tests-passed. Настройки сайта вы увидите на скриншоте из моего предыдущего поста.

На мобильных устройствах эта функция полностью отключена, так как и iOS, и Android имеют нативный функционал обмена при выделении текста.

4 лайка