Widget: RSS-FeedEk-1: verschil tussen versies

Uit MediaWikiGids
Ga naar: navigatie, zoeken
(Using this widget)
 
(3 tussenliggende versies door dezelfde gebruiker niet weergegeven)
Regel 5: Regel 5:
 
To insert this widget, use the following code:
 
To insert this widget, use the following code:
  
   <nowiki>{{#widget:</nowiki>{{PAGENAME}}<nowiki>|id=...
+
   <nowiki>{{#widget:</nowiki>{{PAGENAME}}<nowiki>}}</nowiki>
| feedurl =...
 
| maxcount =...
 
| showdesc =...
 
| showpubdate =...
 
| desccharacterlimit =...
 
| dateformat =...
 
| dateformatlang =...
 
}}</nowiki>
 
  
 
== Parameters ==
 
== Parameters ==
* '''id''' - div id for RSS (from the URL)
+
 
* '''feedurl''':'https://jquery-plugins.net/rss',
+
None; see [[Widget:RSS-FeedEk-2]] for widget with parameters.
* '''maxcount''' - ,
 
* '''showdesc''' - ,
 
* '''showpubdate''' - ,
 
* '''desccharacterlimit''' - ,
 
* '''dateformat''' - ,
 
* '''dateformatlang''' - ,
 
  
 
For more information on how to use this widget, see [https://www.jquery-plugins.net/FeedEK/FeedEk.html FeedEk homepage].
 
For more information on how to use this widget, see [https://www.jquery-plugins.net/FeedEK/FeedEk.html FeedEk homepage].
Regel 30: Regel 16:
 
To use this widget on your site, just install the [http://www.mediawiki.org/wiki/Extension:Widgets MediaWiki Widgets extension] and the copy [{{fullurl:{{FULLPAGENAME}}|action=edit}} full source code] of this page to your wiki, as an article called '''{{FULLPAGENAME}}'''.
 
To use this widget on your site, just install the [http://www.mediawiki.org/wiki/Extension:Widgets MediaWiki Widgets extension] and the copy [{{fullurl:{{FULLPAGENAME}}|action=edit}} full source code] of this page to your wiki, as an article called '''{{FULLPAGENAME}}'''.
 
[[Categorie:Alle Widgets]]
 
[[Categorie:Alle Widgets]]
</noinclude><includeonly><div id="divRss"></div><script src="https://cdnjs.cloudflare.com/ajax/libs/FeedEk/3.1.1/js/FeedEk.js" integrity="sha256-HMsjV7j7AdK/LOsL2So1xXdyJAlX3YuG7UM5kcYkqmE=" crossorigin="anonymous"></script>
+
</noinclude><includeonly><div id="divRss"></div><script src="https://code.jquery.com/jquery-1.9.1.min.js"></script><script src="https://cdnjs.cloudflare.com/ajax/libs/FeedEk/3.1.1/js/FeedEk.js" integrity="sha256-HMsjV7j7AdK/LOsL2So1xXdyJAlX3YuG7UM5kcYkqmE=" crossorigin="anonymous"></script>
 
<script>$('#divRss').FeedEk({
 
<script>$('#divRss').FeedEk({
FeedUrl:'https://jquery-plugins.net/rss',
+
FeedUrl:'https://www.theaterkrant.nl/category/nieuwslabels/nieuws/feed/',
 
MaxCount: 3,
 
MaxCount: 3,
 
ShowDesc: true,
 
ShowDesc: true,

Huidige versie van 12 feb 2020 om 17:53

This widget allows you to add a RSS-feed with FeekEk js-library to your wiki page.

Using this widget

To insert this widget, use the following code:

 {{#widget:RSS-FeedEk-1}}

Parameters

None; see Widget:RSS-FeedEk-2 for widget with parameters.

For more information on how to use this widget, see FeedEk homepage.

Copy to your site

To use this widget on your site, just install the MediaWiki Widgets extension and the copy full source code of this page to your wiki, as an article called Widget:RSS-FeedEk-1.