プロジェクト

全般

プロフィール

Vote #79529

未完了

Page link embeds/Open graph

Admin Redmine さんがほぼ2年前に追加. ほぼ2年前に更新.

ステータス:
New
優先度:
通常
担当者:
-
カテゴリ:
Text formatting_26
対象バージョン:
-
開始日:
2022/05/09
期日:
進捗率:

0%

予定工数:
category_id:
26
version_id:
0
issue_org_id:
29617
author_id:
4
assigned_to_id:
0
comments:
3
status_id:
1
tracker_id:
2
plus1:
0
affected_version:
closed_on:
affected_version_id:
ステータス-->[New]

説明

I tried to search for duplicates, but couldn't find anything similar potentially proposed earlier.
It's probably a low priority feature, but I think it would be great with proper page embeds which could possibly also display a short and dynamic summary (a first paragraph of a page for instance) just like on Wikipedia, see the attachment.


journals

--------------------------------------------------------------------------------

--------------------------------------------------------------------------------
Would just like to propose a minor draft to at least get something started on this topic, something like this needs to be added after the last meta tag in base.html.erb to at least get things to embed correctly.

<pre>
<meta property="og:title" content="<%= html_title %>" />
<meta property="og:description" content="description variable which will capture summary" />
</pre>

I also noticed, if <%= html_title %> helper is called more than once somewhere, it will duplicate itself the number of times equal to the call count... is this a bug or intended behavior? !{width:20px}https://cdn.discordapp.com/emojis/501487128434311168.png!
--------------------------------------------------------------------------------


related_issues

relates,New,15333,oEmbed Support for tickets/wiki

Admin Redmine さんがほぼ2年前に更新

  • カテゴリText formatting_26 にセット

他の形式にエクスポート: Atom PDF

いいね!0
いいね!0