plugin:fbde
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
plugin:fbde [2013-06-09 22:31] – [Examples/Usage] 91.0.93.6 | plugin:fbde [2021-03-05 00:41] (current) – Klap-in | ||
---|---|---|---|
Line 1: | Line 1: | ||
====== fbde Plugin ====== | ====== fbde Plugin ====== | ||
- | include | + | Includes a match table from fussball.de |
---- plugin ---- | ---- plugin ---- | ||
Line 9: | Line 9: | ||
type : syntax | type : syntax | ||
lastupdate : 2013-06-09 | lastupdate : 2013-06-09 | ||
- | compatible : weatherwax | + | compatible : Weatherwax |
- | depends | + | depends |
- | conflicts | + | conflicts |
- | similar | + | similar |
tags : football, soccer, fussball, fussball.de, | tags : football, soccer, fussball, fussball.de, | ||
- | downloadurl: | + | downloadurl: |
- | bugtracker : # eg. http:// | + | bugtracker : # eg. https:// |
- | sourcerepo : # eg. http:// | + | sourcerepo : # eg. https:// |
donationurl: | donationurl: | ||
Line 23: | Line 23: | ||
---- | ---- | ||
- | //:!: This template contains various hints on how to fill in data (formatted in italics). Be sure to remove the hints and unwanted sections (Eg. the Syntax/Example section for non-syntax plugins.// | + | |
+ | Screenshot: [[http://www.bv09.de/_media/ | ||
===== Installation ===== | ===== Installation ===== | ||
- | |||
- | //[First, last and only chance to warn users before installing (some has already done that before reading this)]// | ||
:!: **External requirements: | :!: **External requirements: | ||
- | * [[A banana]] | + | * Account |
- | * [[Another banana]] | + | |
- | + | ||
- | Install the plugin using the [[plugin: | + | |
===== Examples/ | ===== Examples/ | ||
- | + | Season 12/13 Oberliga Baden-Württemberg | |
- | <fbde|SAISON|ID> | + | <fbde|1213|890005> |
===== Syntax ===== | ===== Syntax ===== | ||
- | |||
- | //[Complete syntax]// | ||
Basic syntax: | Basic syntax: | ||
- | < | + | < |
- | * **action** can be one of this: | + | |
- | * // | + | |
- | * //history// --- old revisions | + | |
===== Configuration and Settings ===== | ===== Configuration and Settings ===== | ||
- | //[also CSS style tips]// | + | Register at www.fussball.de and get your personal key to access the data. |
+ | Put this two lines at the bottom of the ''< | ||
- | ===== Development ===== | + | <script type=" |
+ | <link rel=" | ||
- | //[downloadable blocks, development comments]// | + | put this .css file into your /lib/tpl/< |
+ | <file css fbde.css> | ||
+ | # | ||
+ | # | ||
+ | # | ||
+ | # | ||
+ | </ | ||
- | === Change Log === | + | and create a folder '' |
+ | |||
+ | <file php syntax.php> | ||
+ | <?php | ||
+ | /** | ||
+ | * Plugin fbde: Displays match tables from fussball.de" | ||
+ | * | ||
+ | * Syntax: < | ||
+ | * | ||
+ | * @license | ||
+ | * @author | ||
+ | */ | ||
+ | |||
+ | if(!defined(' | ||
+ | |||
+ | class syntax_plugin_fbde extends DokuWiki_Syntax_Plugin { | ||
+ | |||
+ | function getType() { return ' | ||
+ | function getPType(){ return ' | ||
+ | function getSort() { return 999; } | ||
+ | |||
+ | /*search for pattern*/ | ||
+ | function connectTo($mode) { | ||
+ | $this-> | ||
+ | } | ||
+ | |||
+ | /*what to do with pattern*/ | ||
+ | function handle($match, | ||
+ | return | ||
+ | } | ||
+ | |||
+ | function render($mode, | ||
+ | if($mode != ' | ||
+ | | ||
+ | |||
+ | | ||
+ | < | ||
+ | var wettbewerb0 | ||
+ | wettbewerb0.setzeSaison('" | ||
+ | | ||
+ | wettbewerb0.zeigeTabelle(' | ||
+ | </ | ||
+ | return true; | ||
+ | |||
+ | |||
+ | } | ||
+ | } | ||
+ | </ | ||
- | // | ||
- | | + | === Change Log === |
+ | |||
+ | | ||
* Initial release | * Initial release | ||
=== Known Bugs and Issues === | === Known Bugs and Issues === | ||
- | //[this section might not be needed in case of external bug manager, or use RSS feed]// | + | Not the nicest plugin design, but it's my first plugin and I don't have internal knowledge and understanding of the dokuwiki code yet |
=== ToDo/Wish List === | === ToDo/Wish List === | ||
- | // | + | * downloadable |
===== FAQ ===== | ===== FAQ ===== | ||
Line 79: | Line 125: | ||
//Could be placed on an external page (e.g. plugin: | //Could be placed on an external page (e.g. plugin: | ||
- | |||
- |
plugin/fbde.1370809915.txt.gz · Last modified: 2013-06-09 22:31 by 91.0.93.6