Fix output of html description in icalendar format
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 初心者へのやさしさ
- 48/100
- issue の種類
- バグ
- 明瞭さ
- おおむね明確
- 活発さ
- 静か
- 技術スタック
- javascript
調査の方向性
公開カレンダーの DAV エクスポート URL から始め、その VEVENT DESCRIPTION を、提供されたサンプル ICS ファイルおよびリンクされた iCalendar 仕様と比較します。DESCRIPTION に読みやすいプレーンテキストが含まれ、HTML が 1 つ以上のサポート対象の代替プロパティに保持され、Thunderbird などのクライアントを壊さない状態になれば、作業は完了です。
索引モデルが issue の本文から書いたものです。
説明
When viewing a calendar in iCal format via a link such as "https://.../remote.php/dav/public-calendars/...?export" the DESCRIPTION property for the VEVENT objects contains html formatted text. But as the property is meant to contain plain text, clients such as Mozilla Thunderbird show the html encoding of text which makes the text look very mangled for a user. There seem to be some ways of adding html versions of the description:
- In the
X-ALT-DESCproperty, which appear to be the first way, as supported by Microsoft's outlook/exchange (I haven't tested that) and eM Client - description (near bottom), spec, example - In the
ALTREPparameter on the DESCRIPTION property as supported by e.g. Thunderbird (though only when used with data-urls -- which also seems to be easiest) - implementation of detection (note that in data-urls spaces should be encoded as%20not+, spec, example - In the
STYLED-DESCRIPTIONproperty which doesn't seem to be well supported but seem most "clean" - spec
Could you please add the html text to one or more of these properties/parameters (ie. X-ALT-DESC and ALTREP, while there is probably no need for STYLED-DESCRIPTION) and put a plain text version in the description field (ideally something akin to a markdown encoding such that links will appear in the text (maybe using a library like this that can convert html to markdown and strip unsupported tags).
This sample file contains an event recurring on Mondays with a html description encoded in all three ways, in addition to html in the description to check how that is handled (remove .txt extension to test in your client).
- 主要言語
- JavaScript
- スター
- 710
- フォーク
- 125
- 平均マージ
- 19時間 37分
- マージ済み PR(30日)
- 12
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートなし
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
nextcloud/tasks のほかの issue
-
enhancement
難易度 1/5 1時間未満 初心者へのやさしさ 84/100
メンテナーはふだん 1 日以内に返信
-
enhancement
難易度 2/5 1〜3時間 初心者へのやさしさ 70/100
nextcloud/tasks#3240 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
nextcloud/tasks#3111 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
feature
難易度 2/5 1〜3時間 初心者へのやさしさ 65/100
nextcloud/tasks#122 · コメント 9 件 · リアクション 25 件 ·
メンテナーはふだん 1 日以内に返信
-
1. to develop
難易度 5/5 1週間以上 初心者へのやさしさ 39/100
メンテナーはふだん 1 日以内に返信
nextcloud/tasks の issue をすべて見る
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
メンテナーはふだん 1 日以内に返信
-
難易度 1/5 1時間未満 初心者へのやさしさ 88/100
-
難易度 2/5 1〜3時間 初心者へのやさしさ 66/100
remotion-dev/remotion#13341 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 70/100
svix/svix-webhooks#2808 ·
メンテナーはふだん 1 日以内に返信
-
enhancement should-have ux
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100