one more change; use the page that pulls in a feed as the anchor for the

default directory
master
joey 2006-07-31 01:05:22 +00:00
parent 953ffa1fe3
commit 2604c3217e
2 changed files with 4 additions and 1 deletions

View File

@ -70,7 +70,7 @@ sub preprocess (@) { #{{{
$feed->{name}=$name; $feed->{name}=$name;
$feed->{sourcepage}=$params{page}; $feed->{sourcepage}=$params{page};
$feed->{url}=$params{url}; $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=~s/^\/+//;
($dir)=$dir=~/$IkiWiki::config{wiki_file_regexp}/; ($dir)=$dir=~/$IkiWiki::config{wiki_file_regexp}/;
$feed->{dir}=$dir; $feed->{dir}=$dir;

View File

@ -1,2 +1,5 @@
* Still need to support feed expiry. * Still need to support feed expiry.
* Need to store page author metadata and include it in the rss feed. * 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?