Widget: RSS-FeedEk-2: verschil tussen versies
Uit MediaWikiGids
(2 tussenliggende versies door dezelfde gebruiker niet weergegeven) | |||
Regel 17: | Regel 17: | ||
== Parameters == | == Parameters == | ||
* '''id''' - div id for RSS (from the URL) | * '''id''' - div id for RSS (from the URL) | ||
− | * '''feedurl''':'https://jquery-plugins.net/rss', | + | * '''feedurl''': url of the rss-feed, f.e. 'https://jquery-plugins.net/rss', |
− | * '''maxcount''' | + | * '''maxcount''' : max number of items to show (default 3), |
− | * '''showdesc''' | + | * '''showdesc''': show description (default true), |
− | * '''showpubdate''' | + | * '''showpubdate''': show the date of publication (default true), |
− | * '''desccharacterlimit''' | + | * '''desccharacterlimit''': max number of characters for the description (default 100), |
− | * '''dateformat''' | + | * '''dateformat''': formatting of date (default f) , |
− | * '''dateformatlang''' - , | + | * '''dateformatlang''': language code for date format (default nl-NL), |
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 29: | Regel 29: | ||
== Copy to your site == | == Copy to your site == | ||
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}}'''. | ||
+ | |||
+ | Source: Proprietary development | ||
+ | |||
+ | Changes to v 01: | ||
+ | *Addition of parameters | ||
+ | |||
+ | |||
+ | Versie: 2 | ||
+ | Author: [[Gebruiker:bmulckhu|Bart Mulckhuijse]] | ||
+ | |||
[[Categorie:Alle Widgets]] | [[Categorie:Alle Widgets]] | ||
</noinclude><includeonly><div id="<!--{$id|escape:'html'}-->"></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> | </noinclude><includeonly><div id="<!--{$id|escape:'html'}-->"></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> |
Huidige versie van 10 mrt 2020 om 10:36
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-2|id=... | feedurl =... | maxcount =... | showdesc =... | showpubdate =... | desccharacterlimit =... | dateformat =... | dateformatlang =... }}
Parameters
- id - div id for RSS (from the URL)
- feedurl: url of the rss-feed, f.e. 'https://jquery-plugins.net/rss',
- maxcount : max number of items to show (default 3),
- showdesc: show description (default true),
- showpubdate: show the date of publication (default true),
- desccharacterlimit: max number of characters for the description (default 100),
- dateformat: formatting of date (default f) ,
- dateformatlang: language code for date format (default nl-NL),
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-2.
Source: Proprietary development
Changes to v 01:
- Addition of parameters
Versie: 2 Author: Bart Mulckhuijse