Template Language - minor error in documentation
まだ誰も着手していません。
評価
- 難易度
- 1/5
- 見積もり時間
- 1時間未満
- 初心者へのやさしさ
- 48/100
- issue の種類
- ドキュメント
- 明瞭さ
- 明確に書かれている
- 活発さ
- 停滞
調査の方向性
Open docs/templates/language.md and find the “Changing Parsing Order” examples. Replace {content} with {item_content} throughout the examples and their explanatory text, then confirm the page matches the RSS Parser documentation. Done when the examples consistently use the documented variable.
索引モデルが issue の本文から書いたものです。
説明
Description of the problem
I noticed a minor error in the docs when looking at the provided examples on this page:
https://docs.expressionengine.com/latest/templates/language.html#changing-parsing-order
https://github.com/ExpressionEngine/ExpressionEngine-User-Guide/blob/stability/docs/templates/language.md
The examples use the {content} tag, but this should be updated to be {item_content}.
as per RSS Parser documentation: https://docs.expressionengine.com/latest/add-ons/rss-parser.html
Updated 'Examples' Section
Replace {content} with {item_content}
Examples
Here are some examples to help illustrate the parsing order.:
{exp:rss_parser url="https://ellislab.com/blog/rss-feed" limit="5" parse="inward"}
{feed_items}
<a href="{item_link}">{item_title}</a><br />
{exp:word_limit total="20"}
{!--{content}--}
{item_content}
{/exp:word_limit}<br />
{/feed_items}
{/exp:rss_parser}
With the above, the RSS plugin will be parsed first. This will allow the content of the {content} variable to be available to the other, nested plugin: "word_limit".
Here is a much more complicated example that demonstrates both parsing orders in action.:
{exp:rss_parser url="https://ellislab.com/blog/rss-feed" limit="5" parse="inward"}
<ul>
{feed_items}
<li><a href="{item_link}">{item_title}</a><br />
{exp:word_limit total="35"}
{exp:xml_encode}
{!--{content}--}
{item_content}
{/exp:xml_encode}
{/exp:word_limit}
</li>
{/feed_items}
</ul>
{/exp:rss_parser}
- 主要言語
- CSS
- スター
- 22
- フォーク
- 79
- 平均マージ
- 2日 1時間
- マージ済み PR(30日)
- 6
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートあり
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
ExpressionEngine/ExpressionEngine-User-Guide のほかの issue
-
難易度 1/5 1時間未満 初心者へのやさしさ 72/100
-
難易度 1/5 1時間未満 初心者へのやさしさ 55/100
-
難易度 2/5 1〜3時間 初心者へのやさしさ 45/100
-
難易度 1/5 1時間未満 初心者へのやさしさ 55/100
-
難易度 2/5 1〜3時間 初心者へのやさしさ 46/100
ExpressionEngine/ExpressionEngine-User-Guide の issue をすべて見る
似ている issue
-
area/docs
難易度 1/5 1時間未満 初心者へのやさしさ 83/100
Clodmony/starship-coop#72 ·
メンテナーはふだん 1 日以内に返信
-
documentation needs-triage
難易度 2/5 1〜3時間 初心者へのやさしさ 65/100
nearform/ag-grid-url-sync#315 · リアクション 1 件 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
DigitecGalaxus/next-yak#727 · リアクション 1 件 ·
-
documentation enhancement
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
メンテナーはふだん 1 日以内に返信
-
good first issue priority:low type:docs
難易度 1/5 1〜3時間 初心者へのやさしさ 95/100
crazy-goat/rabbit-stream#969 ·
メンテナーはふだん 1 日以内に返信