]> git.vanrenterghem.biz Git - git.ikiwiki.info.git/commitdiff
one more change; use the page that pulls in a feed as the anchor for the
authorjoey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071>
Mon, 31 Jul 2006 01:05:22 +0000 (01:05 +0000)
committerjoey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071>
Mon, 31 Jul 2006 01:05:22 +0000 (01:05 +0000)
default directory

IkiWiki/Plugin/aggregate.pm
doc/todo/aggregation.mdwn

index 14461059d560774fdead466be1ebfb052c9ed1ee..7142e61063e731aaeee6b89f8d94e772c4e588c3 100644 (file)
@@ -70,7 +70,7 @@ sub preprocess (@) { #{{{
        $feed->{name}=$name;
        $feed->{sourcepage}=$params{page};
        $feed->{url}=$params{url};
-       my $dir=exists $params{dir} ? $params{dir} : "feed/".IkiWiki::titlepage($params{name});
+       my $dir=exists $params{dir} ? $params{dir} : $params{page}."/".IkiWiki::titlepage($params{name});
        $dir=~s/^\/+//;
        ($dir)=$dir=~/$IkiWiki::config{wiki_file_regexp}/;
        $feed->{dir}=$dir;
index 65c4208d60ad627da2f8c9c152cd8ccf7dd84a7a..d56e41e04627a250ce762b6e95ad050adb760802 100644 (file)
@@ -1,2 +1,5 @@
 * Still need to support feed expiry.
 * Need to store page author metadata and include it in the rss feed.
+* Some rss feeds contain relative links or relative urls to inline images,
+  which break when aggregated. Do I need to parse the html and make them
+  all absolute?