Skip to content

Instantly share code, notes, and snippets.

@LeifW
Created February 21, 2011 09:58
Show Gist options
  • Select an option

  • Save LeifW/836878 to your computer and use it in GitHub Desktop.

Select an option

Save LeifW/836878 to your computer and use it in GitHub Desktop.
A listing of what languages are used per project.
-- 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