My favorites
▼
|
Sign in
json-template
Minimal but powerful templating language implemented in multiple languages
Project Home
Downloads
Wiki
Issues
Source
Export to GitHub
READ-ONLY: This project has been
archived
. For more information see
this post
.
Search
Search within:
All issues
Open issues
New issues
Issues to verify
for
Advanced search
Search tips
Subscriptions
Issue
6
attachment: songs.json
(729 bytes)
1
2
3
4
5
{
"template":"{.section songs} <h2>Songs in '{playlist-name}'</h2> <table width=\"100%\"> {.repeated section @} <tr> <td><a href=\"{url-base|htmltag}{url|htmltag}\">Play</a> <td><i>{title}</i></td> <td>{artist}</td> </tr> {.end} </table> {.or} <p><em>(No page content matches)</em></p> {.end}",
"dictionary":"{ \"url-base\": \"http://example.com/music/\", \"playlist-name\": \"Epic Playlist\", \"songs\": [ { \"url\": \"1.mp3\", \"artist\": \"Grayceon\", \"title\": \"Sounds Like Thunder\" }, { \"url\": \"2.mp3\", \"artist\": \"Thou\", \"title\": \"Their Hooves Carve Craters in the Earth\" } ] }",
"options": {}
}
Powered by
Google Project Hosting