1 I noticed when generating my wiki that all of my RSS feeds were
2 getting regenerated even when I edited only a page that did not affect
5 I found that the problem only occurs in the presence of a file that
6 contains \[[inline pages="*"]].
8 > How is this unexpected? By inlining _every_ page in the wiki, you're
9 > making that page depend on every other page; any change to any page in
10 > the wiki will result in the inlining page and its rss feed needing to be
11 > updated to include the changed page.
14 Here's a short script for replicating the bug. Just cut and paste this
15 to a shell, (it will only muck in a new /tmp/ikiwiki-test directory
19 mkdir ikiwiki-test; cd ikiwiki-test; mkdir src
20 echo '\[[inline pages="blog/*"]]' > src/myblog.mdwn
21 mkdir src/blog; echo "A blog entry" > src/blog/entry.mdwn
22 echo 'use IkiWiki::Setup::Standard {
25 url => "http://example.com",
26 templatedir => "/dev/null",
27 underlaydir => "/dev/null",
34 ls -l --time-style=full-iso output/myblog/index.rss
35 echo "not a blog entry" > src/not-a-blog.mdwn
37 ls -l --time-style=full-iso output/myblog/index.rss
38 echo '\[[inline pages="*"]]' > src/archives.mdwn
40 ls -l --time-style=full-iso output/myblog/index.rss
41 echo "still not blogging" >> src/not-a-blog.mdwn
43 ls -l --time-style=full-iso output/myblog/index.rss
45 Here's the tail of the output that I see for this command:
47 $ echo "not a blog entry" > src/not-a-blog.mdwn
48 $ ikiwiki --setup setup
50 scanning not-a-blog.mdwn
51 rendering not-a-blog.mdwn
53 $ ls -l --time-style=full-iso output/myblog/index.rss
54 -rw-r--r-- 1 cworth cworth 459 2007-06-01 06:34:36.000000000 -0700 output/myblog/index.rss
55 $ echo '\[[inline pages="*"]]' > src/archives.mdwn
56 $ ikiwiki --setup setup
58 scanning archives.mdwn
59 rendering archives.mdwn
61 $ ls -l --time-style=full-iso output/myblog/index.rss
62 -rw-r--r-- 1 cworth cworth 459 2007-06-01 06:34:37.000000000 -0700 output/myblog/index.rss
63 $ echo "still not blogging" >> src/not-a-blog.mdwn
64 $ ikiwiki --setup setup
66 scanning not-a-blog.mdwn
67 rendering not-a-blog.mdwn
68 rendering archives.mdwn, which depends on not-a-blog
70 $ ls -l --time-style=full-iso output/myblog/index.rss
71 -rw-r--r-- 1 cworth cworth 459 2007-06-01 06:34:38.000000000 -0700 output/myblog/index.rss
73 It looks like the rendering of archives.mdwn is also silently
74 generating myblog/index.rss.