Created
November 9, 2010 23:37
-
-
Save dagolden/670053 to your computer and use it in GitHub Desktop.
metabase feed stuff
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
The Atom feed is http://metabase.cpantesters.org/tail/recent.xml | |
The content of each entry is JSON. In the json is a "legacy_guid" field. Given that guid, a request to | |
http://metabase.cpantesters.org/api/v1/guid/$legacy_guid | |
will give the JSON 'Metabase::Fact' data. | |
Grab the $json->{fact}{content} field directly if you want to show it to someone as text right away without waiting for www.cpantesters.org. | |
A suggestion for a "proxy", given a request for "http://example.com/proxy/$legacy_guid/", retrieve and cache the $json->{fact}{content} and send it as a text/plain response. | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment