X-Git-Url: http://www.git.stargrave.org/?a=blobdiff_plain;f=Documentation%2Fmknews.perl;h=d87c260918c9c048544375ebf3c370fb8b6565f3;hb=e3b57fe9f68e80fc85cff46ccec9246b670f1312;hp=510a4e1810558e5a74efdbdd4386bdb81b00644c;hpb=6c853f5256f3a324c018a37a9e8a6b9fc8fdc063;p=public-inbox.git diff --git a/Documentation/mknews.perl b/Documentation/mknews.perl index 510a4e18..d87c2609 100755 --- a/Documentation/mknews.perl +++ b/Documentation/mknews.perl @@ -43,7 +43,7 @@ if ($dst eq 'NEWS') { ); $ibx->{-primary_address} = $addr; my $ctx = { - -inbox => $ibx, + ibx => $ibx, -upfx => "$base_url/", -hr => 1, }; @@ -131,7 +131,7 @@ sub atom_start { # WwwAtomStream stats this dir for mtime my $astream = PublicInbox::WwwAtomStream->new($ctx); delete $astream->{emit_header}; - my $ibx = $ctx->{-inbox}; + my $ibx = $ctx->{ibx}; my $title = PublicInbox::WwwAtomStream::title_tag($ibx->description); my $updated = PublicInbox::WwwAtomStream::feed_updated($mtime); print $out <