Difference between revisions of "RSS-Feeds"
(Tag: 2017 source edit) |
(Tag: Visual edit) |
The extension RSS displays RSS feeds in a wiki page.
Contents
- 1 Feedlink erstellen
- 2 Attributes
- 3 Related info
- Configuration
Feedlink erstellen[edit | edit source]
Use an RSS tag for each feed:
<rss max=4 highlight="MediaWiki BlueSpice">https://blog.bluespice.com/feed/</rss>
Attributes[edit | edit source]
The rss element can contain parameters if you provide them as attributes to the rss element:
| attribute | description |
|---|---|
template="name" |
Encodation of the feed. You need iconv for conversions |
item-max-length="1000" |
maximum lenght of text that is shown |
date="(Y-m-d H:i:s)" |
shows date and time |
max="n" |
shows at most the given number of elements |
highlight="term1 term2 ..." |
highlight selected terms in different colours |
filter="term1 term2 ..." |
show only RSS items with at least one of the terms |
filterout="term1 term2 ..." |
do not show any RSS item containing any of these terms |
reverse |
display the RSS items in reverse order |
Related info
Configuration[edit | edit source]
Allowed URLs have to be defined in the configuration manager:
- URL whitelist: RSS feeds need to be whitelisted here by an administrator before they can be displayed in a wiki page.
- Maximum number of allowed redirects: If there are URL redirects for any of the whitelisted URLs, the number of redirects needs to be adjusted (usually to 1 or 2).
{{DISPLAYTITLE:Adding RSS feeds to a page}}
The extension '''RSS''' displays RSS feeds in a wiki page.
==Feedlink erstellen==
Use an RSS tag for each feed:
<pre><rss max=4 highlight="MediaWiki BlueSpice">https://blog.bluespice.com/feed/</rss></pre>
==Attributes==
The rss element can contain parameters if you provide them as attributes to the rss element:
{| class="contenttable" border="0"
|-
!|'''attribute'''
!|'''description'''
|-
||'''<code>template="<em>name</em>"</code>'''
||Encodation of the feed. You need iconv for conversions
|-
||<code>item-max-length="<em>1000</em>"</code>
||maximum lenght of text that is shown
|-
||'''<code>date="<em>(Y-m-d H:i:s)</em>"</code>'''
||shows date and time
|-
||'''<code>max="<em>n</em>"</code>'''
||shows at most the given number of elements
|-
||'''<code>highlight="<em>term1 term2 ...</em>"</code>'''
||highlight selected terms in different colours
|-
||'''<code>filter="<em>term1 term2 ...</em>"</code>'''
||show only RSS items with at least one of the terms
|-
||'''<code>filterout="<em>term1 term2 ...</em>"</code>'''
||do not show any RSS item containing any of these terms
|-
||'''<code>reverse</code>'''
||display the RSS items in reverse order
|}
{{Box_Links-en | Topic1 =[[Reference:RSS]] | Topic2 =[[Reference:BlueSpiceRSSFeeder]] ==Configuration==
Allowed URLs have to be defined in the [[Manual:Extension/BlueSpiceConfigManager|configuration manager]]:
<br />{{#dpl: title=Manual:Extension/BlueSpiceConfigManager|include=#BlueSpiceRSSFeeder}}
[[Category:BlueSpice_free]]
[[Category:Extension]]
[[de:{{FULLPAGENAME}}]]
[[en:{{FULLPAGENAME}}]]
__FORCETOC__| Line 42: | Line 42: | ||
| − | + | ==Configuration== | |
| + | Allowed URLs have to be defined in the [[Manual:Extension/BlueSpiceConfigManager|configuration manager]]: | ||
| + | <br />{{#dpl: title=Manual:Extension/BlueSpiceConfigManager|include=#BlueSpiceRSSFeeder}} | ||
[[Category:BlueSpice_free]] | [[Category:BlueSpice_free]] | ||