aboutsummaryrefslogtreecommitdiff
path: root/IkiWiki/Plugin/meta.pm
Commit message (Collapse)AuthorAge
* meta: Error if we can't parse dates because Date::Parse is missingSimon McVittie2018-03-21
| | | | | | | | | You can still use [[!meta name="date" content="..."]] to generate <meta> tags that are not interpreted, but the common case for [[!meta date="..."]] is that you want to change the ctime, and that won't work without Date::Parse. Signed-off-by: Simon McVittie <smcv@debian.org>
* meta: Make syntactically invalid dates an errorSimon McVittie2018-03-21
| | | | | | | If for some reason you want to create <meta name="date" content="12345">, this now requires [[!meta name="date" content="12345"]]. Signed-off-by: Simon McVittie <smcv@debian.org>
* Fix [[!meta name=foo]] by closing the open quote.Amitai Schlair2015-08-22
|
* Instead of hacking back to $link, just provide it.Amitai Schlair2013-06-27
|
* Merge branch 'master' into fancypodcastAmitai Schlair2013-05-12
|\
| * meta: Fix anchors used to link to the page's license and copyright. Closes: ↵Joey Hess2013-04-30
| | | | | | | | #706437
* | Make enclosures absolute (in feeds they have to be).Amitai Schlair2013-02-20
| |
* | Document that last enclosure wins.Amitai Schlair2013-02-19
| |
* | Make enclosure follow WikiLink LinkingRules.Amitai Schlair2013-02-19
| |
* | Make [[!meta enclosure=foo.mp3]] "work" for HTML.Amitai Schlair2013-02-19
|/
* ensure HTML::Entities is always loadedJoey Hess2012-05-16
| | | | | (Worked ok in my tests w/o this, but not sure I tested every case, and this is correct.)
* meta: Security fix; add missing sanitization of author and authorurl. ↵Joey Hess2012-05-16
| | | | Thanks, Raúl Benencia
* meta: Support keywords header. Closes: #664780 Thanks, Martin MichlmayrJoey Hess2012-04-01
|
* simplifyJoey Hess2012-03-27
|
* meta: Export author information in html <meta> tag. Closes: #664779 Thanks, ↵Joey Hess2012-03-27
| | | | Martin Michlmayr
* Fix escaping of html entities in permalinks.Joey Hess2011-07-29
|
* HTML::Entities::encode_numeric is not exportedJoey Hess2011-04-30
|
* meta: Add FOAF support. Closes: #623156 (Jonas Smedegaard)Joey Hess2011-04-21
|
* Fix syntax of recently added JavaScript syntax in meta.pm (<script /> ↵Jonas Smedegaard2011-04-17
| | | | apparently does not work).
* meta: Fix bug in loading of HTML::Entities that can break inline archive=yes ↵Joey Hess2011-04-12
| | | | (mostly masked by other plugins that load the module).
* meta plugin: script supportGiuseppe Bilotta2011-03-28
| | | | (cherry picked from commit 44c5b27f88fdbfb4fdd061f600039e490eaeff92)
* meta: Security fix; don't allow alternative stylesheets to be added on pages ↵Joey Hess2011-03-28
| | | | where the htmlscrubber is enabled.
* better handling of relative permalinksJoey Hess2011-01-05
| | | | | | This way, do=goto will go to the page relative to the current location, while the permalinks in feeds will be absolute (unless an url is not configured at all).
* meta: Fix calling of htmlscrubber to pass the page parameter. The change of ↵Joey Hess2010-12-01
| | | | the htmlscrubber to look at page rather than destpage caused htmlscrubber_skip to not work for meta directives.
* make use of precompiled regex objectsSimon McVittie2010-11-20
|
* meta: Ensure that the url specified by xrds-location is absolute.Joey Hess2010-09-19
| | | | | | With a relative xrds-location, the openid perl client module will fail. I haven't checked the specs to see if it needs to be absolute, but all examples I've seen are absolute, so it seems a very good idea.
* add missing spaceJoey Hess2010-09-19
|
* needsbuild hook interface changed; the hooks should now return the modified ↵Joey Hess2010-09-07
| | | | array of things that need built. (Backwards compatability code keeps plugins using the old interface working.)
* meta: Allow syntax closer to html meta to be used.Joey Hess2010-07-25
| | | | | | | | The idea here is that <meta name="foo" description="bar"> can be written like [[!meta name="foo" description="bar">. Of course, [[!meta foo=bar]] is still supported; this new feature provides some DWIM when trying to directly convert a meta tag into a meta directive.
* added match_guid function to meta pluginJoey Hess2010-04-26
| | | | | | | | (cherry picked from commit 8b6fde73669ddf9204acb3d334c3984566f3c59d) Conflicts: IkiWiki/Plugin/meta.pm
* add influence info for failed metadata matchesJoey Hess2010-04-22
| | | | | | This is needed so that when a negated pagespec like "!author(foo)" stops matching, due to the page being changed, ikiwiki knows that the match was influenced by the page content.
* Merge remote branch 'smcv/unescaped-meta'Joey Hess2010-04-10
|\ | | | | | | | | Conflicts: IkiWiki/Plugin/meta.pm
| * HTML-encode meta title, description, guid on output, but not in the pagestateSimon McVittie2010-04-06
| | | | | | | | | | | | This makes them consistent with the rest of the meta keys. A wiki rebuild will be needed on upgrade to this version; until the wiki is rebuilt, double-escaping will occur in the titles of pages that have not changed.
* | minor style etc changesJoey Hess2010-04-06
| |
* | Only store authorsort in meta pagestate if it differs from authorSimon McVittie2010-04-06
| |
* | Only store titlesort in meta pagestate if it differs from titleSimon McVittie2010-04-06
| |
* | Use $a and $b for SortSpec cmp callbacksSimon McVittie2010-04-05
| |
* | Rename sort parameter to meta title/author to sortas=barSimon McVittie2010-04-04
| | | | | | | | Joey pointed out that sort=x usually takes a sort order.
* | meta: generalize meta_title into meta(title); support author, updated, dateSimon McVittie2010-04-04
| | | | | | | | | | I've left meta_title in, undocumented, as a possible replacement for sort=title in IkiWiki 4.0 or something.
* | Move sort hooks to the IkiWiki::SortSpec namespaceSimon McVittie2010-04-03
| | | | | | | | | | Also rename cmpspec_translate (internal function) to sortspec_translate for consistency.
* | Reimplement extensible sorting mechanisms, in the same way as pagespecsSimon McVittie2010-03-25
| |
* | Add an optional "sort" argument to meta titles, defaulting to the titleSimon McVittie2010-03-24
| | | | | | | | | | | | | | This allows correct sorting of titles, names, etc., with: [[!meta title="David Bowie" sort="Bowie, David"]] [[!meta title="The Beatles" sort="Beatles, The"]]
* | Have the meta plugin add a meta_title sort orderSimon McVittie2010-03-24
|/
* Group related plugins into sections in the setup file, and drop unused rcs ↵Joey Hess2010-02-11
| | | | plugins from the setup file.
* meta: Allow use of DESCRIPTION in templates to get at the meta description ↵Joey Hess2009-11-16
| | | | value. (Thanks, NicolasLimare)
* meta: Generate meta description tags even when the html scrubber is enabled.Joey Hess2009-11-16
| | | | | | | Unlike generic meta foo tags, meta description is known to be safe, so can be special cased to be allowed despite the html scrubber. This makes meta description much more useful, since it is otherwise limited to being used by other plugins like map.
* avoid fallthrough to default meta header addition for titleJoey Hess2009-11-16
| | | | | With the htmlscrubber disabled, it was adding a <meta name=title> tag for the title, which is pointless.
* meta: Gather permalink info on scan pass so it is available to inline when ↵Joey Hess2009-10-21
| | | | using a template that does not include page content.
* add_depends: optimise influence calculationJoey Hess2009-10-09
| | | | | | | | I made match_* functions whose influences can vary depending on the page matched set a special "" influence to indicate this. Then add_depends can try just one page, and if static influences are found, stop there.
* change how dependency types are specified to add_dependsJoey Hess2009-10-08
| | | | Also, this fixes 2 bugs in dependency info.