Skip to content

Commit

Permalink
add RDF recent feed for compatibility with CPAN.pm
Browse files Browse the repository at this point in the history
  • Loading branch information
haarg committed Oct 22, 2023
1 parent f35b34d commit c69d325
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions lib/MetaCPAN/Web/Controller/Feed.pm
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,11 @@ use Text::MultiMarkdown qw( markdown );
use URI ();
use XML::FeedPP ();

sub recent_rdf : Path('/recent.rdf') Args(0) {
my ( $self, $c ) = @_;
$c->detach( 'recent', ['rdf'] );
}

sub recent_rss : Path('/recent.rss') Args(0) {
my ( $self, $c ) = @_;
$c->detach( 'recent', ['rss'] );
Expand Down

0 comments on commit c69d325

Please sign in to comment.