plugin:description
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
plugin:description [2011-08-25 18:41] – [Discussion] V-12 | plugin:description [2023-10-30 23:47] (current) – Klap-in | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== | + | ====== |
---- plugin ---- | ---- plugin ---- | ||
- | description: | + | description: |
- | author | + | author |
- | email : ikuo.obataya@gmail.com | + | email : dokuwiki@lupo49.de |
type : action | type : action | ||
- | lastupdate : 2010-11-09 | + | lastupdate : 2012-07-02 |
- | compatible : 2008-05-05 | + | compatible : Lemming, Anteater, Rincewind, Angua, Adora Belle, Weatherwax, Binky, Ponder Stibbons, Hrun |
depends | depends | ||
conflicts | conflicts | ||
- | similar | + | similar |
- | tags : meta | + | tags : meta, seo |
+ | securitywarning: | ||
- | downloadurl: | + | downloadurl: |
+ | bugtracker : https:// | ||
+ | sourcerepo : https:// | ||
---- | ---- | ||
- | ^Download | + | ===== Security ===== |
+ | This plugin does not respect ACL, it could leak sensitive data through the login page, see | ||
+ | https://github.com/ | ||
+ | ===== Usage ===== | ||
+ | There are three alternative methods to specify the meta header keywords: | ||
- | This DokuWiki plugin append | + | * Configuration option " |
+ | * Value " | ||
+ | * The meta headers are automatically filled with an abstract of the page of the DokuWiki metadata system | ||
+ | * Value " | ||
+ | * A global value (specified with the configuration option " | ||
+ | * Value " | ||
+ | * The keywords can be individually specified for each page | ||
- | =====Example===== | + | == Syntax == |
- | The appended meta header of the [[http:// | + | |
+ | (If configuration is set to " | ||
+ | |||
+ | < | ||
+ | {{description> | ||
+ | </ | ||
+ | |||
+ | |||
+ | ===== Example ===== | ||
< | < | ||
... | ... | ||
- | <meta name=" | + | <meta name=" |
+ | The appended meta headers of this page is like this. ... & | ||
+ | This functionality is applied to all pages by installing the plugin. | ||
... | ... | ||
</ | </ | ||
- | =====Discussion===== | ||
- | This looks like just the feature what I want. But how do I use it? I installed the plugin and I guess I was expecting an admin menu item or a Configuration section to allow me to enter the text I wanted. I can't see either of those. I can't work out how it get it going - Thanks. Chris 8Sep08 | ||
- | > This plugin only copies abstract created by DokuWiki (e.g. for RSS feed) to meta headers. The abstract is created from the beginning of the page. To alter it, you can use [[plugin: | ||
- | Broken link for download was fixed. --- [[user> | + | ===== Discussion ===== |
+ | |||
+ | > This plugin only copies an abstract created by DokuWiki (e.g. for RSS feed) to meta headers. The abstract is created from the beginning of the page. To alter it, you can use [[plugin: | ||
+ | |||
+ | \\ | ||
- | I modified the description function to make it more search engine friendly (max. 150 chars / max 30 words): | + | I modified the description function to make it more search engine friendly (max. 150 chars / max 30 words). |
+ | New: Checks if DOKU_MEDIADETAIL is set so no duplicate description tags will be generated for media detail view. | ||
<code php> | <code php> | ||
function description(& | function description(& | ||
Line 72: | Line 97: | ||
} | } | ||
// END SEO Changes | // END SEO Changes | ||
- | $m = array(" | + | $m = array(" |
+ | if(!defined(' | ||
$event-> | $event-> | ||
+ | } | ||
} | } | ||
</ | </ | ||
If you like it, you can use it :) --- [[user> | If you like it, you can use it :) --- [[user> | ||
- | Another problem: | + | > |
+ | >> Edit: The abstract ignores styled text except bold text. Any chances to have this plugin working like the Keywords plugin where I can manually write description for a single page? --- [[user> | ||
+ | >>> | ||
- | I'm using this plugin | + | seems pagelist cannot pick up the output of this plugin |
- | Edit: The abstract | + | > Would be practical if syntax could override an abstract |
plugin/description.1314290482.txt.gz · Last modified: 2011-08-25 18:41 by V-12