From b7f09741f564052c6d5cf9663285fac85ae3dd10 Mon Sep 17 00:00:00 2001 From: PaulePanter Date: Wed, 15 Oct 2008 16:27:53 -0400 Subject: New post. --- ...pagespec_for_creation_dates_relative_to_today__63__.mdwn | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 doc/forum/Is_there_a_pagespec_for_creation_dates_relative_to_today__63__.mdwn (limited to 'doc/forum') diff --git a/doc/forum/Is_there_a_pagespec_for_creation_dates_relative_to_today__63__.mdwn b/doc/forum/Is_there_a_pagespec_for_creation_dates_relative_to_today__63__.mdwn new file mode 100644 index 000000000..8072747d9 --- /dev/null +++ b/doc/forum/Is_there_a_pagespec_for_creation_dates_relative_to_today__63__.mdwn @@ -0,0 +1,13 @@ +Dear users, + + +using the directive inline, I want to show all pages (for example named 2008.10.2:foo.mdwn or 2009.12.3:bar.mdwn), whose date in the title are in the future. So in this example only the second one. + +I did not find a directive doing this in [[/ikiwiki/PageSpec]]. + +Does somebody have an idea? I just came up with using a tag “recent” or using a separate folder. But this would be a quite some work to maintain this setup. + + +Thanks, + +Paul -- cgit v1.2.3 From 2a0cb4e9b16203264dad358fae7abc38bfce93e3 Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Wed, 15 Oct 2008 19:16:27 -0400 Subject: response --- ...re_a_pagespec_for_creation_dates_relative_to_today__63__.mdwn | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'doc/forum') diff --git a/doc/forum/Is_there_a_pagespec_for_creation_dates_relative_to_today__63__.mdwn b/doc/forum/Is_there_a_pagespec_for_creation_dates_relative_to_today__63__.mdwn index 8072747d9..e88400cd4 100644 --- a/doc/forum/Is_there_a_pagespec_for_creation_dates_relative_to_today__63__.mdwn +++ b/doc/forum/Is_there_a_pagespec_for_creation_dates_relative_to_today__63__.mdwn @@ -11,3 +11,12 @@ Does somebody have an idea? I just came up with using a tag “recent” or usin Thanks, Paul + +> There's no such pagespec, and doing one is difficult, because such a +> pagespec will change what it matches over time. So ikiwiki would have to +> somehow figure out that pages matched by it yesterday no longer match, +> and that pages containing the pagespec need to be rebuilt. Which means +> you'd also need a cron job. +> +> I suspect what you're trying to accomplish is +> [[todo/tagging_with_a_publication_date]]? --[[Joey]] -- cgit v1.2.3