aboutsummaryrefslogtreecommitdiff
path: root/IkiWiki/Plugin/meta.pm
Commit message (Expand)AuthorAge
* better handling of relative permalinks•••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). Joey Hess2011-01-05
* meta: Fix calling of htmlscrubber to pass the page parameter. The change of t...Joey Hess2010-12-01
* make use of precompiled regex objectsSimon McVittie2010-11-20
* meta: Ensure that the url specified by xrds-location is absolute.•••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. Joey Hess2010-09-19
* add missing spaceJoey Hess2010-09-19
* needsbuild hook interface changed; the hooks should now return the modified a...Joey Hess2010-09-07
* meta: Allow syntax closer to html meta to be used.•••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. Joey Hess2010-07-25
* added match_guid function to meta plugin•••(cherry picked from commit 8b6fde73669ddf9204acb3d334c3984566f3c59d) Conflicts: IkiWiki/Plugin/meta.pm Joey Hess2010-04-26
* add influence info for failed metadata matches•••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. Joey Hess2010-04-22
* Merge remote branch 'smcv/unescaped-meta'•••Conflicts: IkiWiki/Plugin/meta.pm Joey Hess2010-04-10
|\
| * HTML-encode meta title, description, guid on output, but not in the pagestate•••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. Simon McVittie2010-04-06
* | 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=bar•••Joey pointed out that sort=x usually takes a sort order. Simon McVittie2010-04-04
* | meta: generalize meta_title into meta(title); support author, updated, date•••I've left meta_title in, undocumented, as a possible replacement for sort=title in IkiWiki 4.0 or something. Simon McVittie2010-04-04
* | Move sort hooks to the IkiWiki::SortSpec namespace•••Also rename cmpspec_translate (internal function) to sortspec_translate for consistency. Simon McVittie2010-04-03
* | Reimplement extensible sorting mechanisms, in the same way as pagespecsSimon McVittie2010-03-25
* | Add an optional "sort" argument to meta titles, defaulting to the title•••This allows correct sorting of titles, names, etc., with: [[!meta title="David Bowie" sort="Bowie, David"]] [[!meta title="The Beatles" sort="Beatles, The"]] Simon McVittie2010-03-24
* | 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 pl...Joey Hess2010-02-11
* meta: Allow use of DESCRIPTION in templates to get at the meta description va...Joey Hess2009-11-16
* meta: Generate meta description tags even when the html scrubber is enabled.•••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. Joey Hess2009-11-16
* avoid fallthrough to default meta header addition for title•••With the htmlscrubber disabled, it was adding a <meta name=title> tag for the title, which is pointless. Joey Hess2009-11-16
* meta: Gather permalink info on scan pass so it is available to inline when us...Joey Hess2009-10-21
* add_depends: optimise influence calculation•••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. Joey Hess2009-10-09
* change how dependency types are specified to add_depends•••Also, this fixes 2 bugs in dependency info. Joey Hess2009-10-08
* fix handling of influences of pagespecs that fail to match•••If a pagespec fails to match, I had been throwing the influences away, but that is not right. Consider `backlink(foo)`, where foo does not exist. It still needs to be added as an influence, because if it is created, it will influence the pagespec to match. But with that fix, `link(bar)` had as influences all pages, whether they link to bar or not. Which is not necessary, because modifiying a page to add a link to bar will directly cause the pagespec to match. So, in match_link (and all the match_* functions for page metadata), only return an influence if the match succeeds. match_backlink had been implemented as the inverse of match_link, but that is no longer completly true. While match_link does not return an influence on failure, match_backlink does. match_created_before/after also return the influence on failure, this way if created_after(foo) currently fails because foo does not exist, it will still update the page with the pagespec if foo is created. Joey Hess2009-10-08
* add type info to influence informationJoey Hess2009-10-07
* add influence info to match_*•••Also update docs, test suite. Joey Hess2009-10-07
* rework dependency types code•••Simplify, change default content depends number to 1, change interface to make more sense. Joey Hess2009-10-04
* meta redir dependency is contentlessJoey Hess2009-10-04
* meta: depend on absolute page name, not relative•••Previously, [[!meta redir="foo"]] on bar, where bar/foo exists, would depend on "foo" (which matches nothing, probably) rather than "bar/foo". (cherry picked from commit f27ec09b72f886415e63fe394e18d9c3cb3913bf) Simon McVittie2009-08-15
* meta: Add openid delegate parameter to allow delegating only openid or openid2.Joey Hess2009-06-08
* Avoid %links accumulating duplicates. (For TOVA)•••This is sorta an optimisation, and sorta a bug fix. In one test case I have available, it can speed a page build up from 3 minutes to 3 seconds. The root of the problem is that $links{$page} contains arrays of links, rather than hashes of links. And when a link is found, it is just pushed onto the array, without checking for dups. Now, the array is emptied before scanning a page, so there should not be a lot of opportunity for lots of duplicate links to pile up in it. But, in some cases, they can, and if there are hundreds of duplicate links in the array, then scanning it for matching links, as match_link and some other code does, becomes much more expensive than it needs to be. Perhaps the real right fix would be to change the data structure to a hash. But, the list of links is never accessed like that, you always want to iterate through it. I also looked at deduping the list in saveindex, but that does a lot of unnecessary work, and doesn't completly solve the problem. So, finally, I decided to add an add_link function that handles deduping, and make ikiwiki-transition remove the old dup links. Joey Hess2009-05-06
* Add meta field "updated", which can alter the <updated> Atom element•••Some aggregators, like Planet, sort by mtime rather than ctime. This means that posts with modified content come to the top (which seems odd to me, but is presumably what the aggregator's author or operator wants), but it also means that posts with insignificant edits (like adding tags) come to the top too. Atom defines <updated> to be the date of the last *significant* change, so it's fine that ikiwiki defaults to using the mtime, but it would be good to have a way for the author to say "that edit was insignificant, don't use that mtime". Simon McVittie2009-01-18
* finalise version 3.00 of the plugin apiJoey Hess2008-12-23
* meta: Process meta date during scan pass so that the date will always affect ...Joey Hess2008-12-21
* Coding style change: Remove explcit vim folding markers.Joey Hess2008-12-17
* meta: Pass info to htmlscrubber so htmlscrubber_skip can take effect.Joey Hess2008-12-12
* Export pagetitle, titlepage, linkpage.Joey Hess2008-09-27
* add plugin safe/rebuild info (part 1 of 2)•••too many plugins.. brain exploding.. Joey Hess2008-08-03
* switch preprocess hooks to use error functionJoey Hess2008-07-13
* Stop prepending urn:uuid: to guids that look like UUIDsSimon McVittie2008-07-12
* Bug fix: use &IkiWiki::pagetitle rather than nonexistent &pagetitle in meta p...Simon McVittie2008-07-12
* rename uuid to guidJoey Hess2008-07-12
* meta plugin: if uuid looks like it is in fact a UUID, prepend "urn:uuid" (oth...Simon McVittie2008-07-11
* meta plugin: also collect [[!meta uuid="..."]]Simon McVittie2008-07-11
* factor out glob2reJoey Hess2008-07-02