aboutsummaryrefslogtreecommitdiff
path: root/doc/bugs/feedpages_does_not_prevent_tags_from_being_aggregated.mdwn
diff options
context:
space:
mode:
authorhttp://smcv.pseudorandom.co.uk/ <smcv@web>2013-05-21 04:03:41 -0400
committeradmin <admin@branchable.com>2013-05-21 04:03:41 -0400
commit173b4c951d627d58dd1653425187c041e54a53dc (patch)
tree0e72dde9da244f98c53b4a56d1ab7945a7f47990 /doc/bugs/feedpages_does_not_prevent_tags_from_being_aggregated.mdwn
parent76c4154a99fab6b933d6b09b5e0e8d6a17ae938f (diff)
downloadikiwiki-173b4c951d627d58dd1653425187c041e54a53dc.tar
ikiwiki-173b4c951d627d58dd1653425187c041e54a53dc.tar.gz
syntax error in pagespec, not an ikiwiki bug
Diffstat (limited to 'doc/bugs/feedpages_does_not_prevent_tags_from_being_aggregated.mdwn')
-rw-r--r--doc/bugs/feedpages_does_not_prevent_tags_from_being_aggregated.mdwn15
1 files changed, 14 insertions, 1 deletions
diff --git a/doc/bugs/feedpages_does_not_prevent_tags_from_being_aggregated.mdwn b/doc/bugs/feedpages_does_not_prevent_tags_from_being_aggregated.mdwn
index bed4ab056..f0d0f789a 100644
--- a/doc/bugs/feedpages_does_not_prevent_tags_from_being_aggregated.mdwn
+++ b/doc/bugs/feedpages_does_not_prevent_tags_from_being_aggregated.mdwn
@@ -1,7 +1,7 @@
I added a feedpages directive to `blog/index.mdwn` to not pick up anything tagged `tags/random/hidden` yet that still happenend.
~git/richardhartmann.de/blog % grep hidden index.mdwn
- [[!inline pages="./posts/*/*/* and !*/Discussion" feedpages="./posts/*/*/* and !*/Discussion and not tagged(tags/random/hidden)" show="10" actions=yes rootpage="blog"]]
+ \[[!inline pages="./posts/*/*/* and !*/Discussion" feedpages="./posts/*/*/* and !*/Discussion and not tagged(tags/random/hidden)" show="10" actions=yes rootpage="blog"]]
~git/richardhartmann.de/blog % grep hidden posts/2013/05/17-Debian_Release_Critical_Bug_report_for_Week_20.mdwn
\[[!tag tags/tech/floss/debian tags/tech/floss/debian/rc-stats/8.0-jessie tags/random/hidden]]
~git/richardhartmann.de/blog %
@@ -9,3 +9,16 @@ I added a feedpages directive to `blog/index.mdwn` to not pick up anything tagge
If you need more information, please let me know.
Richard
+
+> I don't think this is a bug. You have a syntax error in your pagespec:
+> "not" is not a recognised keyword in [[pagespecs|ikiwiki/pagespec]],
+> so `and not tagged(...)` should be `and !tagged(...)`. Presumably inline
+> falls back to `pages` when `feedpages` doesn't work.
+>
+> By posting the pagespec here with insufficient escaping (which I've fixed)
+> you caused *this* ikiwiki instance's HTML to contain an error message
+> illustrating that syntax error :-)
+>
+> <span class="error">Error: syntax error in pagespec "(./posts/*/*/* and !*/Discussion) and (./posts/*/*/* and !*/Discussion and not tagged(tags/random/hidden))"</span>
+>
+> [[done]]. --[[smcv]]