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 23:52] – [Configuration and Settings] 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/ | ||
Line 46: | Line 41: | ||
===== Configuration and Settings ===== | ===== Configuration and Settings ===== | ||
- | <script type=" | + | Register at www.fussball.de |
+ | Put this two lines at the bottom of the ''< | ||
- | <link rel=" | + | <script type=" |
+ | | ||
- | put this into your tpl dir | + | put this .css file into your /lib/tpl/< |
- | <file fbde.css> | + | < |
# | # | ||
# | # | ||
Line 57: | Line 54: | ||
# | # | ||
</ | </ | ||
- | ===== Development ===== | ||
- | //[downloadable blocks, development comments]// | + | and create a folder '' |
- | === Change Log === | + | <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-> | ||
+ | } | ||
- | //[preferable GitHub RSS feed or similar]// | + | |
+ | function handle($match, | ||
+ | return | ||
+ | } | ||
- | | + | function render($mode, |
+ | if($mode != ' | ||
+ | | ||
+ | |||
+ | | ||
+ | < | ||
+ | var wettbewerb0 = new fussballdeAPI(); | ||
+ | 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 83: | Line 125: | ||
//Could be placed on an external page (e.g. plugin: | //Could be placed on an external page (e.g. plugin: | ||
- | |||
- |
plugin/fbde.1370814725.txt.gz · Last modified: 2013-06-09 23:52 by 91.0.93.6