DokuWiki

It's better when it's simple

User Tools

Site Tools


plugin:description

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
plugin:description [2011-08-28 19:38] – [Usage] lupo49plugin:description [2023-10-30 23:47] (current) Klap-in
Line 1: Line 1:
-====== description plugin ======+====== Description Plugin ======
  
 ---- plugin ---- ---- plugin ----
-description: Copies a page's abstract, a global description or individual text to a meta header line that is visible in the page source.+description: Copies a page's abstract, a global descriptionor individual text to a meta header line that is visible in the page source.
 author     : Ikuo Obataya, Matthias Schulte author     : Ikuo Obataya, Matthias Schulte
-email      : mailinglist@lupo49.de+email      : dokuwiki@lupo49.de
 type       : action type       : action
-lastupdate : 2011-08-27 +lastupdate : 2012-07-02 
-compatible : 2009-12-252010-11-07rincewind+compatible : LemmingAnteater, Rincewind, Angua, Adora Belle, Weatherwax, Binky, Ponder StibbonsHrun
 depends    :  depends    : 
 conflicts  conflicts 
-similar    : meta,keywords +similar    : keywords, meta, metaheaders, combo 
-tags       : meta+tags       : meta, seo 
 +securitywarning: This plugin does not respect ACL, see https://github.com/lupo49/plugin-description/issues/6
  
-downloadurl: http://github.com/lupo49/plugin-description/tarball/master +downloadurl: https://github.com/lupo49/plugin-description/tarball/master 
-sourcerepohttp://github.com/lupo49/plugin-description +bugtracker https://github.com/lupo49/plugin-description/issues 
-bugtrackerhttp://github.com/lupo49/plugin-description/issues+sourcerepo https://github.com/lupo49/plugin-description
 ---- ----
  
-^Download  |[[http://github.com/lupo49/plugin-description/tarball/master|Download]] |+===== Security ===== 
 +This plugin does not respect ACL, it could leak sensitive data through the login page, see  
 + https://github.com/lupo49/plugin-description/issues/6
  
 ===== Usage ===== ===== Usage =====
Line 26: Line 29:
   * Configuration option "keyword_source"   * Configuration option "keyword_source"
     * Value "abstract"     * Value "abstract"
-      * The meta headers are automatically filled with abstract of the page of the DokuWiki metadata system+      * The meta headers are automatically filled with an abstract of the page of the DokuWiki metadata system
     * Value "global"     * Value "global"
       * A global value (specified with the configuration option "global_description") is used on every page       * A global value (specified with the configuration option "global_description") is used on every page
     * Value "syntax"     * Value "syntax"
-      * The keywords can be individual specified for each page+      * The keywords can be individually specified for each page
  
  
Line 40: Line 43:
 {{description>Place the page description here}} {{description>Place the page description here}}
 </code> </code>
- 
  
  
Line 47: Line 49:
 <code> <code>
 ... ...
-<meta name="description" content="This DokuWiki plugin append an abstract of a page for a meta header. This functionality is applied to all pages by installing the plugin. +<meta name="description" content="This DokuWiki plugin appends an abstract of a page for a meta header. This functionality is applied to all pages by installing the plugin. 
 The appended meta headers of this page is like this.    ... &lt;meta name=&quot;description&quot; content=&quot;This DokuWiki plugin append an abstract of a page for a meta header.  The appended meta headers of this page is like this.    ... &lt;meta name=&quot;description&quot; content=&quot;This DokuWiki plugin append an abstract of a page for a meta header. 
-This functionality is applied to all pages by installing the plugin. ExampleA meta headers of this page is like this.&quot; /&gt; ..." />+This functionality is applied to all pages by installing the plugin. Example meta headers of this page is like this.&quot; /&gt; ..." />
 ... ...
 </code> </code>
  
-=====Discussion===== 
  
-> 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:meta]] plugin, see description->abstract element. But changing it probably will change RSS feed output if you use abstract mode of RSS. --- //[[mail@mplicka.cz|Martin Plicka]] 2008/09/08 09:46//+===== 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:meta]] plugin, see description->abstract element. But changing it probably will change RSS feed output if you use abstract mode of RSS. --- //[[mail@mplicka.cz|Martin Plicka]] 2008/09/08 09:46//
  
 \\ \\
Line 102: Line 105:
 If you like it, you can use it :)  --- [[user>flam]] //2010/12/28 19:00// If you like it, you can use it :)  --- [[user>flam]] //2010/12/28 19:00//
  
->I'm using this plugin also with Keywords plugin. The abstract is actually not created from the beginning of the page but it takes all words marked with BOLD at my page www.riversedge.pl. Why? Any chances to fix it?  --- [[user>V-12]] //2011/08/18 10:54// +>I'm using this plugin also with the Keywords plugin. The abstract is actually not created from the beginning of the page but it takes all words marked with BOLD on my page www.riversedge.pl. Why? Any chances to fix it?  --- [[user>V-12]] //2011/08/18 10:54// 
->> Edit: The abstract ignores Styled text except Bold text. Any chances to have this plugin working like Keywords plugin where I can manually write description for single page? --- [[user>V-12]] //2011/08/25 18:41//+>> 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 single page? --- [[user>V-12]] //2011/08/25 18:41// 
 +>>>The syntax configuration option allows it.  --- [[user>lupo49|M. S.]] //2012/07/01 19:35//
  
 +seems pagelist cannot pick up the output of this plugin in Weatherwax[[user>harald]]
  
 +> Would be practical if syntax could override an abstract or global default description. [[user>molefunk]]
plugin/description.1314553096.txt.gz · Last modified: 2011-08-28 19:38 by lupo49

Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution-Share Alike 4.0 International
CC Attribution-Share Alike 4.0 International Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki