parse title out of release metadata

This commit is contained in:
Jason Salaz 2014-10-03 18:04:33 -06:00
parent 214d4c6f8b
commit 31c15e3697

View file

@ -33,6 +33,8 @@ function retrieveReleaseInfo() {
release.urls.push( { 'url': window.location.href } );
release.id = $( "a[data-release]" ).attr('data-release');
release.title = $( "h3.interior-type:contains('Release')" ).next().text().trim();
var releaseDate = $( ".category:contains('Release Date')" ).next().text().split("-");
release.year = releaseDate[0];
release.month = releaseDate[1];