DokuWiki

It's better when it's simple

User Tools

Site Tools


plugin:metaheaders

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:metaheaders [2012-04-30 19:53] – Update repository URL Andreasplugin:metaheaders [2023-09-05 07:25] (current) – [MetaHeaders Plugin] version fix s-sahara
Line 1: Line 1:
-====== Plugin MetaHeaders ======+====== MetaHeaders Plugin ======
  
 ---- plugin ---- ---- plugin ----
-description: Lets you add/remove meta headers dynamically. +description: Lets you add/remove meta headers dynamically 
-author     : Andreas Haerter (previous author: Michael Klier) +author     : ARSAVA 
-email      : development@andreas-haerter.com+email      : dokuwiki@dev.arsava.com
 type       : action type       : action
-lastupdate : 2012-03-07 +lastupdate : 2020-08-05 
-compatible : 2009-12-25 "Lemming"2010-11-07 "Anteater", 2011-05-25 "Rincewind"2012-01-25 "Angua"+compatible : 2020-07-292022-07-312023-04-04
 depends    :  depends    : 
 conflicts  conflicts 
-similar    :  +similar    : meta 
-tags       : meta htmlheaders +tags       : htmlheaders, meta 
-downloadurl: http://andreas-haerter.com/downloads/dokuwiki-plugin-metaheaders/latest +downloadurl: https://github.com/arsava/dokuwiki-plugin-metaheaders/archive/master.zip 
-bugtracker : http://www.dokuwiki.org/plugin:metaheaders:discussion#bugs +bugtracker : https://github.com/arsava/dokuwiki-plugin-metaheaders/issues 
-sourcerepo : https://github.com/bitkollektiv/dokuwiki-plugin-metaheaders/ +sourcerepo : https://github.com/arsava/dokuwiki-plugin-metaheaders/ 
-donationurl: http://andreas-haerter.com/donate/dokuwiki-plugin-metaheaders+donationurl: https://donate.arsava.com/dokuwiki-plugin-metaheaders/
 ---- ----
  
 +===== About =====
  
-This plugin allows to add/remove [[wp>Meta_element|meta headers]] dynamically to your Wiki pages.+"MetaHeaders" allows to add/remove [[wp>Meta_element|meta headers]] dynamically to your Wiki pages
 + 
 +  * Maintainer: [[https://dev.arsava.com/|ARSAVA]] ([[https://andreashaerter.com/|Andreas Haerter]]) 
 +  * Contact: See "[[#support|Support]]" and "[[#contact|Contact]]".
  
  
 ===== Installation ===== ===== Installation =====
  
-Install the plugin using the [[plugin:plugin|Plugin Manager]] and the download URL above, which points to latest version of the plugin. Refer to [[:Plugins]] on how to install plugins manually.+Search and install the plugin using the [[plugin:extension|Extension Manager]]. Refer to [[:Plugins]] on how to install plugins manually.
  
  
 === Repository (for developers) ===  === Repository (for developers) === 
-The source code of this plugin is available as [[https://github.com/bitkollektiv/dokuwiki-plugin-metaheaders/tree/master|Git repository]].+ 
 +The source code of this plugin is available as [[https://github.com/arsava/dokuwiki-plugin-metaheaders/tree/master|Git repository]]. 
  
 === Verify download (for geeks) === === Verify download (for geeks) ===
-See ''[[http://cloud.github.com/downloads/andreashaerter/dokuwiki-plugin-metaheaders/CHECKSUMS.asc|CHECKSUMS.asc]]'' for MD5, SHA-1 and SHA-256 checksums. The file is signed with my GnuPG/PGP key (''[[http://andreas-haerter.com/contact/gpg-public-key|0x423B2839]]''). You can use ''<nowiki>gpg --verify ./CHECKSUMS.asc</nowiki>'' to check/validate it. 
  
 +See ''[[https://andreashaerter.com/tmp/downloads/dokuwiki-plugin-metaheaders/CHECKSUMS.asc|CHECKSUMS.asc]]'' for MD5, SHA-1 and SHA-256 checksums. The file is signed with the GnuPG/PGP key (''[[https://andreashaerter.com/contact/gpg-public-key|0x423B2839]]''). You can use ''<nowiki>gpg --verify ./CHECKSUMS.asc</nowiki>'' to check/validate it.
 +
 +
 +===== Support =====
 +
 +If you need help:
 +  * Check the [[#faq|FAQ]].
 +  * Check the [[https://github.com/arsava/dokuwiki-plugin-metaheaders#readme|README]].
 +  * Use [[http://search.dokuwiki.org]] to find useful information.
 +
 +If you found nothing helpful, ask your question at the [[https://forum.dokuwiki.org/|DokuWiki forum]] (preferred) or [[:irc|IRC channel]].
 +
 +
 +===== Contact =====
 +
 +If you think you have found a bug or have a useful idea (a.k.a. "feature request"), [[https://github.com/arsava/dokuwiki-plugin-metaheaders/issues|create an issue]] on GitHub (preferred), or contact us by [[dokuwiki@dev.arsava.com|mail]].
 +
 +Feel free to submit patches as GitHub pull requests (preferred) or by mail as well. However, please try to respect the [[:devel:coding_style|DokuWiki coding style]] as this plugin follows its rules.
  
  
 ===== Update ===== ===== Update =====
-Just install the newest version of this plugin over the existing one. If you got any problems, remove the plugin an re-install it. The configuration file holding your data and the plugin itself are stored separately. This means you can remove/update/re-install this plugin without loosing your config data. 
  
 +Simply install the newest version over the existing one. If you got any problems, remove the plugin and re-install it. The configuration file holding your data and the plugin itself are stored separately. This means you can remove, update or re-install this plugin without loosing your MetaHeaders config data.
  
  
 ===== Usage ===== ===== Usage =====
 +
 ^ At the moment, there is no graphical interface available to modify the configuration of this plugin. For now you have to edit the configuration file with an UTF-8 capable text editor of your choice. ^ ^ At the moment, there is no graphical interface available to modify the configuration of this plugin. For now you have to edit the configuration file with an UTF-8 capable text editor of your choice. ^
  
Line 47: Line 71:
  
 ==== Removing Meta Headers ==== ==== Removing Meta Headers ====
 +
 To remove some headers, for example if you like to replace them with your own (like RSS feeds for example) you have to use the ''$clear'' array. Each array item will be matched against the used metaheaders, only if all "keywords" match the header is removed from the output. To remove some headers, for example if you like to replace them with your own (like RSS feeds for example) you have to use the ''$clear'' array. Each array item will be matched against the used metaheaders, only if all "keywords" match the header is removed from the output.
  
Line 66: Line 91:
 $clear[] = array ('type' => 'application/rss+xml', 'cond' => '^blog:*'); $clear[] = array ('type' => 'application/rss+xml', 'cond' => '^blog:*');
 </code> </code>
 +
  
 ==== Adding Meta Headers ==== ==== Adding Meta Headers ====
 +
 The plugin uses the ''$headers'' array in the configuration for adding new meta headers. This array holds two subarrays ''link'' and ''meta'' for those two header types. The plugin uses the ''$headers'' array in the configuration for adding new meta headers. This array holds two subarrays ''link'' and ''meta'' for those two header types.
  
Line 76: Line 103:
                            'rel'   => 'alternate',                            'rel'   => 'alternate',
                            'title' => 'Blog RSS',                            'title' => 'Blog RSS',
-                           'href'  => 'http://feeds.feedburner.com/blog_feed');+                           'href'  => 'https://feeds.feedburner.com/blog_feed');
 </code> </code>
  
Line 85: Line 112:
                            'rel'   => 'alternate',                            'rel'   => 'alternate',
                            'title' => 'Blog RSS',                            'title' => 'Blog RSS',
-                           'href'  => 'http://feeds.feedburner.com/blog_feed',+                           'href'  => 'https://feeds.feedburner.com/blog_feed',
                            'cond'  => '^blog:*');                            'cond'  => '^blog:*');
 </code> </code>
Line 122: Line 149:
 $headers['meta'][] = array ('name' => 'description', 'content' => '@ABSTRACT@'); $headers['meta'][] = array ('name' => 'description', 'content' => '@ABSTRACT@');
 </code> </code>
- 
  
  
Line 128: Line 154:
  
 ==== How can I check which version is currently installed? ==== ==== How can I check which version is currently installed? ====
-Simply have a look at ''/lib/plugin/metaheaders/VERSION''. This is a textfile containing the version you are using (e.g. ''2012-03-07''). Or have a look at [[plugin:plugin#display_plugin_details|DokuWiki's plugin manager]]. 
  
 +Simply have a look at ''/lib/plugin/metaheaders/VERSION''. This is a textfile containing the version you are using (e.g. ''2012-03-07''). Or have a look at the [[plugin:extension|Extension manager]].
  
  
-===== Discussions, comments and questions ===== +===== Version history =====
-Please refer to the [[plugin:metaheaders:discussion|discussion]] page. +
  
 +Older releases are no longer recommended for usage and are listed for reference only.
  
 +^  MetaHeaders version  ^  Download                                                                                                      ^  Designed for and tested on DokuWiki             ^ Comment  ^
 +|  ''2014-02-09''       | [[https://andreashaerter.com/tmp/downloads/dokuwiki-plugin-metaheaders/2014-02-09_metaheaders.tar.gz|Release]] |  2013-12-08 "Binky",\\ 2012-10-13 "Adora Belle"  | No functional changes, just some minor doc and coding style updates. |
 +|  ''2012-03-07''       | [[https://andreashaerter.com/tmp/downloads/dokuwiki-plugin-metaheaders/2012-03-07_metaheaders.tar.gz|Release]] |  2012-01-25 "Angua",\\ 2011-05-25b "Rincewind"   | No functional changes, just some minor doc and coding style updates. |
 +|  ''Pre 2012-03-07''   | ---                                                                                                            |  ≤ 2010-11-07a "Anteater"                        | All older versions were maintained and developed by [[http://m-klier.de/|Michael Klier]]. There will be no more support for them, please follow the [[#update|update instructions]] to get a supported version. |
  
-===== Changelog ===== 
-A complete changelog is available [[https://github.com/bitkollektiv/dokuwiki-plugin-metaheaders/commits/|here]]. 
- 
-{{rss>https://github.com/feeds/andreashaerter/commits/dokuwiki-plugin-metaheaders/master 10 1d}} 
- 
- 
- 
-===== Development Roadmap ===== 
- 
-==== In development ==== 
-  * //Nothing special right now (but I will fix reported bugs, for sure!)// --- [[user>Andreas]] //2012/03/08 20:43// 
- 
-==== Planned ==== 
-  * GUI to make configuration easier -- patches welcome. --- [[user>Andreas]] //2012/03/08 20:43// 
  
 ==== Latest changes ==== ==== Latest changes ====
-{{rss>https://github.com/bitkollektiv/dokuwiki-plugin-metaheaders/commits/master.atom date}} 
- 
- 
- 
-===== Version history ===== 
-:!: For a complete change log, see the [[https://github.com/bitkollektiv/dokuwiki-plugin-metaheaders/commits|commits on Github]]. Older releases are no longer recommended for usage and are listed for reference only. 
- 
-^  MetaHeaders version  ^  Download                                                                                                          Designed for and tested on DokuWiki             ^ Comment  ^ 
-|  ''2012-03-07''       | [[https://github.com/downloads/andreashaerter/dokuwiki-plugin-metaheaders/2012-03-07_metaheaders.tar.gz|Release]] |  2012-01-25 "Angua",\\ 2011-05-25b "Rincewind"   | First version released by new maintainer (Andreas Haerter). No functional changes, just some minor doc and coding style updates. | 
-|  ''Pre 2012-03-07''   | ---                                                                                                                ≤ 2010-11-07a "Anteater"                        | All older versions were maintained and developed by [[http://m-klier.de/|Michael Klier]]. There will be no more support for them, please follow the [[.:metaheaders#update|update instructions]] to get a supported version. | 
  
 +For a complete change log, see the [[https://github.com/arsava/dokuwiki-plugin-metaheaders/commits|commits on GitHub]].
  
 +{{rss>https://github.com/arsava/dokuwiki-plugin-metaheaders/commits/master.atom date}}
  
plugin/metaheaders.1335808412.txt.gz · Last modified: 2012-04-30 19:53 by Andreas

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