Press → key or the Space bar to advance.
You can edit inputs marked by this style inside code samples
Press ← key to move back.
// Simple sample code
<?php
try
{
$spotify = MetaTune::getInstance();
$tracks = $spotify->searchTrack("Röyksopp");
echo "First result: " . $tracks[0]->getArtist() .
" - " . $tracks[0]->getTitle();
}
catch (MetaTuneException $ex)
{
die($ex);
}
?>
Example of metabrag usage. You can change the username attribute and update the view.
// Simple sample code
<div class="element-name"></div>
<script>
$.fn.metabrag.defaults.username = "mikaelbr";
$.fn.metabrag.defaults.showGithubRepoInfo = false;
$.fn.metabrag.defaults.showCoderwallBadges = false;
$(".element-name").metabrag();
</script>
Find the open source project at Github. Feel free to fork and contribute to the code quality.