You are viewing an old version of this page. Return to the latest version.
Difference between revisions of "RSS-Feeds"
(Tag: Visual edit) |
(Tag: 2017 source edit) |
The extension RSS displays RSS feeds in a wiki page.
Contents
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 |
Example[edit | edit source]
<rss max=4 highlight="MediaWiki BlueSpice">https://blog.bluespice.com/feed/</rss>
Related info
{{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
|}
==Example==
<pre><rss max=4 highlight="MediaWiki BlueSpice">https://blog.bluespice.com/feed/</rss></pre>
{{Box_Links-en | Topic1 =[[Reference:RSS]] | Topic2 =[[Reference:BlueSpiceRSSFeeder]] }}
[[Category:BlueSpice_free]]
[[Category:Extension]]
[[de:{{FULLPAGENAME}}]]
[[en:{{FULLPAGENAME}}]]
__FORCETOC__| Line 41: | Line 41: | ||
|} | |} | ||
| − | |||
| − | |||
{{Box_Links-en | Topic1 =[[Reference:RSS]] | Topic2 =[[Reference:BlueSpiceRSSFeeder]] }} | {{Box_Links-en | Topic1 =[[Reference:RSS]] | Topic2 =[[Reference:BlueSpiceRSSFeeder]] }} | ||