You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The current site has a few APIs that allow authors to see distribution report data via YAML, JSON, or to subscribe to recent reports via RSS. These feeds are advertised as orange buttons near the upper-right of the author's page (example distribution page for Yancy).
For backwards compatibility, we should create these same feeds in this app. We should add a single method to CPAN::Testers::Web::Controller::Legacy called dist_feeds. This method should return either an RSS, JSON, or YAML document based on the format requested (use $c->respond_to() to vary the responses).
The YAML feed has the exact same structure as the JSON feed, but it is currently not working so I can't provide an example.
RSS
The RSS feed is generated by the same code that generates the author feeds (#18), but it is also currently not working. Here's the example from the author feed:
<?xml version="1.0" encoding="UTF-8"?>
<rssversion="2.0"
xmlns:atom="http://www.w3.org/2005/Atom"xmlns:blogChannel="http://backend.userland.com/blogChannelModule"
>
<channel>
<atom:linkhref="http://www.cpantesters.org/distro/Y/Yancy.rss"rel="self"type="application/rss+xml" />
<title>CPAN Testers Reports</title>
<link>http://www.cpantesters.org/</link>
<description>news and updates for the CPAN Testers Reports website</description>
<language>en</language>
<pubDate>Tue, 19 Jun 2018 17:31:43 GMT</pubDate>
<generator>Labyrinth v5.32</generator>
<item>
<title>FAIL Yancy 5.24.1 on linux 4.4.0-81-generic (x86_64-linux)</title>
<link>http://www.cpantesters.org/cpan/report/0e9d34fe-1892-11e8-bb4d-81605a155286</link>
<description>FAIL Yancy 5.24.1 on linux 4.4.0-81-generic (x86_64-linux)</description>
<guidisPermaLink="false">http://www.cpantesters.org/cpan/report/0e9d34fe-1892-11e8-bb4d-81605a155286</guid>
<pubDate>Fri, 23 Feb 2018 12:07:00 GMT</pubDate>
</item>
</channel>
</rss>
The text was updated successfully, but these errors were encountered:
The current site has a few APIs that allow authors to see distribution report data via YAML, JSON, or to subscribe to recent reports via RSS. These feeds are advertised as orange buttons near the upper-right of the author's page (example distribution page for Yancy).
For backwards compatibility, we should create these same feeds in this app. We should add a single method to
CPAN::Testers::Web::Controller::Legacy
calleddist_feeds
. This method should return either an RSS, JSON, or YAML document based on the format requested (use$c->respond_to()
to vary the responses).JSON Example
YAML
The YAML feed has the exact same structure as the JSON feed, but it is currently not working so I can't provide an example.
RSS
The RSS feed is generated by the same code that generates the author feeds (#18), but it is also currently not working. Here's the example from the author feed:
The text was updated successfully, but these errors were encountered: