aboutsummaryrefslogtreecommitdiff
path: root/IkiWiki/Plugin/meta.pm
Commit message (Expand)AuthorAge
...
* meta: Store "description" in pagestate for use by other plugins.•••map: Support show=description. Joey Hess2008-06-15
* Pass a destpage parameter to the sanitize hook.•••Because the search plugin needed it, also because it's one of the few plugins that didn't already have it. I also considered adding it to htmlize, but I really cannot imagine caring what the destpage is when htmlizing. (I'll probably be poven wrong later.) Joey Hess2008-06-04
* Close meta tag for redir properly.Joey Hess2008-03-21
* fix syntax errorJoey Hess2008-03-12
* Correct meta.robots attribute value->content•••This was a silly typo, sorry. <meta ...> takes an attribute content, not value. Signed-off-by: martin f. krafft <madduck@madduck.net> martin f. krafft2008-03-11
* Generate openid2 headers as well•••This causes meta.openid to also generate the openid2 headers. Signed-off-by: martin f. krafft <madduck@madduck.net> martin f. krafft2008-03-11
* Let meta.openid set X-XRDS-Location header•••Adds an optional xrds-location parameter to the openid meta handler, which allows for XRDS delegation. A good document on XRDS is http://www.windley.com/archives/2007/05/using_xrds.shtml Signed-off-by: martin f. krafft <madduck@madduck.net> martin f. krafft2008-03-11
* Add robots tag to meta plugin•••Add special handling for <meta name="robots" ...> which needs not be scrubbed as it's harmless. Signed-off-by: martin f. krafft <madduck@madduck.net> (cherry picked from commit b15d0299a7f7b147e89d8a202d6cca1c21491af2) martin f. krafft2008-03-02
* * meta: Check that the urls provided for authorurl, permalink, and openid••• are safe and can't contain javascript. Joey Hess2008-02-10
* add missing test to avoid uninitialised value when a page with metadata is re...Joey Hess2008-01-29
* * meta: Add pagespec functions to match against title, author, authorurl,••• license, and copyright. This can be used to create custom RecentChanges. * meta: To support the pagespec functions, metadata about pages has to be retained as pagestate. * Fix encoding bug when pagestate values contained spaces. Joey Hess2008-01-29
* * mdwn: When htmlizing text, if it's a single line with no newline,••• remove the enclosing paragraph and newline markdown wraps it in. This allows removing several hacks around this markdown behavior from other plugins that htmlize fragements of pages. Joey Hess2008-01-09
* don't process data metadata in scan, as it's expensive and the metadata shoul...Joey Hess2008-01-09
* * meta: Run in scan mode again (more intelligently) and re-add support for••• meta link. * Fix support for the case where metadata appears after an inline directive. This was broken in version 2.16. Joey Hess2008-01-09
* * inline: Add copyright/license info on a per-post basis to atom••• feeds if available. (rss doesn't allow such info on a per-post basis) * meta: Allow copyright/license metadata to contain arbitrary markup. Joey Hess2008-01-09
* IkiWiki/Plugin/meta.pm <redir>: Support for specifying anchors.Thomas Schwinge2007-12-22
* * meta: Drop support for "meta link", since supporting this for internal••• links required meta to be run during scan, which complicated its data storage, since it had to clear data stored during the scan pass to avoid duplicating it during the normal preprocessing pass. * If you used "meta link", you should switch to either "meta openid" (for openid delegations), or tags (for internal, invisible links). I assume that nobody really used "meta link" for external, non-openid links, since the htmlscrubber ate those. (Tell me differently and I'll consider bringing back that support.) * meta: Improved data storage. * meta: Drop the hackish filter hook that was used to clear stored data before preprocessing, this hack was ugly, and broken (cf: liw's disappearing openids). * aggregate: Convert filter hook to a needsbuild hook. Joey Hess2007-12-16
* real redir cycle detectionJoey Hess2007-12-08
* * Finally implemented a simple per-page data storage mechanism for plugins,••• via the %pagestate hash. * Use pagestate in meta to detect potential redir loops. Joey Hess2007-12-08
* wikilink fixJoey Hess2007-12-08
* drop redir loop detection code•••it won't work for incremental builds for now, relying on browsers to notice loops Joey Hess2007-12-08
* * meta: Add redir support, based on a patch by Thomas Schwinge.Joey Hess2007-12-08
* Here is a patch to add a forwarding functionality to the meta pluginThomas Schwinge2007-12-08
* bugfixesjoey2007-09-15
* if an inlined page has the same copyright or license as the page it's•••inlined into, don't display them twice joey2007-09-14
* * meta: Support license and copyright information. The information will••• be shown in the page footer. HTML will also be inserted that should support the rel=license microformat as well as the HTML spec's rel=copyright. joey2007-09-14
* * Fix links to alternate stylesheets when usedirs is enabled.•••* Use type= not style= in html for alternate stylesheets, which is more correct (but in my testing both epiphany and iceweasel work ok with style=text/css). joey2007-07-13
* * Fix links to stylesheets when usedirs is enabled.joey2007-07-13
* * More consistent encoding of titles in rss and atom feeds. Don't use••• ESCAPE=HTML for titles in the templates for these feeds, and instead escape the title going in to the template. Previously, the title was sometimes double-escaped in a feed (if set via meta title), and sometimes not (if set from the page filename). * In the meta plugin, when a title is set, encode the html entities in it numerically. This works better in the current landscape of a rss spec that doesn't specify encoding, and variously broken feed consumers, according to <http://www.rssboard.org/rss-profile#data-types-characterdata>. joey2007-05-28
* didn't mean to make this change (yet)joey2007-05-28
* * Apply a patch from Carl Worth allowing a class attribute to be passed••• through the img plugin. Also allow the id attribute to be passed through. joey2007-05-28
* * pagespec_match() has changed to take named parameters, to better allow••• for extended pagespecs. The old calling convention will still work for back-compat for now. * The calling convention for functions in the IkiWiki::PageSpec namespace has changed so they are passed named parameters. * Plugin interface version increased to 2.00 since I don't anticipate any more interface changes before 2.0. joey2007-04-27
* fixjoey2007-03-21
* * Fix a security hole that allowed insertion of unsafe content via the meta••• plugins's support for inserting html link and meta tags. Now such content is passed through the htmlscrubber like everything else. * Unfortunatly, that means that some valid uses of those tags are no longer usable, and special case methods needed to be added for including stylesheets, and for doing openid delegation. If you use either of these in your wiki, it will need to be modified. See the meta plugin docs for details. joey2007-03-21
* the real bug turned out to be in the meta pluginjoey2007-03-21
* deal with new preview parameterjoey2007-03-07
* * Patch from Ethan to allow using meta tags to set creation dates of pages.joey2007-02-15
* instead of over and over. Typical speedup is ~4x. Max possible speedup:••• 8x. * Add "scan" parameter to hook(), which is used to make the hook be called during the scanning pass, as well as the render pass. The meta and tag plugins need to use the new scan parameter, so will any others that modify %links. * Now that links are calculated in a separate pass, it can also precalculate backlinks in one pass, which is O(N^2) instead of the previous code that was O(N^3). A very nice speedup for wikis with lots (thousands) of pages. joey2006-10-28
* * Work on firming up the plugin interface:••• - Plugins should not need to load IkiWiki::Render to get commonly used functions, so moved some functions from there to IkiWiki. - Picked out the set of functions and variables that most plugins use, documented them, and made IkiWiki export them by default, like a proper perl module should. - Use the other functions at your own risk. - This is not quite complete, I still have to decide whether to export some other things. * Changed all plugins included in ikiwiki to not use "IkiWiki::" when referring to stuff now exported by the IkiWiki module. * Anyone with a third-party ikiwiki plugin is strongly enrouraged to make like changes to it and avoid use of non-exported symboles from "IkiWiki::". * Link debian/changelog and debian/news to NEWS and CHANGELOG. * Support hyperestradier version 1.4.2, which adds a new required phraseform setting. joey2006-09-09
* * If the meta plugin overides the page title, set a title_overridden••• variable in the template to true. This allows doing things with the templates conditional on the title being overriden. joey2006-08-12
* * Also generate rel=bookmark links for permalinks.joey2006-08-04
* * Various CSS and formatting changes.joey2006-08-04
* * Make aggregator save permalinks and author name to pages as metadata.•••* Add permalink and author support to meta plugin, affecting RSS feeds and blog pages. * Change titlepage() to encode utf-8 alnum characters. This is necessary to avoid UTF-8 creeping into filenames in urls. (There are still some other ways that it can get in.) joey2006-08-04
* * Change meta tags to use html entity-escaped text for values, so that••• quotes and such can be represented in title tags. * Depend and build-depend on HTML::Parser for HTML::Entities which is used for the above. * Make --rebuild also cause --aggregate to re-download and write aggregated pages. * Avoid outputting duplicate meta info. * Include title metadata on aggregated posts for capitalised and un-munged titles. joey2006-07-30
* more destpage improvementsjoey2006-07-27
* * Switch pagetemplate hooks to using named parameters.•••* Pass a "destpage" parameter to preprocessor and pagetemplate hooks. This will be the page that a source page will be part of, which is different than the source page for inlined pages. * Audited all plugins to endure they pass page, destpage to htmllink appropriatly. This means inlining of various plugins will not work properly, with correct links generated. joey2006-07-27
* - Adds a tag plugin that allows more easily tagging pages.••• The meta plugin can also still be used for that, but the tag plugin also lists a page's tags at the bottom of the page. - Allows preprocessor directives to have parameters with no specified value. - Fixes preprocessor directive parameter parsing so that foo=bar baz now means "foo=bar" and a "baz" with no value. * Run pagetemplate hooks when inlining pages so that inlines pages also list their tags. * Make all plugins with pagetemplate hooks check that variables exist on the template before setting them. joey2006-07-27
* meta headers are not sanitised; prevent html leaking into themjoey2006-06-02
* * Reorganised the doc wiki's todo/* pages, using a link/tag to flag•••* Allow pagetemplate plugins to override *anything* in the template. * Add a meta plugin, which allows specifying various metadata about pages, like license and author. It also allows for inserting html link and meta tags into html, overriding the title, and adding hidden WikiLinks, which can be useful when using link-based globbing for page categorisation. * Remove preprocessor directives from inlined pages. * Allow simple preprocessor directive values to be specified w/o quotes. joey2006-06-02