ヘルプ
このヘルプには更新、または翻訳されていないコンテンツがあります。どなたでも翻訳にご協力いただくことができます。
原文 : w:Help:RSS
UCP移行に伴い、これまでのRSSフィード機能が廃止され、RSSPie拡張機能に移行されました。

この拡張機能は、Fandomの初期状態では有効化されています

RSS、コミュニティのトピックに関する内容を指定して埋め込み、ページを更新した際に自動で最新の情報が表示できるウェブフィードです。最新のニュースやポッドキャスト、関連ブログなど、Web上で公開されたあらゆる情報を表示したい時に便利です。

You can embed RSS feeds on a wiki using the RSSPie extension, enabled by default on all Fandom wikis. This is useful to include news about a video game, episode announcements for a TV show, or even recent changes from the wiki itself.

RSSを追加する方法[編集 | ソースを編集]

まずはフィードのURLを見つけます。通常「RSS」のボタンやフィードを表示している部分のリンクなどで見つけることができます。URLを見つけたらそのURLをアドレスバーからコピーしましょう。

RSSフィードをページに追加するための基本的なコードはこちらです。

<rss>URLをここに入力</rss>

フィードのカスタマイズ[編集 | ソースを編集]

There are a number of optional parameters you can add within the <rss> tag to customize the output:

Attribute and Default Description
itemTemplate="PageName"
Default: MediaWiki:Rss_item_template
Defines the display template for each item in the feed. PageName must be a complete page name including the namespace. See § Feed item template for more information.
max="X"
Default: 5
Shows only a certain number of items in the feed.
sort="X"
Default: newest
Sorts the feed items by "newest" or "oldest".
descriptionLength="X"
Default: 200
Truncates long descriptions to a certain number of characters.
dateFormat="X"
Default: Y/m/d H:i
Formats the date of each entry using PHP date formatting guidelines.
filterIn="example,words"
Default: empty
A list of words, separated by commas, to filter into the display. Feed items will only be shown if they contain any of these words.
filterOut="example,words"
Default: empty
A list of words, separated by commas, to filter out of the display. Feed items will be hidden if they contain any of these words. Feed items hidden by filterOut will stay hidden even if they match filterIn.

Feed item template[編集 | ソースを編集]

For advanced users, you can use the itemTemplate parameter to modify how each item is displayed in the feed. This is useful for situations where you may need to hide certain fields or rearrange them for an optimal display.

The itemTemplate parameter must point to a page that contains the template, which will substitute the following fields with the related data:

  • {{{link}}} - the URL to the feed item
  • {{{title}}} - the feed item's title
  • {{{author}}} - the author of the feed item
  • {{{date}}} - the feed item's date
  • {{{description}}} - the feed item's description

The default template, located at MediaWiki:Rss_item_template, is as follows:

<div class='rss_item'>
'''<span class='plainlinks'>[{{{link}}} {{{title}}}]</span> - {{{author}}} - <span class='date_epoch'>{{{date}}}</span>'''
: {{{description}}}
</div>

Googleフィード[編集 | ソースを編集]

This is an example of setting up an English Google RSS feed for Call of Duty news.

Google provides an easy way to create an RSS feed on its Alerts page. Simply type in the search terms for your subject and, under "Deliver to", select "RSS feed". You may need to log in to a Google account and change "How often" to "As-it-happens" to see the RSS feed option. Once you create the feed, right-click the RSS icon and select "Copy Link" to copy the link to the feed to use it on your wiki.

For example, creating an English Google RSS feed for Call of Duty news and including it on a wiki would result in the following:

<rss max="3">https://www.google.com/alerts/feeds/02664616218399659428/5058949282015925287</rss>

The best Warzone FR 5.56 loadouts - a single-fire option that can eliminate foes quickly - - 2021/04/17 19:47

Though the FR 5.56 has been in Call of Duty: Warzone since day one, it was never a popular choice due to its inaccurate burst fire mode. However, ......

Call of Duty Warzone Season 3: 'Pay to Win' Roze Skin Finally Gets a Nerf - - 2021/04/17 17:26

Season 3 of Call of Duty Warzone and Black Ops Cold War is right around the corner. The ongoing Season 2 has been a massive hit among the fans, ......

Call for Board of Regents KUDOS Award Nominations - - 2021/04/17 15:11

Located in one of America's best cities to live, work and learn, the University of Nebraska at Omaha (UNO) is Nebraska's premier metropolitan university....

コミュニティ内の情報をフィードで表示[編集 | ソースを編集]

MediaWikiではRSSフォーマット、またはAtomフォーマットによって履歴ページ特別:最近の更新特別:新しいページ特別:存在しないページへのリンクなど多くの特別ページウェブのフィードを適用し、表示することができます。この場合でもRSSのURLと拡張機能を使って、リストの一部をコミュニティのページなどに表示させることができます。To access these feeds, see Help:Feeds for more information.

For example, showing a feed of new help pages created on Community Central would result in the following:

<rss max="3">https://community.fandom.com/wiki/Special:NewPages?feed=rss&namespace=12</rss>

Help:Infoboxes/Benefits of Portable Infoboxes - FishTank - 2021/04/16 02:48

Celdrøn: Adding categories Portable Infoboxes are created for handling the most common single element of wiki pages. There are many different ways to view information from Fandom. Right now the primar...

Help:Pywikibot - Plover-Y - 2021/04/05 07:06

Plover-Y: '''Pywikibot''', or '''PWB''' is one of the common [[Help:Bots|bots]] available to users. This article will serve as a comprehensive guide for how to set up and run Pywikibot on Fandom/Game...

Help:Wiki Rules and Blocking Policy - MisterWoodhouse - 2021/02/18 03:23

MannedTooth: feels like the "my" is a leftover from a blog and shouldn't be used on an help page In order to ensure that all good intentioned contributors have the opportunity to contribute, '''effect...

関連ヘルプ[編集 | ソースを編集]

その他のヘルプとフィードバック[編集 | ソースを編集]

特に記載のない限り、コミュニティのコンテンツはCC-BY-SAライセンスの下で利用可能です。