Created
February 21, 2011 09:58
-
-
Save LeifW/836878 to your computer and use it in GitHub Desktop.
A listing of what languages are used per project.
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
| -- Call this on e.g. http://github.com/api/v2/xml/repos/show/leifw | |
| stylesheet -xmlns:xsl=http://www.w3.org/1999/XSL/Transform -version=1.0 | |
| output -method=text | |
| template repository | |
| text << | |
| >> | |
| apply-templates name | |
| apply-templates document(concat(owner,'/',name,'/languages'),.) | |
| template languages | |
| for-each * | |
| sort . -data-type=number -order=descending | |
| text << | |
| >> | |
| value-of name() | |
| text << >> | |
| value-of . |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment