Stories
Slash Boxes
Comments
NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.

All the Perl that's Practical to Extract and Report

use Perl Log In

Log In

[ Create a new account ]

schwern (1528)

schwern
  (email not shown publicly)
http://schwern.net/
AOL IM: MichaelSchwern (Add Buddy, Send Message)
Jabber: schwern@gmail.com

Schwern can destroy CPAN at his whim.

Journal of schwern (1528)

Monday December 24, 2007
09:39 PM

META.json: CPAN mashups are go!

[ #35203 ]

Over on module-build@perl.org we were talking about yet more extensions to the META.yml when Eric Wilhelm pointed out that there's no way to get at the meta data for your installed modules. The META.yml isn't stored anywhere. I sort of waved my hands around about someone making some sort of CPAN REST web service...

But wait, we have one. search.cpan.org has a REST API. You can do things like http://search.cpan.org/dist/Error and to get the META.yml http://search.cpan.org/meta/Error/META.yml http://search.cpan.org/meta/Error-0.13/META.yml.

That's great, but to do anything useful with this information on a web site we need JSON. I suggested it to Graham and he implemented it. http://search.cpan.org/meta/Error-0.13/META.json

Finally, there's one more bonus feature. See, Error.pm 0.13 doesn't ship with a META.yml file so search.cpan.org generates it! It fills in as much information it can including links to rt.cpan.org, CPAN Forum, CPAN Testers and search.cpan.org's own online diff and grep tools.

Now other web sites can get information about CPAN modules in two easy to swallow formats.

The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
 Full
 Abbreviated
 Hidden
More | Login | Reply
Loading... please wait.