idiomag 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (46) hide show
  1. data/History +2 -0
  2. data/LICENSE +9 -0
  3. data/README.rdoc +151 -0
  4. data/Rakefile +54 -0
  5. data/VERSION.yml +4 -0
  6. data/lib/idiomag.rb +17 -0
  7. data/lib/idiomag/articles.rb +48 -0
  8. data/lib/idiomag/artist.rb +103 -0
  9. data/lib/idiomag/base.rb +9 -0
  10. data/lib/idiomag/helpers.rb +26 -0
  11. data/lib/idiomag/parser.rb +32 -0
  12. data/lib/idiomag/recommendation.rb +70 -0
  13. data/lib/idiomag/rest.rb +20 -0
  14. data/lib/idiomag/tag.rb +106 -0
  15. data/lib/idiomag/user.rb +114 -0
  16. data/spec/articles_spec.rb +61 -0
  17. data/spec/artist_spec.rb +149 -0
  18. data/spec/base_spec.rb +15 -0
  19. data/spec/fixtures/articles_featured.json +1 -0
  20. data/spec/fixtures/articles_latest.json +1 -0
  21. data/spec/fixtures/artist_articles.json +1 -0
  22. data/spec/fixtures/artist_info.json +1 -0
  23. data/spec/fixtures/artist_photos.json +1 -0
  24. data/spec/fixtures/artist_playlist.json +1 -0
  25. data/spec/fixtures/artist_tags.json +1 -0
  26. data/spec/fixtures/artist_videos.json +1 -0
  27. data/spec/fixtures/recommendation_articles.json +1 -0
  28. data/spec/fixtures/recommendation_artists.json +1 -0
  29. data/spec/fixtures/tag_articles.json +1 -0
  30. data/spec/fixtures/tag_artists.json +1 -0
  31. data/spec/fixtures/tag_list.txt +144 -0
  32. data/spec/fixtures/tag_photos.json +1 -0
  33. data/spec/fixtures/tag_playlist.json +1 -0
  34. data/spec/fixtures/tag_videos.json +1 -0
  35. data/spec/fixtures/user_articles.json +1 -0
  36. data/spec/fixtures/user_info.json +1 -0
  37. data/spec/fixtures/user_lovedarticles.json +1 -0
  38. data/spec/fixtures/user_photos.json +1 -0
  39. data/spec/fixtures/user_playlist.json +1 -0
  40. data/spec/fixtures/user_videos.json +1 -0
  41. data/spec/recommendation_spec.rb +88 -0
  42. data/spec/rest_spec.rb +41 -0
  43. data/spec/spec_helper.rb +15 -0
  44. data/spec/tag_spec.rb +149 -0
  45. data/spec/user_spec.rb +169 -0
  46. metadata +112 -0
@@ -0,0 +1,15 @@
1
+ require File.dirname(__FILE__) + '/spec_helper.rb'
2
+
3
+ describe 'Idiomag::Base' do
4
+ before do
5
+ Idiomag::Base.api_key = 'foo'
6
+ end
7
+
8
+ it 'should have the api url' do
9
+ Idiomag::API_URL.should == 'http://www.idiomag.com/api/'
10
+ end
11
+
12
+ it 'should be able to access the api key' do
13
+ Idiomag::Base.api_key.should == 'foo'
14
+ end
15
+ end
@@ -0,0 +1 @@
1
+ {"articles":[{"title":"Chris Martin on Coldplay Breakup", "url":"http://www.idiomag.com/peek/55266/?utm_source=ec276ee52a19142f294e7c8c1a50114b&utm_medium=link&utm_campaign=api", "description":" We have split up on this tour, he confessed to the Daily Mirror. So what qualifies as bad news in the Coldplay household? Well, putting things into perspective, there hasn't been anything that bad for a while, Martin said.", "author":"Matt Kiser", "sourceUrl":"", "date":"Wed, 17 Dec 2008 17:27:17 +0000", "artist":"Coldplay", "source":""}, {"title":"SPIN.com's Best of the Week, December 8-14", "url":"http://www.idiomag.com/peek/54691/?utm_source=ec276ee52a19142f294e7c8c1a50114b&utm_medium=link&utm_campaign=api", "description":"Lily Allen Read > > Trent Reznor to Retire? read > > smashing pumpkins : no more albums read > > Read > > Pearl Jam : New Songs on' Ten' Reissue Read > >", "author":"Matt Kiser", "sourceUrl":"", "date":"Sun, 14 Dec 2008 05:31:32 +0000", "artist":"Blur", "source":""}, {"title":"Common - Universal Mind Control", "url":"http://www.idiomag.com/peek/55020/?utm_source=ec276ee52a19142f294e7c8c1a50114b&utm_medium=link&utm_campaign=api", "description":"The emcee formerly known as Common Sense [ click to read ] has always made his own lane ; � Gladiator � is one of Common � s better efforts on Universal Mind Control, though the production quickly becomes grating. Whether Universal Mind Control ought to be compared to Electric Circus or not, there is no doubt that the two will draw comparisons.", "author":"HipHopDX.com >", "sourceUrl":"", "date":"Tue, 16 Dec 2008 11:56:15 +0000", "artist":"Common", "source":""}, {"title":"METALLICA: 'Of Wolf And Man' Performance Footage From Edmonton Available", "url":"http://www.idiomag.com/peek/55115/?utm_source=ec276ee52a19142f294e7c8c1a50114b&utm_medium=link&utm_campaign=api", "description":"Video footage of METALLICA performing the song Of Wolf And Man on December 7, 2008 in Edmonton, Alberta, Canada can be viewed below. METALLICA has confirmed that the long rumored Guitar Hero : Metallica will tentatively arrive in the first half of 2009. Guitar Hero : Metallica will be the second artist specific game in the franchise behind this year's Guitar Hero : Aerosmith.", "author":"BLABBERMOUTH.NET Latest News", "sourceUrl":"", "date":"Wed, 17 Dec 2008 01:35:59 +0000", "artist":"METALLICA", "source":""}, {"title":"Lily Allen Covers Britney Spears, Listen Here", "url":"http://www.idiomag.com/peek/55189/?utm_source=ec276ee52a19142f294e7c8c1a50114b&utm_medium=link&utm_campaign=api", "description":"Lily Allen has thrown a cover of Britney Spears 'Womanizer 'on the net. Allen says she is a huge fan of Britney. Maybe that is a reference to Britney’s ‘ If You Seek Amy ’ ( F U C K me ).", "author":"Undercover Music News", "sourceUrl":"", "date":"Wed, 17 Dec 2008 06:23:22 +0000", "artist":"Britney Spears", "source":""}, {"title":"will.i.am Rumored To Produce On New U2 Album", "url":"http://www.idiomag.com/peek/53846/?utm_source=ec276ee52a19142f294e7c8c1a50114b&utm_medium=link&utm_campaign=api", "description":"After serving as producer on albums for artists such as Usher, Flo Rida, Estelle, and Whitney Houston, will.i. am may also serve as producer for Irish rock group U2's newest album. In an interview with Billboard, will.i. am discussed the Black Eyed Peas' upcoming album The END which will be released next year. Along with working on the new Black Eyed Peas album, will has also been hard at work producing.", "author":"HipHopDX.com >", "sourceUrl":"", "date":"Wed, 10 Dec 2008 00:23:11 +0000", "artist":"Black Eyed Peas", "source":""}, {"title":"Metallica to Launch 'Guitar Hero' Game", "url":"http://www.idiomag.com/peek/55063/?utm_source=ec276ee52a19142f294e7c8c1a50114b&utm_medium=link&utm_campaign=api", "description":"<p>Metallica and Pearl Jam have confirmed they are both entering the gaming arena.</p><p> More on SPIN.com:>> <a href="http://www.spin.com/articles/pearl-jam-new-songs-ten-reissue">Pearl Jam: New Songs on 'Ten' Reissue</a>>> <a href="http://www.spin.com/blog/pearl-jam-gods-or-cult">Pearl Jam: Gods or a Cult?</a>>> <a href="http://www.spin.com/articles/exclusive-metallicas-kirk-hammett-discusses-kurt-cobain">Exclusive: Metallica's Kirk Hammett Discusses Kurt Cobain</a>>> <a href="http://www.spin.com/articles/watch-metallicas-new-music-video">Watch Metallica's New Music Video</a>Metallica's long-rumored installment in the Guitar...", "author":"Matt Kiser", "sourceUrl":"", "date":"Wed, 17 Dec 2008 00:18:15 +0000", "artist":"Pearl Jam", "source":""}, {"title":"Sharon Osbourne investigated for assult", "url":"http://www.idiomag.com/peek/55035/?utm_source=ec276ee52a19142f294e7c8c1a50114b&utm_medium=link&utm_campaign=api", "description":"It has now been claimed the fight broke out after former Playboy model Megan made a disparaging comment about Sharon � s husband Ozzy Osbourne. She added :' We know Sharon Osbourne was involved in some way, we just don't know how.' However, a representative for Sharon insists the incident has been exaggerated, saying :' This has been blown out of all proportion.'", "author":"Music-news.com", "sourceUrl":"", "date":"Tue, 16 Dec 2008 13:17:14 +0000", "artist":"Love", "source":""}, {"title":"Update: DMX Nabbed By The Feds In Miami", "url":"http://www.idiomag.com/peek/53950/?utm_source=ec276ee52a19142f294e7c8c1a50114b&utm_medium=link&utm_campaign=api", "description":"<p>Barley a day after an Arizona sheriff offered a $5000 reward for his arrest, troubled rapper DMX has reportedly been captured by federal agents in Miami.As reported earlier, DMX missed a scheduled court appearance in Arizona on Friday (December 5) and a local judge issued a warrant for the rapper's...", "author":"Sixshot.com Urban", "sourceUrl":"", "date":"Wed, 10 Dec 2008 03:34:22 +0000", "artist":"DMX", "source":""}, {"title":"Lily Allen rips off Take That", "url":"http://www.idiomag.com/peek/55218/?utm_source=ec276ee52a19142f294e7c8c1a50114b&utm_medium=link&utm_campaign=api", "description":"Lily told NME magazine :' I love Take That so much that I ripped off one of their songs for my new album. I've ripped off a song of yours.' Anyway they said,' That's nice, Lily.'", "author":"Music-news.com", "sourceUrl":"", "date":"Wed, 17 Dec 2008 11:32:24 +0000", "artist":"Take That", "source":""}, {"title":"Kanye West Gives Surprise Performance At KROQ Show In LA", "url":"http://www.idiomag.com/peek/55156/?utm_source=ec276ee52a19142f294e7c8c1a50114b&utm_medium=link&utm_campaign=api", "description":"( andPOP ) - T � is the season to give. And that � s exactly what Kanye West did on Sunday night, as the A list rapper made a surprise appearance at KROQ � s Almost Acoustic Christmas show at Gibson Amphitheatre in Los Angeles. West and his band rounded out the set with versions of Homecoming, Heartless and Love Lockdown.", "author":"andPOP", "sourceUrl":"", "date":"Wed, 17 Dec 2008 02:43:20 +0000", "artist":"Kanye West", "source":""}, {"title":"The Killers - Day And Age", "url":"http://www.idiomag.com/peek/54527/?utm_source=ec276ee52a19142f294e7c8c1a50114b&utm_medium=link&utm_campaign=api", "description":"I’m probably not the best person to review this album. Mystery Jets went all normal and synth tinged, and created an excellent album in 21. Although Sawdust was a collection of b sides and rarities rather than a proper album, Day And Age feels much more like a follow up to that collection than Sam’s Town, their last studio album.", "author":"The Music Magazine» The Music Magazine // / Ten Kens - 229 Club, London", "sourceUrl":"", "date":"Sat, 13 Dec 2008 03:51:57 +0000", "artist":"The Killers", "source":""}, {"title":"Win Prizes Galore With Starked.com", "url":"http://www.idiomag.com/peek/54089/?utm_source=ec276ee52a19142f294e7c8c1a50114b&utm_medium=link&utm_campaign=api", "description":"It takes the best of your favorite Starked. com entertainment blogs - over 70 of them! Starked. com Holiday Contest Prizes Thanks to the very generous donations of our sponsors, we have many fantastic prizes to offer to Starked. com readers. Check out the other Starked. com siteswhere you can enter this great contest!", "author":"Dave Parrack", "sourceUrl":"", "date":"Thu, 11 Dec 2008 03:36:37 +0000", "artist":"Gift", "source":""}, {"title":"Noel Gallagher: 'New Oasis Album Is Finished'", "url":"http://www.idiomag.com/peek/55228/?utm_source=ec276ee52a19142f294e7c8c1a50114b&utm_medium=link&utm_campaign=api", "description":"( London, UK ) - Oasis band member Noel Gallagher has announced that the follow up of the outfit's Dig Out Your Soul album ( which was released two months ago ) is as good as finished. More news on the album's sound and release date remains undisclosed. The recorded demo is in fact the blueprint of our next album, says Noel.", "author":"365Mag International Music Magazine - News (news)", "sourceUrl":"", "date":"Wed, 17 Dec 2008 13:22:41 +0000", "artist":"Oasis", "source":""}, {"title":"Blur add 2nd show", "url":"http://www.idiomag.com/peek/54460/?utm_source=ec276ee52a19142f294e7c8c1a50114b&utm_medium=link&utm_campaign=api", "description":"After an overwhelming run on tickets for the band � s now sold out show on Friday 3rd July, a second date has been added in an attempt to meet demand. Tickets for the added date are on sale now at www. livenation. co. uk A Live Nation and Metropolis Music presentation, in association with CMO and X Ray Touring.", "author":"Music-news.com", "sourceUrl":"", "date":"Fri, 12 Dec 2008 12:07:47 +0000", "artist":"Thursday", "source":""}, {"title":"Everest are on tour with Wilco and Neil Fuckin’ Young. Plus we’re going to see OASIS TONIGHT!", "url":"http://www.idiomag.com/peek/54785/?utm_source=ec276ee52a19142f294e7c8c1a50114b&utm_medium=link&utm_campaign=api", "description":"Oasis - “ i’m outta time ( demo ) ” oasis - don’t look back in anger [ standing on the edge of the noise ] oasis - to be where there’s life [ standing on the edge of the noise ]", "author":"Travis Keller", "sourceUrl":"", "date":"Mon, 15 Dec 2008 02:28:46 +0000", "artist":"NEIL YOUNG", "source":""}, {"title":"Transmusicales - Day Three", "url":"http://www.idiomag.com/peek/55171/?utm_source=ec276ee52a19142f294e7c8c1a50114b&utm_medium=link&utm_campaign=api", "description":"With Bon IverIt's back to Le Cité in the afternoon for Bon Iver. It's not only been a good winter, it's been an extraordinary year for US understated rocker, Justin Vernon and his Bon Iver band mates. Bon Iver are joined on stage by Nashville alt rocker, Sarah Siskind for a cover of her song' Lovin's For Fools'. We haven't played any UK festivals, or very much in the UK at all. French electro DJ and remix master SebastiAn hits the decks as soon as Birdy Nam Nam finish.", "author":"Alison Kerry", "sourceUrl":"", "date":"Wed, 17 Dec 2008 03:34:30 +0000", "artist":"Bon Iver", "source":""}, {"title":"Deerhunter - Microcastle", "url":"http://www.idiomag.com/peek/55038/?utm_source=ec276ee52a19142f294e7c8c1a50114b&utm_medium=link&utm_campaign=api", "description":"But in Microcastle, Cox seems to have finally allayed the demons. “ Ambient punk ” is how Cox best refers to Deerhunter, but the term is misjudged. And though Cox’s lyrics still mean little ( Cox is off the musical class that view lyrics as another musical instrument ), they do reflect the bands more uplifting atmosphere.", "author":"The Music Magazine» The Music Magazine // / Deerhunter - Microcastle", "sourceUrl":"", "date":"Tue, 16 Dec 2008 14:01:41 +0000", "artist":"Deerhunter", "source":""}, {"title":"Franz Ferdinand - Tonight: Franz Ferdinand", "url":"http://www.idiomag.com/peek/55252/?utm_source=ec276ee52a19142f294e7c8c1a50114b&utm_medium=link&utm_campaign=api", "description":"Naming themselves after the archduke whose assassination sparked the First World War, the band mix grandeur and pretension with a shrewd pop touch. Sitting idle since 2005, ‘ Tonight : Franz Ferdinand ’ is an album long delayed. Refining and transcending their familiar pop formula, ‘ Tonight : Franz Ferdinand ’ is the band’s most complete work to date.", "author":"Robin Murray", "sourceUrl":"", "date":"Wed, 17 Dec 2008 16:19:57 +0000", "artist":"Franz Ferdinand", "source":""}, {"title":"Gigantour Rumors Just That…", "url":"http://www.idiomag.com/peek/55056/?utm_source=ec276ee52a19142f294e7c8c1a50114b&utm_medium=link&utm_campaign=api", "description":"I’m so glad that the Gigantour rumors have been shot down. I mean, I don’t expect to go to Gigantour, but it’s the principle of it all. For a moment there it was starting to sound like GigantWhore instead of Gigantour.", "author":"Scott Wharton", "sourceUrl":"", "date":"Wed, 17 Dec 2008 00:12:20 +0000", "artist":"Megadeth", "source":""}, {"title":"News : KISS Are Not Retiring And Will Make A New Album", "url":"http://www.idiomag.com/peek/55028/?utm_source=ec276ee52a19142f294e7c8c1a50114b&utm_medium=link&utm_campaign=api", "description":"Glam rockers KISS have shot down rumors the band is retiring ; by confirming they will be recording a new album. Stanley tells Askmen. com, It’s going to be very much a vintage, classic, 70s KISS album without much regard to what’s happened since then ;", "author":"Metal-Temple.com - Latest Updates", "sourceUrl":"", "date":"Tue, 16 Dec 2008 12:24:40 +0000", "artist":"KISS", "source":""}, {"title":"KREATOR: 'Hordes Of Chaos' Video Stills Available", "url":"http://www.idiomag.com/peek/55232/?utm_source=ec276ee52a19142f294e7c8c1a50114b&utm_medium=link&utm_campaign=api", "description":"According to a press release, Hordes Of Chaos is a powerhouse featuring rigorous thrash attacks and KREATOR's familiarly intelligent lyrics about self determination and the dangers of contemporary war propaganda. Hordes Of Chaos was recorded at Berlin's Tritonus studios under the direction of producer Moses Schneider. There can be no doubt that we've achieved our target in' Hordes Of Chaos'.", "author":"BLABBERMOUTH.NET Latest News", "sourceUrl":"", "date":"Wed, 17 Dec 2008 13:59:52 +0000", "artist":"KREATOR", "source":""}, {"title":"Various Artists Mad Mike Monsters Volumes 1-3", "url":"http://www.idiomag.com/peek/54757/?utm_source=ec276ee52a19142f294e7c8c1a50114b&utm_medium=link&utm_campaign=api", "description":"Back in the 60s, before the tyranny of Top 40 Radio, MTV and Myspace, there were national markets and regional scenes, especially in America. The records he played were lewd and crude, wailing R'n'B or primitive rock'n'roll, and all owed a big debt to Little Richard, Chuck Berry, Screaming Jay Hawkins and the like. since Mad Mike was a white DJ on a black station, and many of the songs he idolised were by black artists, what did that mean for a North Eastern blue collar city?", "author":"Soundsxp.com", "sourceUrl":"", "date":"Mon, 15 Dec 2008 00:41:20 +0000", "artist":"DJ", "source":""}, {"title":"NME's Top 50 of 2008", "url":"http://www.idiomag.com/peek/54476/?utm_source=ec276ee52a19142f294e7c8c1a50114b&utm_medium=link&utm_campaign=api", "description":"The list parade continues, this one from the other side of the pond. NME's top 50 includes folks you'd expect it to include ( Verve, Oasis, Spiritualized, and other British bands ), but it also has surprises. They also give deserved respect to Fucked Up.", "author":"Stereogum", "sourceUrl":"", "date":"Fri, 12 Dec 2008 13:42:19 +0000", "artist":"Fucked Up", "source":""}, {"title":"Update: Lil Wayne's Lawyers Ask For Deadline Extension In 'Dying' Case", "url":"http://www.idiomag.com/peek/55068/?utm_source=ec276ee52a19142f294e7c8c1a50114b&utm_medium=link&utm_campaign=api", "description":"<p>Lawyers representing Lil Wayne have reportedly asked a New Orleans judge to give them more time to turn over documents for a lawsuit that accuses the rapper of copyright infringement.As reported earlier, pop singer Karma-Ann Swanepoel sued Lil Wayne in May claiming that the rapper sampled her song "Once” and...", "author":"Sixshot.com Urban", "sourceUrl":"", "date":"Wed, 17 Dec 2008 00:29:26 +0000", "artist":"Lil Wayne", "source":""}, {"title":"Madonna and Guy Ritchie issue joint statement", "url":"http://www.idiomag.com/peek/55245/?utm_source=ec276ee52a19142f294e7c8c1a50114b&utm_medium=link&utm_campaign=api", "description":"MADONNA AND Guy Ritchie have issued a joint statement to clear up misleading and inaccurate reports about their divorce. The former couple released a statement today through Ritchie's publicist that said settlement details would remain private but they were both happy with the agreement. A misleading and inaccurate statement, specifically in relation to the sums of money involved, was wrongly issued to AP this week.", "author":"Music-news.com", "sourceUrl":"", "date":"Wed, 17 Dec 2008 15:00:56 +0000", "artist":"Madonna", "source":""}, {"title":"Morrissey Adds London Date", "url":"http://www.idiomag.com/peek/55048/?utm_source=ec276ee52a19142f294e7c8c1a50114b&utm_medium=link&utm_campaign=api", "description":"<p>Singer Extends UK TourMancunian minister of misery Morrissey has extended his UK tour, by adding a third date to his residency at the Brixton Academy in London, it has been announced.The former Smiths singer has been in the news constantly in 2008, with ongoing libel trials against certain music magazines...", "author":"Robin Murray", "sourceUrl":"", "date":"Tue, 16 Dec 2008 14:11:39 +0000", "artist":"Morrissey", "source":""}, {"title":"Testament Headbanger’s Ball Takeover", "url":"http://www.idiomag.com/peek/54288/?utm_source=ec276ee52a19142f294e7c8c1a50114b&utm_medium=link&utm_campaign=api", "description":"<p>As you know, Testament’s More Than Meets The Eye Video debuted last weekend on Headbanger’s Ball as reported by <a href="http://www.roadrunnerrecords.com/blabbermouth.net/news.aspx?mode=Article&newsitemID=110646" target="_blank">Blabbermouth</a>. This weekend the video will be featured again on Headbangers Ball as well as never before seen footage of their video shoot at the famed Alcatraz prison off...", "author":"Scott Wharton", "sourceUrl":"", "date":"Fri, 12 Dec 2008 00:19:32 +0000", "artist":"Testament", "source":""}, {"title":"Sepultura.... A-Lex is upon us", "url":"http://www.idiomag.com/peek/55159/?utm_source=ec276ee52a19142f294e7c8c1a50114b&utm_medium=link&utm_campaign=api", "description":"The latest release from the almighty Sepultura! A Lex is the first Sepultura album to feature new drummer Jean Dolabella, who joined the fold during the Dante XXI tour. We're very happy to have him with us, and we're proud of the positive impact he’s had on the material on A Lex.", "author":"Livingformetal.com", "sourceUrl":"", "date":"Wed, 17 Dec 2008 02:44:17 +0000", "artist":"Sepultura", "source":""}]}
@@ -0,0 +1 @@
1
+ {"articles":[{"title":"Review - k-Drama - Boombaptism", "url":"http://www.idiomag.com/peek/55272/?utm_source=ec276ee52a19142f294e7c8c1a50114b&utm_medium=link&utm_campaign=api", "description":"It's been two years since k Drama dropped Behind The Glory, and it has been well worth the wait. Now, Drama has returned with the fresh Boombaptism. Essentially, BoomBaptism is exactly that � a baptism. The choral chorus line comes on before Drama drops his lyrical knowledge. It feels like K Drama could have done a little better here. BoomBaptism is a redefinition in every sense of the word.", "author":"Rapzilla.com", "sourceUrl":"http://www.rapzilla.com/rz/content/view/1204/112/", "date":"Wed, 17 Dec 2008 18:36:06 +0000", "artist":"K-Drama", "source":"http://www.rapzilla.com/rz/content/view/1204/112/"}, {"title":"Why Frank Zappa made me hate High School Musical", "url":"http://www.idiomag.com/peek/55271/?utm_source=ec276ee52a19142f294e7c8c1a50114b&utm_medium=link&utm_campaign=api", "description":"Well, specifically Troy Bolton : he of gleaming teeth, with that curious blend of athleticism and sensitivity. The thing is, once you’ve heard the song, it’s impossible to look at Troy Bolton in the same light again. Go and check out the song and tell me if you see Mr Bolton in the same light!", "author":"Gerard McGarry", "sourceUrl":"http://music.unrealitytv.co.uk/why-frank-zappa-made-me-hate-high-school-musical/", "date":"Wed, 17 Dec 2008 18:19:24 +0000", "artist":"Frank Zappa", "source":"http://music.unrealitytv.co.uk/why-frank-zappa-made-me-hate-high-school-musical/"}, {"title":"Seether’s Finding Beauty In Negative Spaces Doesn’t Get Enough Credit", "url":"http://www.idiomag.com/peek/55270/?utm_source=ec276ee52a19142f294e7c8c1a50114b&utm_medium=link&utm_campaign=api", "description":"Seether : Finding Beauty In Negative Spaces is an album that I bought earlier this year when I took over The Rock Dose. Amongst all the Schlock or Cock rock, whatever you want to call most of it these days, Seether is a bit different in my opinion. Tags : Finding Beauty In Negative Space, seether, Shaun MorganShare This", "author":"Scott", "sourceUrl":"http://www.therockdose.com/seethers-finding-beauty-in-negative-spaces-doesnt-get-enough-credit/", "date":"Wed, 17 Dec 2008 17:48:32 +0000", "artist":"Seether", "source":"http://www.therockdose.com/seethers-finding-beauty-in-negative-spaces-doesnt-get-enough-credit/"}, {"title":"The 'Gum Drop LXVIII: Hear New Appleseed Cast, Win A Crosley Turntable", "url":"http://www.idiomag.com/peek/55269/?utm_source=ec276ee52a19142f294e7c8c1a50114b&utm_medium=link&utm_campaign=api", "description":"In February, longtime California to Kansas post rockers the Appleseed Cast will release their sixth studio album Sagarmatha, the first since 2006's Peregrine. Sagarmatha is out 2/17 via The Militia Group. This week we also offered the chance to win a Crosley CR40 Mini Turntable.", "author":"Stereogum", "sourceUrl":"http://feeds.feedburner.com/~r/stereogum/cBYa/~3/487756471/the-gum-drop-lxviii-hear-new-appleseed-cast-win-a_041901.html", "date":"Wed, 17 Dec 2008 17:47:22 +0000", "artist":"Drop", "source":"http://feeds.feedburner.com/~r/stereogum/cBYa/~3/487756471/the-gum-drop-lxviii-hear-new-appleseed-cast-win-a_041901.html"}, {"title":"Peter Gabriel & Hot Chip Cover Vampire Weekend", "url":"http://www.idiomag.com/peek/55268/?utm_source=ec276ee52a19142f294e7c8c1a50114b&utm_medium=link&utm_campaign=api", "description":"Naturally we all got pretty excited this summer when Peter Gabriel announced plans to cover Vampire Weekend's signature song Cape Cod Kwassa Kwassa. On this cover, Kwassa Kwassa' s squiggly riff and Congo beats are replaced with soft keys and electronic flourishes courtesy of the guys in Hot Chip. Peter's got the yelp down, though.", "author":"Stereogum", "sourceUrl":"http://feeds.feedburner.com/~r/stereogum/cBYa/~3/487777808/peter-gabriel-hot-chip-cover-vampire-weekend_041991.html", "date":"Wed, 17 Dec 2008 17:47:18 +0000", "artist":"Peter Gabriel", "source":"http://feeds.feedburner.com/~r/stereogum/cBYa/~3/487777808/peter-gabriel-hot-chip-cover-vampire-weekend_041991.html"}, {"title":"Update: Akon Avoids Jail Time, Pleads Guilty In Harrasment Case", "url":"http://www.idiomag.com/peek/55267/?utm_source=ec276ee52a19142f294e7c8c1a50114b&utm_medium=link&utm_campaign=api", "description":"<p>Superstar crooner Akon plead guilty to harrasment today (December 17) for tossing a fan off stage during a 2007 perfomance.As previously reported, during a concert at Dutchess Stadium in Fishkill in June 2007, 15-year-old Anthony Smith threw an object at Akon while he was onstage and the singer asked the crowd to point...", "author":"Sixshot.com Urban", "sourceUrl":"http://www.sixshot.com/articles/13453/", "date":"Wed, 17 Dec 2008 17:43:17 +0000", "artist":"Akon", "source":"http://www.sixshot.com/articles/13453/"}, {"title":"Chris Martin on Coldplay Breakup", "url":"http://www.idiomag.com/peek/55266/?utm_source=ec276ee52a19142f294e7c8c1a50114b&utm_medium=link&utm_campaign=api", "description":" We have split up on this tour, he confessed to the Daily Mirror. So what qualifies as bad news in the Coldplay household? Well, putting things into perspective, there hasn't been anything that bad for a while, Martin said.", "author":"Matt Kiser", "sourceUrl":"http://www.spin.com/articles/chris-martin-coldplay-breakup", "date":"Wed, 17 Dec 2008 17:27:17 +0000", "artist":"Coldplay", "source":"http://www.spin.com/articles/chris-martin-coldplay-breakup"}, {"title":"No Doubt: Tour But No Album in 2009", "url":"http://www.idiomag.com/peek/55265/?utm_source=ec276ee52a19142f294e7c8c1a50114b&utm_medium=link&utm_campaign=api", "description":"Sorry, No Doubt fans, you're going to have to wait for new music. [ We'll have ] a mobile studio on the bus and eventually get to a new No Doubt record. I can play reggae music to my grave.", "author":"Matt Kiser", "sourceUrl":"http://www.spin.com/articles/no-doubt-tour-no-album-2009", "date":"Wed, 17 Dec 2008 17:27:15 +0000", "artist":"No Doubt", "source":"http://www.spin.com/articles/no-doubt-tour-no-album-2009"}, {"title":"Coconot", "url":"http://www.idiomag.com/peek/55264/?utm_source=ec276ee52a19142f294e7c8c1a50114b&utm_medium=link&utm_campaign=api", "description":"Recording as El Guincho, Pablo Díaz Reixa crafted drum heavy, carnival esque sounds on Alegranza ( No. After a break to craft music as El Guincho, Díaz Reixa returned to Coconot -- now a trio, following Montes' departure -- to write and record what would become Cosa Astral. Listen : Coconot, Verbena de los Delfines ( DOWNLOAD MP3 )", "author":"Matt Kiser", "sourceUrl":"http://www.spin.com/articles/coconot", "date":"Wed, 17 Dec 2008 17:27:14 +0000", "artist":"Coconot", "source":"http://www.spin.com/articles/coconot"}, {"title":"Keane and Kanye Collaborate", "url":"http://www.idiomag.com/peek/55263/?utm_source=ec276ee52a19142f294e7c8c1a50114b&utm_medium=link&utm_campaign=api", "description":"So it makes sense that it was the place where mutual musical appreciators Keane and Kanye West first made sweet music together. Earlier this year, Keane and Kanye shared an amazing night in the studio in Paris where they gushed about each other's work. So much, in fact, that Keane's infatuation with West hasn't dissipated.", "author":"Matt Kiser", "sourceUrl":"http://www.spin.com/articles/keane-and-kanye-collaborate", "date":"Wed, 17 Dec 2008 17:27:12 +0000", "artist":"Keane", "source":"http://www.spin.com/articles/keane-and-kanye-collaborate"}]}
@@ -0,0 +1 @@
1
+ {"articles":[{"title":"Anberlin - New Surrender", "url":"http://www.idiomag.com/peek/53755/?utm_source=ec276ee52a19142f294e7c8c1a50114b&utm_medium=link&utm_campaign=api", "description":"Anberlin have released many albums over the past six years according to their official page, this is however the first I have heard of them. The power and dominance these songs have are remarkable. In the coming year Anberlin are going to be making a large impact on the music industry.", "author":"RoomThirteen.com CD Reviews", "sourceUrl":"http://www.roomthirteen.com/cgi-bin/cd_view.cgi?CDID=9631", "date":"Tue, 09 Dec 2008 07:01:05 +0000", "artist":"Anberlin", "source":"http://www.roomthirteen.com/cgi-bin/cd_view.cgi?CDID=9631"}, {"title":"Anberlin Announces Headlining Winter Tour", "url":"http://www.idiomag.com/peek/49727/?utm_source=ec276ee52a19142f294e7c8c1a50114b&utm_medium=link&utm_campaign=api", "description":"<p><a href="http://www.anberlin.com" target="_blank">Anberlin</a> will be hitting the road this winter with Madina Lake, Between The Trees. Check out the dates below. Camera Can’t Lie will also be on select dates.</p><p>January 7th in Nashville, TN @ RockettownJanuary 8th in Asheville, NC @ Orange PeelJanuary 9th in Harrisonburg, VA @ The AlethiaJanuary...", "author":"Bryce Jacobson", "sourceUrl":"http://feeds.feedburner.com/~r/drivenfaroff/~3/452610495/", "date":"Fri, 14 Nov 2008 14:09:19 +0000", "artist":"Anberlin", "source":"http://feeds.feedburner.com/~r/drivenfaroff/~3/452610495/"}, {"title":"Anberlin Announces Headlining Winter Tour", "url":"http://www.idiomag.com/peek/49642/?utm_source=ec276ee52a19142f294e7c8c1a50114b&utm_medium=link&utm_campaign=api", "description":"<p><a href="http://www.anberlin.com" target="_blank">Anberlin</a> will be hitting the road this winter with Madina Lake, Between The Trees. Check out the dates below. Camera Can’t Lie will also be on select dates.</p><p>January 7th in Nashville, TN @ RockettownJanuary 8th in Asheville, NC @ Orange PeelJanuary 9th in Harrisonburg, VA @ The AlethiaJanuary...", "author":"Bryce Jacobson", "sourceUrl":"http://www.drivenfaroff.com/2008/11/14/anberlin-announces-headlining-winter-tour/", "date":"Fri, 14 Nov 2008 07:37:31 +0000", "artist":"Anberlin", "source":"http://www.drivenfaroff.com/2008/11/14/anberlin-announces-headlining-winter-tour/"}, {"title":"Anberlin - New Surrender", "url":"http://www.idiomag.com/peek/46370/?utm_source=ec276ee52a19142f294e7c8c1a50114b&utm_medium=link&utm_campaign=api", "description":"Only one year has passed since the release of Cities from Orlando, FL’s rock powerhouse Anberlin, and their fourth full length album, New Surrender, finds the band treading similar water. ” is in the vein of Cities, displaying Anberlin’s ability to write an addictive chorus and fill the remainder of the song with straightforward rock styled music that complements vocalist Stephen Christian’s stunning voice. There isn’t anything stopping Anberlin from reaching the level of bands like Fall Out Boy and My Chemical Romance, just the time it takes to get there.", "author":"Exclaim.ca", "sourceUrl":"http://www.exclaim.ca/musicreviews/generalreview.aspx?csid1=127&csid2=850&fid1=34458", "date":"Wed, 29 Oct 2008 05:08:15 +0000", "artist":"Anberlin", "source":"http://www.exclaim.ca/musicreviews/generalreview.aspx?csid1=127&csid2=850&fid1=34458"}, {"title":"Anberlin single goes to radio: REQUEST", "url":"http://www.idiomag.com/peek/38866/?utm_source=ec276ee52a19142f294e7c8c1a50114b&utm_medium=link&utm_campaign=api", "description":"Anberlin's new single, "Feel Good Drag" officially goes to radio today. I'm not normally one to hype bands on here, but their new album is awesome and if this single does well at radio, Anberlin will be huge.", "author":"JohnnyL", "sourceUrl":"http://www.decoymusic.com/vb/showthread.php?t=32434&goto=newpost", "date":"Wed, 27 Aug 2008 00:24:35 +0000", "artist":"Anberlin", "source":"http://www.decoymusic.com/vb/showthread.php?t=32434&goto=newpost"}, {"title":"Never Take Friendship Personal", "url":"http://www.idiomag.com/peek/29616/?utm_source=ec276ee52a19142f294e7c8c1a50114b&utm_medium=link&utm_campaign=api", "description":"The album starts off on a strong note with its title track "Never Take Friendship Personal" and then "A Paperthin Hymn. If you are the casual music listener that just wants to sing along to something, by all means, buy this album immediately.", "author":"John Berry", "sourceUrl":"http://feeds.feedburner.com/~r/musicemissions/reviews/~3/255444816/index.php", "date":"Wed, 26 Mar 2008 08:41:06 +0000", "artist":"Anberlin", "source":"http://feeds.feedburner.com/~r/musicemissions/reviews/~3/255444816/index.php"}, {"title":"Cities", "url":"http://www.idiomag.com/peek/26414/?utm_source=ec276ee52a19142f294e7c8c1a50114b&utm_medium=link&utm_campaign=api", "description":"Afer two years and videos teasing all of their dedicated fans, Anberlin let Cities out upon the world. Only time would tell if the world would accept the new musical direction that Anberlin had taken with their new music.", "author":"Daniel Thompson", "sourceUrl":"http://feeds.feedburner.com/~r/musicemissions/reviews/~3/234304533/index.php", "date":"Thu, 14 Feb 2008 12:34:14 +0000", "artist":"Anberlin", "source":"http://feeds.feedburner.com/~r/musicemissions/reviews/~3/234304533/index.php"}, {"title":"Anberlin Back In Studio", "url":"http://www.idiomag.com/peek/25444/?utm_source=ec276ee52a19142f294e7c8c1a50114b&utm_medium=link&utm_campaign=api", "description":"Florida rock band Anberlin is heading back into the studio less than a year after their third record, Cities, released.", "author":"roofi", "sourceUrl":"http://www.sputnikmusic.com/news.php?newsid=5359", "date":"Wed, 23 Jan 2008 09:59:02 +0000", "artist":"Anberlin", "source":"http://www.sputnikmusic.com/news.php?newsid=5359"}, {"title":"Lost Songs", "url":"http://www.idiomag.com/peek/18134/?utm_source=ec276ee52a19142f294e7c8c1a50114b&utm_medium=link&utm_campaign=api", "description":"Six months after their third album, Cities, became one of the fastest-selling records in their labels history, Florida rock outfit Anberlin announced in August their departure from Seattle indie label Tooth & Nail Records for the greener pastures of major labeldom and Universal Republic Records.", "author":"roofi", "sourceUrl":"http://www.sputnikmusic.com/album.php?albumid=22842", "date":"Mon, 10 Dec 2007 16:27:25 +0000", "artist":"Anberlin", "source":"http://www.sputnikmusic.com/album.php?albumid=22842"}, {"title":"Anberlin", "url":"http://www.idiomag.com/peek/4436/?utm_source=ec276ee52a19142f294e7c8c1a50114b&utm_medium=link&utm_campaign=api", "description":"Their debut album, Blueprints for the Black Market, was quite successful. They released their sophomore album, Never Take Friendship Personal," in February 2005. Furthermore, Anberlin recorded covers of the Bob Dylan song "Like a Rolling Stone," the Depeche Mode song "Enjoy the Silence," the Cure's "Love Song," and the popular Christmas song "Baby Please Come Home", included on compilation albums in 2005.", "author":"Last.fm", "sourceUrl":"http://www.last.fm/music/Anberlin/+wiki", "date":"Thu, 20 Sep 2007 11:05:05 +0000", "artist":"Anberlin", "source":"http://www.last.fm/music/Anberlin/+wiki"}]}
@@ -0,0 +1 @@
1
+ {"name":"Anberlin", "links":{"url":["http://www.idiomag.com/artist/anberlin/?utm_source=ec276ee52a19142f294e7c8c1a50114b&utm_medium=link&utm_campaign=api", "http://en.wikipedia.org/wiki/Anberlin", "http://www.myspace.com/anberlin", "http://www.anberlin.com"]}, "related":{"artist":[{"name":"Mae", "links":{"url":["http://www.idiomag.com/artist/mae/?utm_source=ec276ee52a19142f294e7c8c1a50114b&utm_medium=link&utm_campaign=api"]}}, {"name":"The Classic Crime", "links":{"url":["http://www.idiomag.com/artist/the_classic_crime/?utm_source=ec276ee52a19142f294e7c8c1a50114b&utm_medium=link&utm_campaign=api"]}}, {"name":"Classic Case", "links":{"url":["http://www.idiomag.com/artist/classic_case/?utm_source=ec276ee52a19142f294e7c8c1a50114b&utm_medium=link&utm_campaign=api"]}}, {"name":"The Fold", "links":{"url":["http://www.idiomag.com/artist/the_fold/?utm_source=ec276ee52a19142f294e7c8c1a50114b&utm_medium=link&utm_campaign=api"]}}, {"name":"Relient K", "links":{"url":["http://www.idiomag.com/artist/relient_k/?utm_source=ec276ee52a19142f294e7c8c1a50114b&utm_medium=link&utm_campaign=api"]}}]}, "tags":{"tag":[{"name":"Rock", "value":100}, {"name":"Emo", "value":76}, {"name":"Alternative", "value":67}, {"name":"Christian Rock", "value":38}, {"name":"Alternative Rock", "value":37}]}}
@@ -0,0 +1 @@
1
+ {"photos":[{"title":"657273039.jpg", "url":"http://images.idiomag.com/657273039.jpg", "date":"Wed, 27 Aug 2008 00:24:39 +0000", "width":465, "height":560}, {"title":"259097485.jpg", "url":"http://images.idiomag.com/259097485.jpg", "date":"Wed, 26 Mar 2008 08:41:07 +0000", "width":465, "height":560}, {"title":"207544053.jpg", "url":"http://images.idiomag.com/207544053.jpg", "date":"Thu, 14 Feb 2008 12:34:15 +0000", "width":465, "height":465}, {"title":"534477974.jpg", "url":"http://images.idiomag.com/534477974.jpg", "date":"Wed, 23 Jan 2008 09:59:04 +0000", "width":465, "height":465}, {"title":"782772853.jpg", "url":"http://images.idiomag.com/782772853.jpg", "date":"Mon, 10 Dec 2007 16:27:30 +0000", "width":465, "height":465}, {"title":"834936946.jpg", "url":"http://images.idiomag.com/834936946.jpg", "date":"Mon, 10 Dec 2007 16:27:29 +0000", "width":465, "height":560}, {"title":"910205205.jpg", "url":"http://images.idiomag.com/910205205.jpg", "date":"Mon, 10 Dec 2007 16:27:28 +0000", "width":465, "height":560}, {"title":"1550990.jpg", "url":"http://images.idiomag.com/1550990.jpg", "date":"Mon, 10 Dec 2007 16:27:27 +0000", "width":465, "height":560}, {"title":"487949353.jpg", "url":"http://images.idiomag.com/487949353.jpg", "date":"Thu, 11 Oct 2007 02:51:08 +0000", "width":465, "height":465}, {"title":"724278709.jpg", "url":"http://images.idiomag.com/724278709.jpg", "date":"Thu, 11 Oct 2007 01:44:11 +0000", "width":465, "height":560}]}
@@ -0,0 +1 @@
1
+ {"tracks":[{"title":"Retrace", "location":"http://www.dallasnetworks.net/media/Retrace.mp3"}, {"title":"Miserabile visu (ex malo bonum) Bonus tracks: Feel Good Drag (Remix)Bittersweet Memory (Acoustic Remix)Hello Alone (Remix)Unwinding Cable Car (Remix)", "location":"http://www.dallasnetworks.net/media/stuff/Anberlin-Cities-(Japanese_Import)-2007-MTD/007-anberlin-hello_alone.mp3"}, {"title":"Glass to the Arson", "location":"http://distorted.siliconenhancements.net/Music/05-glass_to_the_arson.mp3"}, {"title":"Retrace", "location":"http://www.dallasnetworks.net/media/Retrace.mp3"}, {"title":"There Is a Light That Never Goes Out", "location":"http://www.dallasnetworks.net/media/stuff/Anberlin-Cities-(Japanese_Import)-2007-MTD/014-anberlin-there_is_a_light_that_never_goes_out.mp3"}, {"title":"The Feel Good Drag", "location":"http://apwrebirth.com/APW/Music/SNL.mp3"}, {"title":"(*Fin)", "location":"http://www.dallasnetworks.net/media/stuff/Anberlin-Cities-(Japanese_Import)-2007-MTD/012-anberlin-(fin).mp3"}, {"title":"Alexithymia", "location":"http://www.fileden.com/files/2007/1/8/613322/Anberlin%20-%20Alexithymia.mp3"}, {"title":"The Promise - Anberlin, When In Rome", "location":"http://www.dallasnetworks.net/media/stuff/Anberlin-Cities-(Japanese_Import)-2007-MTD/015-anberlin-the_promise.mp3"}, {"title":"Uncanny", "location":"http://www.killingmadison.net/Anberlin/13-anberlin-uncanny.mp3"}]}
@@ -0,0 +1 @@
1
+ {"profile":{"tag":[{"name":"Rock", "value":1}, {"name":"Emo", "value":0.76}, {"name":"Alternative", "value":0.67}, {"name":"Christian Rock", "value":0.38}, {"name":"Alternative Rock", "value":0.37}, {"name":"Indie", "value":0.26}, {"name":"Christian", "value":0.24}, {"name":"Punk", "value":0.18}, {"name":"Indie Rock", "value":0.11}]}}
@@ -0,0 +1 @@
1
+ {"tracks":[{"title":"Feel Good Drag", "location":"http://www.idiomag.com/video/HPOgZerGcGU", "info":"http://www.youtube.com/watch?v=HPOgZerGcGU", "thumb":"http://img.youtube.com/vi/HPOgZerGcGU/1.jpg"}, {"title":"Feel Good Drag", "location":"http://www.idiomag.com/video/HPOgZerGcGU", "info":"http://www.youtube.com/watch?v=HPOgZerGcGU", "thumb":"http://img.youtube.com/vi/HPOgZerGcGU/1.jpg"}, {"title":"Autobahn", "location":"http://www.idiomag.com/video/vrLmVhB_8JM", "info":"http://www.youtube.com/watch?v=vrLmVhB_8JM", "thumb":"http://img.youtube.com/vi/vrLmVhB_8JM/1.jpg"}, {"title":"Ready Fuels", "location":"http://www.idiomag.com/video/xPZVCEsJMe4", "info":"http://www.youtube.com/watch?v=xPZVCEsJMe4", "thumb":"http://img.youtube.com/vi/xPZVCEsJMe4/1.jpg"}, {"title":"Paperthin Hymn", "location":"http://www.idiomag.com/video/ZV0jcXtESZc", "info":"http://www.youtube.com/watch?v=ZV0jcXtESZc", "thumb":"http://img.youtube.com/vi/ZV0jcXtESZc/1.jpg"}, {"title":"Godspeed", "location":"http://www.idiomag.com/video/qB2S_pcx-oA", "info":"http://www.youtube.com/watch?v=qB2S_pcx-oA", "thumb":"http://img.youtube.com/vi/qB2S_pcx-oA/1.jpg"}, {"title":"The Feel Good Drag", "location":"http://www.idiomag.com/video/gNsacjwX3Ic", "info":"http://www.youtube.com/watch?v=gNsacjwX3Ic", "thumb":"http://img.youtube.com/vi/gNsacjwX3Ic/1.jpg"}, {"title":"Autobahn", "location":"http://www.idiomag.com/video/vrLmVhB_8JM", "info":"http://www.youtube.com/watch?v=vrLmVhB_8JM", "thumb":"http://img.youtube.com/vi/vrLmVhB_8JM/1.jpg"}, {"title":"Paperthin Hymn", "location":"http://www.idiomag.com/video/ZV0jcXtESZc", "info":"http://www.youtube.com/watch?v=ZV0jcXtESZc", "thumb":"http://img.youtube.com/vi/ZV0jcXtESZc/1.jpg"}, {"title":"The Unwinding Cable Car", "location":"http://www.idiomag.com/video/d5SBYhZyo1s", "info":"http://www.youtube.com/watch?v=d5SBYhZyo1s", "thumb":"http://img.youtube.com/vi/d5SBYhZyo1s/1.jpg"}]}
@@ -0,0 +1 @@
1
+ {"articles":[{"title":"Relient K On The Tonight Show", "url":"http://www.idiomag.com/peek/54984/?utm_source=ec276ee52a19142f294e7c8c1a50114b&utm_medium=link&utm_campaign=api", "description":"<p><a href="http://www.myspace.com/relientk" target="_blank">Relient K</a> will be peforming on The Tonight Show with Jay Leno tomorrow tonight, Tuesday December 16th.Join the Fun: <a href="http://www.drivenfaroff.com/contact/">Become A Part of Driven Far Off Today</a> We are looking for music writers and reviewers. Contact us for details.</p><p><a href="http://feeds.feedburner.com/~f/drivenfaroff?a=DszEO"></a> <a href="http://feeds.feedburner.com/~f/drivenfaroff?a=9jqAO"></a> <a href="http://feeds.feedburner.com/~f/drivenfaroff?a=KKiJo"></a> <a href="http://feeds.feedburner.com/~f/drivenfaroff?a=ddFIO"></a> <a...", "author":"Bryce Jacobson", "sourceUrl":"http://www.drivenfaroff.com/2008/12/15/relient-k-on-the-tonight-show/", "date":"Tue, 16 Dec 2008 06:50:02 +0000", "artist":"Relient K", "source":"http://www.drivenfaroff.com/2008/12/15/relient-k-on-the-tonight-show/"}, {"title":"ET Rocks Out with Lifehouse", "url":"http://www.idiomag.com/peek/54813/?utm_source=ec276ee52a19142f294e7c8c1a50114b&utm_medium=link&utm_campaign=api", "description":"<p>ET has the details...<a href="http://www.etonline.com/news/2008/12/68861/index.html"></a>ET's with the rock band Lifehouse, who along with Heineken, gave 60 college grad students the chance to shoot the video for their single "Make Me Over." </p><p>Heineken provided grants to USC’s School of Cinematic Arts graduate students to create music videos for two bands: One...", "author":"RSS - Music", "sourceUrl":"http://www.etonline.com/news/2008/12/68861/index.html", "date":"Mon, 15 Dec 2008 05:12:24 +0000", "artist":"Lifehouse", "source":"http://www.etonline.com/news/2008/12/68861/index.html"}, {"title":"Aerosmith frontman performs with Trans-Siberian Orchestra in New York, New Jersey", "url":"http://www.idiomag.com/peek/54745/?utm_source=ec276ee52a19142f294e7c8c1a50114b&utm_medium=link&utm_campaign=api", "description":"Commented Trans Siberian Orchestra guitarist Chris Caffery ( also of Savatage ) : [ Playing with Steven Tyler at the Nassau Coliseum and Izod Arena ] was extra special for a ton of reasons. Headlining our fifth show there and having Steven Tyler as a special guest was so incredible! Fan filmed video footage of Tyler's December 12, 2008 performance with the Trans Siberian Orchestra at the Nassau Veterans Memorial Coliseum in Uniondale, New York can be viewed below.", "author":"Metalrage.com Frontpage News", "sourceUrl":"http://www.metalrage.com/news/46232", "date":"Mon, 15 Dec 2008 00:40:37 +0000", "artist":"Trans-Siberian Orchestra", "source":"http://www.metalrage.com/news/46232"}, {"title":"Anberlin - New Surrender", "url":"http://www.idiomag.com/peek/53755/?utm_source=ec276ee52a19142f294e7c8c1a50114b&utm_medium=link&utm_campaign=api", "description":"Anberlin have released many albums over the past six years according to their official page, this is however the first I have heard of them. The power and dominance these songs have are remarkable. In the coming year Anberlin are going to be making a large impact on the music industry.", "author":"RoomThirteen.com CD Reviews", "sourceUrl":"http://www.roomthirteen.com/cgi-bin/cd_view.cgi?CDID=9631", "date":"Tue, 09 Dec 2008 07:01:05 +0000", "artist":"Anberlin", "source":"http://www.roomthirteen.com/cgi-bin/cd_view.cgi?CDID=9631"}, {"title":"Switchfoot launches “This is Home” video contest", "url":"http://www.idiomag.com/peek/53681/?utm_source=ec276ee52a19142f294e7c8c1a50114b&utm_medium=link&utm_campaign=api", "description":"Switchfoot has launched a video contest asking fans to create a music video for the track “ This Is Home. ” Now Switchfoot wants to see what “ This Is Home ” means to you! Letter From Switchfoot : Thank you for all the great comments so far on the new video for “ This is Home ”.", "author":"Hip Online", "sourceUrl":"http://www.hiponline.com/news/switchfoot-launches-this-is-home-video-contest/", "date":"Tue, 09 Dec 2008 04:53:23 +0000", "artist":"Switchfoot", "source":"http://www.hiponline.com/news/switchfoot-launches-this-is-home-video-contest/"}, {"title":"The Afters 12 Days of Christmas Tour", "url":"http://www.idiomag.com/peek/51387/?utm_source=ec276ee52a19142f294e7c8c1a50114b&utm_medium=link&utm_campaign=api", "description":"The AftersTHE AFTERS RING IN HOLIDAY SEASON WITH 12 DAYS OF CHRISTMAS TOUR “ Keeping Me Alive ” Used In Promotion for FOX’s “ The Secret Millionaire ” “ Keeping Me Alive ” is off of The Afters’ sophomore project Never Going Back to Ok Songs from “ Never Going Back to Ok ” were also used on the Rachael Ray show and Grey’s Anatomy as well as on Dr Phil.", "author":"The M Collective", "sourceUrl":"http://www.lightvox.com/the-afters-12-days-of-christmas-tour.html", "date":"Wed, 26 Nov 2008 01:19:18 +0000", "artist":"The Afters", "source":"http://www.lightvox.com/the-afters-12-days-of-christmas-tour.html"}, {"title":"Kutless Is All Games With Rock Band2, Contest And Tour", "url":"http://www.idiomag.com/peek/46528/?utm_source=ec276ee52a19142f294e7c8c1a50114b&utm_medium=link&utm_campaign=api", "description":"Kutless is honored as the headlining act on the premiere fall tour. For more information on Kutless, their touring and more check out www. kutless. com Kutless’ music also has been featured in television and film.", "author":"OvertureMedia", "sourceUrl":"http://www.lightvox.com/kutless-is-all-games-with-rock-band2-contest.html", "date":"Wed, 29 Oct 2008 10:33:22 +0000", "artist":"Kutless", "source":"http://www.lightvox.com/kutless-is-all-games-with-rock-band2-contest.html"}, {"title":"MxPx (Leeds Festival 2008)", "url":"http://www.idiomag.com/peek/40903/?utm_source=ec276ee52a19142f294e7c8c1a50114b&utm_medium=link&utm_campaign=api", "description":"MXPX are another of those American melodic punk bands that have been around for years and years and yet have never quite broken into the mainstream in the UK. Songs like ‘ Party, My House, Be There ’ exemplify what MXPX are all about, it’s lightweight, safe and friendly punk and that’s about it. You really can’t dislike MXPX, they have their moments and they are entertaining to watch but the material isn’t outstanding and there are several other bands on this stage today that blow them away.", "author":"RoomThirteen.com Live Reviews", "sourceUrl":"http://www.roomthirteen.com/cgi-bin/tour_set.cgi?SetID=5454", "date":"Fri, 05 Sep 2008 00:51:31 +0000", "artist":"Mxpx", "source":"http://www.roomthirteen.com/cgi-bin/tour_set.cgi?SetID=5454"}, {"title":"The North Pole Project", "url":"http://www.idiomag.com/peek/31150/?utm_source=ec276ee52a19142f294e7c8c1a50114b&utm_medium=link&utm_campaign=api", "description":"Ladies and gentlemen, I introduce you to the possible best album of the year, The North Pole Project, the junior release from Number One Gun.", "author":"Sean Collins", "sourceUrl":"http://feeds.feedburner.com/~r/musicemissions/reviews/~3/275306010/index.php", "date":"Wed, 23 Apr 2008 06:20:15 +0000", "artist":"Number One Gun", "source":"http://feeds.feedburner.com/~r/musicemissions/reviews/~3/275306010/index.php"}, {"title":"Expect The Impossible", "url":"http://www.idiomag.com/peek/29761/?utm_source=ec276ee52a19142f294e7c8c1a50114b&utm_medium=link&utm_campaign=api", "description":"Calling all Christian artists; whether your style is contemporary Christian music, gospel music, praise and worship, inspirational, holy hip hop, reggae, or Christian rock, we want to feature you. Our Christian youth magazine has a strong Christian music magazine influence and we want to showcase emergingor established Christian artists.", "author":"Kofo", "sourceUrl":"http://www.streetbrand.com/music/stellar-kart-expect-the-impossible.html", "date":"Fri, 28 Mar 2008 01:45:24 +0000", "artist":"Stellar Kart", "source":"http://www.streetbrand.com/music/stellar-kart-expect-the-impossible.html"}]}
@@ -0,0 +1 @@
1
+ {"artists":[{"title":"Family Force 5", "value":100}, {"title":"Lenny Kravitz", "value":100}, {"title":"Goo Goo Dolls", "value":100}, {"title":"BarlowGirl", "value":100}, {"title":"The O.C. Supertones", "value":100}, {"title":"The Elms", "value":100}, {"title":"Big Dismal", "value":100}, {"title":"12 Stones", "value":100}, {"title":"Nevertheless", "value":100}, {"title":"M.I.A.", "value":100}, {"title":"The Classic Crime", "value":100}, {"title":"River City High", "value":100}, {"title":"Junior Senior", "value":100}, {"title":"Savatage", "value":100}, {"title":"Mute Math", "value":100}, {"title":"Project 86", "value":100}, {"title":"Maroon 5", "value":99}, {"title":"Sonicflood", "value":99}, {"title":"The Ataris", "value":98}, {"title":"Spank Rock", "value":98}]}
@@ -0,0 +1 @@
1
+ {"articles":[{"title":"NINE INCH NAILS: New Video Interview With TRENT REZNOR Posted Online", "url":"http://www.idiomag.com/peek/55276/?utm_source=ec276ee52a19142f294e7c8c1a50114b&utm_medium=link&utm_campaign=api", "description":"Alessandro Cortini, keyboard player for NINE INCH NAILS, announced least week that he is leaving the band to concentrate on his own projects. NINE INCH NAILS has tapped LOSTPROPHETS' Ilan Rubin to handle the drum duties for the group on the road beginning in early 2009. Josh Freese, who made his final appearance with NINE INCH NAILS in Las Vegas on December 13, played with the band for the last three years, joining the lineup in late 2005.", "author":"BLABBERMOUTH.NET Latest News", "sourceUrl":"http://www.roadrunnerrecords.com/blabbermouth.net/news.aspx?mode=Article&newsitemID=111028", "date":"Wed, 17 Dec 2008 18:55:25 +0000", "artist":"Trent Reznor", "source":"http://www.roadrunnerrecords.com/blabbermouth.net/news.aspx?mode=Article&newsitemID=111028"}, {"title":"Seether’s Finding Beauty In Negative Spaces Doesn’t Get Enough Credit", "url":"http://www.idiomag.com/peek/55270/?utm_source=ec276ee52a19142f294e7c8c1a50114b&utm_medium=link&utm_campaign=api", "description":"Seether : Finding Beauty In Negative Spaces is an album that I bought earlier this year when I took over The Rock Dose. Amongst all the Schlock or Cock rock, whatever you want to call most of it these days, Seether is a bit different in my opinion. Tags : Finding Beauty In Negative Space, seether, Shaun MorganShare This", "author":"Scott", "sourceUrl":"http://www.therockdose.com/seethers-finding-beauty-in-negative-spaces-doesnt-get-enough-credit/", "date":"Wed, 17 Dec 2008 17:48:32 +0000", "artist":"Seether", "source":"http://www.therockdose.com/seethers-finding-beauty-in-negative-spaces-doesnt-get-enough-credit/"}, {"title":"The 'Gum Drop LXVIII: Hear New Appleseed Cast, Win A Crosley Turntable", "url":"http://www.idiomag.com/peek/55269/?utm_source=ec276ee52a19142f294e7c8c1a50114b&utm_medium=link&utm_campaign=api", "description":"In February, longtime California to Kansas post rockers the Appleseed Cast will release their sixth studio album Sagarmatha, the first since 2006's Peregrine. Sagarmatha is out 2/17 via The Militia Group. This week we also offered the chance to win a Crosley CR40 Mini Turntable.", "author":"Stereogum", "sourceUrl":"http://feeds.feedburner.com/~r/stereogum/cBYa/~3/487756471/the-gum-drop-lxviii-hear-new-appleseed-cast-win-a_041901.html", "date":"Wed, 17 Dec 2008 17:47:22 +0000", "artist":"Drop", "source":"http://feeds.feedburner.com/~r/stereogum/cBYa/~3/487756471/the-gum-drop-lxviii-hear-new-appleseed-cast-win-a_041901.html"}, {"title":"Chris Martin on Coldplay Breakup", "url":"http://www.idiomag.com/peek/55266/?utm_source=ec276ee52a19142f294e7c8c1a50114b&utm_medium=link&utm_campaign=api", "description":" We have split up on this tour, he confessed to the Daily Mirror. So what qualifies as bad news in the Coldplay household? Well, putting things into perspective, there hasn't been anything that bad for a while, Martin said.", "author":"Matt Kiser", "sourceUrl":"http://www.spin.com/articles/chris-martin-coldplay-breakup", "date":"Wed, 17 Dec 2008 17:27:17 +0000", "artist":"Coldplay", "source":"http://www.spin.com/articles/chris-martin-coldplay-breakup"}, {"title":"No Doubt: Tour But No Album in 2009", "url":"http://www.idiomag.com/peek/55265/?utm_source=ec276ee52a19142f294e7c8c1a50114b&utm_medium=link&utm_campaign=api", "description":"Sorry, No Doubt fans, you're going to have to wait for new music. [ We'll have ] a mobile studio on the bus and eventually get to a new No Doubt record. I can play reggae music to my grave.", "author":"Matt Kiser", "sourceUrl":"http://www.spin.com/articles/no-doubt-tour-no-album-2009", "date":"Wed, 17 Dec 2008 17:27:15 +0000", "artist":"No Doubt", "source":"http://www.spin.com/articles/no-doubt-tour-no-album-2009"}, {"title":"Keane and Kanye Collaborate", "url":"http://www.idiomag.com/peek/55263/?utm_source=ec276ee52a19142f294e7c8c1a50114b&utm_medium=link&utm_campaign=api", "description":"So it makes sense that it was the place where mutual musical appreciators Keane and Kanye West first made sweet music together. Earlier this year, Keane and Kanye shared an amazing night in the studio in Paris where they gushed about each other's work. So much, in fact, that Keane's infatuation with West hasn't dissipated.", "author":"Matt Kiser", "sourceUrl":"http://www.spin.com/articles/keane-and-kanye-collaborate", "date":"Wed, 17 Dec 2008 17:27:12 +0000", "artist":"Keane", "source":"http://www.spin.com/articles/keane-and-kanye-collaborate"}, {"title":"Exclusive: Fall Out Boy's Impromptu NYC Gig", "url":"http://www.idiomag.com/peek/55262/?utm_source=ec276ee52a19142f294e7c8c1a50114b&utm_medium=link&utm_campaign=api", "description":"Fall Out Boy fought the law in New York's Washington Square Park on Monday afternoon, and the law won, mostly. Watch our exclusive video, provided by Fall Out Boy themselves, and see the guys confronting the police. Oh, and at the 6:00 mark, Pete shows off Blackberry pix of his newborn son.", "author":"Matt Kiser", "sourceUrl":"http://www.spin.com/articles/exclusive-fall-out-boys-impromptu-nyc-gig", "date":"Wed, 17 Dec 2008 17:27:08 +0000", "artist":"Fall Out Boy", "source":"http://www.spin.com/articles/exclusive-fall-out-boys-impromptu-nyc-gig"}, {"title":"Franz Ferdinand - Tonight: Franz Ferdinand", "url":"http://www.idiomag.com/peek/55252/?utm_source=ec276ee52a19142f294e7c8c1a50114b&utm_medium=link&utm_campaign=api", "description":"Naming themselves after the archduke whose assassination sparked the First World War, the band mix grandeur and pretension with a shrewd pop touch. Sitting idle since 2005, ‘ Tonight : Franz Ferdinand ’ is an album long delayed. Refining and transcending their familiar pop formula, ‘ Tonight : Franz Ferdinand ’ is the band’s most complete work to date.", "author":"Robin Murray", "sourceUrl":"http://www.clashmusic.com/reviews/franz-ferdinand", "date":"Wed, 17 Dec 2008 16:19:57 +0000", "artist":"Franz Ferdinand", "source":"http://www.clashmusic.com/reviews/franz-ferdinand"}, {"title":"Tragic O'Hara - Above The Below", "url":"http://www.idiomag.com/peek/55251/?utm_source=ec276ee52a19142f294e7c8c1a50114b&utm_medium=link&utm_campaign=api", "description":"' Above The Below' is simplicity ; Of course you do. Tracklisting : 1 Caught Between The Devil2. Give Me A ReasonProduced by : Steven McIntyre", "author":"mark191082", "sourceUrl":"http://hangout.altsounds.com/reviews/104097-tragic-ohara-above-the-below.html", "date":"Wed, 17 Dec 2008 16:09:03 +0000", "artist":"Tragic", "source":"http://hangout.altsounds.com/reviews/104097-tragic-ohara-above-the-below.html"}, {"title":"Courteeners try different approach on new album", "url":"http://www.idiomag.com/peek/55244/?utm_source=ec276ee52a19142f294e7c8c1a50114b&utm_medium=link&utm_campaign=api", "description":"Morrissey's favourite band, The Courteeners, have plans afoot for their next album. Number two will be completely different to album number one. Jude album, which peaked in the UK album charts at # 4", "author":"Twisted Ear News", "sourceUrl":"http://www.twistedear.com/index.php/News/Courteeners-try-different-approach-on-new-album.html", "date":"Wed, 17 Dec 2008 14:17:21 +0000", "artist":"The Courteeners", "source":"http://www.twistedear.com/index.php/News/Courteeners-try-different-approach-on-new-album.html"}]}
@@ -0,0 +1 @@
1
+ {"profile":{"artist":[{"title":"A Perfect Circle", "value":100}, {"title":"Verdena", "value":100}, {"title":"Tammany Hall NYC", "value":100}, {"title":"Army of Me", "value":100}, {"title":"Avion", "value":100}, {"title":"Radish", "value":100}, {"title":"Travis Barker", "value":100}, {"title":"Feliciano", "value":100}, {"title":"Fiction Plane", "value":100}, {"title":"Jeremiah Freed", "value":100}, {"title":"Jimmie's Chicken Shack", "value":100}, {"title":"Jonny Lives", "value":100}, {"title":"Magna-Fi", "value":100}, {"title":"Mother Tongue", "value":100}, {"title":"Mrnorth", "value":100}, {"title":"needtobreathe", "value":100}, {"title":"Seven And The Sun", "value":100}, {"title":"Volumen Cero", "value":100}, {"title":"16 Frames", "value":100}, {"title":"Soulidium", "value":100}, {"title":"Mercy Arms", "value":100}, {"title":"EchoBrain", "value":100}, {"title":"Ingram Hill", "value":100}, {"title":"Welbilt", "value":100}, {"title":"Wideawake", "value":100}, {"title":"Valentina Gravili", "value":100}, {"title":"Adelayda", "value":100}, {"title":"Alston", "value":100}, {"title":"Cetra", "value":100}, {"title":"Athenaeum", "value":100}]}}
@@ -0,0 +1,144 @@
1
+ Acid Jazz
2
+ Acoustic
3
+ African
4
+ Alt-Country
5
+ Alternative
6
+ Alternative Rap
7
+ Alternative Rock
8
+ Ambient
9
+ Americana
10
+ Avant-garde
11
+ Baroque
12
+ Black Metal
13
+ Bluegrass
14
+ Blues
15
+ Blues Rock
16
+ Boogie
17
+ Breakbeat
18
+ Britpop
19
+ Celtic
20
+ Chillout
21
+ Christian
22
+ Christian Rock
23
+ Classic Rock
24
+ Classical
25
+ Classical Crossover
26
+ Contemporary Classical
27
+ Country
28
+ Dance
29
+ Dancehall
30
+ Dark Ambient
31
+ Darkwave
32
+ Death Metal
33
+ Deathrock
34
+ Dirty South
35
+ Disco
36
+ Doom Metal
37
+ Downtempo
38
+ Dream Pop
39
+ Drum and Bass
40
+ Dub
41
+ Dubstep
42
+ Dubstep
43
+ East-Coast Rap
44
+ Easy Listening
45
+ Ebm
46
+ Electro
47
+ Electronic
48
+ Electronica
49
+ Emo
50
+ Emocore
51
+ Ethnic
52
+ Experimental
53
+ Folk
54
+ Folk Metal
55
+ Free Jazz
56
+ Funk
57
+ Fusion
58
+ Gangsta Rap
59
+ Garage
60
+ Glitch
61
+ Gospel
62
+ Goth
63
+ Gothic
64
+ Gothic Metal
65
+ Gothic Rock
66
+ Grindcore
67
+ Grunge
68
+ Hard Rock
69
+ Hardcore
70
+ Heavy Metal
71
+ Hip-Hop
72
+ House
73
+ IDM
74
+ Indie
75
+ Indie Pop
76
+ Indie Rock
77
+ Industrial
78
+ Industrial Metal
79
+ Instrumental
80
+ J-pop
81
+ J-Rock
82
+ Jazz
83
+ JPop
84
+ Latin
85
+ Lo-fi
86
+ Lounge
87
+ Medieval
88
+ Mellow
89
+ Melodic Death Metal
90
+ Melodic Hardcore
91
+ Metal
92
+ Metalcore
93
+ Minimal
94
+ Musical
95
+ New Age
96
+ New Wave
97
+ Noise
98
+ Noisecore
99
+ Nu Metal
100
+ Opera
101
+ Piano
102
+ Pop
103
+ Pop Punk
104
+ Pop Rock
105
+ Pop-Rap
106
+ Post-Hardcore
107
+ Post-Punk
108
+ Post-Rock
109
+ Power Metal
110
+ Powerpop
111
+ Progressive Metal
112
+ Progressive Rock
113
+ Psychedelic Rock
114
+ Psytrance
115
+ Punk
116
+ Punk Rock
117
+ Rap
118
+ Reggae
119
+ Rhythm and Blues
120
+ Rnb
121
+ Rock
122
+ Romantic
123
+ Roots
124
+ Roots Reggae
125
+ Screamo
126
+ Shoegaze
127
+ Ska
128
+ Sludge
129
+ Soul
130
+ Soundtrack
131
+ Southern Rap
132
+ Stoner Rock
133
+ Surf
134
+ Symphonic Metal
135
+ Synthpop
136
+ Tech-House
137
+ Techno
138
+ Thrash Metal
139
+ Trance
140
+ Trip-hop
141
+ Viking Metal
142
+ West-Coast Rap
143
+ World
144
+ World Fusion
@@ -0,0 +1 @@
1
+ {"photos":[{"title":"717800812.jpg", "url":"http://images.idiomag.com/717800812.jpg", "date":"Wed, 17 Dec 2008 17:47:24 +0000", "width":465, "height":465}, {"title":"233012277.jpg", "url":"http://images.idiomag.com/233012277.jpg", "date":"Wed, 17 Dec 2008 14:17:17 +0000", "width":465, "height":560}, {"title":"971757570.jpg", "url":"http://images.idiomag.com/971757570.jpg", "date":"Wed, 17 Dec 2008 08:42:37 +0000", "width":465, "height":560}, {"title":"473055208.jpg", "url":"http://images.idiomag.com/473055208.jpg", "date":"Wed, 17 Dec 2008 04:38:47 +0000", "width":460, "height":560}]}
@@ -0,0 +1 @@
1
+ {"tracks":[{"title":"Something I Can Never Have", "location":"http://fuelfriendsblog.com/listenup/Bridge%20School%20Benefit%202006!/02%20Something%20I%20Can%20Never%20Have.mp3"}, {"title":"Interview", "location":"http://symphonyofnoise.com/ninfiles/nails/Audio/Interview Discs/JJJ TR YZ Interview 01.mp3"}, {"title":"Like Suicide", "location":"http://www.teenamariephotography.com/music/01 Like Suicide.mp3"}, {"title":"Bathwater - No Doubt, Dumont, T.", "location":"http://drummerworld.com/drummers/../Sound/adrianyoungbathwater1.mp3"}, {"title":"Spiderwebs (Live) (Video)", "location":"http://www.loosenutscc.com/~members/jenaygtp/ICHS96/No Doubt - Spiderwebs.mp3"}, {"title":"Making Out", "location":"http://vorpalstick.com/stuff/audio/no_doubt/(2001) No Doubt - Rock Steady/04%20-%20No%20Doubt%20-%20Making%20Out.mp3"}, {"title":"Don't Speak - No Doubt, Stefani, Eric", "location":"http://comfortinglie.com/media/ROS/Philly/No%20Doubt%20-%20Don't%20Speak.mp3"}, {"title":"Underneath It All - featuring Lady Saw", "location":"http://vorpalstick.com/stuff/audio/no_doubt/(2001) No Doubt - Rock Steady/05%20-%20No%20Doubt%20-%20Underneath%20It%20All.mp3"}, {"title":"Hey Baby (Video)", "location":"http://vorpalstick.com/stuff/audio/no_doubt/(2001) No Doubt - Rock Steady/03%20-%20No%20Doubt%20-%20Hey%20Baby.mp3"}, {"title":"Don't Speak (Video)", "location":"http://designsbysunny2.net/Music/Pop/PopA-Z/No Doubt - Don't Speak.mp3"}]}
@@ -0,0 +1 @@
1
+ {"tracks":[{"title":"Something I Can Never Have", "location":"http://www.idiomag.com/video/UEW8riKU_tE", "info":"http://www.youtube.com/watch?v=UEW8riKU_tE", "thumb":"http://img.youtube.com/vi/UEW8riKU_tE/1.jpg"}, {"title":"Interview", "location":"http://www.idiomag.com/video/xr8FXnur5Z4", "info":"http://www.youtube.com/watch?v=xr8FXnur5Z4", "thumb":"http://img.youtube.com/vi/xr8FXnur5Z4/1.jpg"}, {"title":"Head Like a Hole", "location":"http://www.idiomag.com/video/6lzb-jYZrLE", "info":"http://www.youtube.com/watch?v=6lzb-jYZrLE", "thumb":"http://img.youtube.com/vi/6lzb-jYZrLE/1.jpg"}, {"title":"Breakdown", "location":"http://www.idiomag.com/video/BhBQTpPfUAc", "info":"http://www.youtube.com/watch?v=BhBQTpPfUAc", "thumb":"http://img.youtube.com/vi/BhBQTpPfUAc/1.jpg"}, {"title":"Fake It", "location":"http://www.idiomag.com/video/7j2DHUw8SZg", "info":"http://www.youtube.com/watch?v=7j2DHUw8SZg", "thumb":"http://img.youtube.com/vi/7j2DHUw8SZg/1.jpg"}, {"title":"Rise Above This", "location":"http://www.idiomag.com/video/NO2nqcN3EGg", "info":"http://www.youtube.com/watch?v=NO2nqcN3EGg", "thumb":"http://img.youtube.com/vi/NO2nqcN3EGg/1.jpg"}, {"title":"In My Place", "location":"http://www.idiomag.com/video/_XonuuQZSCE", "info":"http://www.youtube.com/watch?v=_XonuuQZSCE", "thumb":"http://img.youtube.com/vi/_XonuuQZSCE/1.jpg"}, {"title":"Clocks", "location":"http://www.idiomag.com/video/c9j_RZDqYc4", "info":"http://www.youtube.com/watch?v=c9j_RZDqYc4", "thumb":"http://img.youtube.com/vi/c9j_RZDqYc4/1.jpg"}, {"title":"Viva La Vida", "location":"http://www.idiomag.com/video/dvgZkm1xWPE", "info":"http://www.youtube.com/watch?v=dvgZkm1xWPE", "thumb":"http://img.youtube.com/vi/dvgZkm1xWPE/1.jpg"}, {"title":"Violet Hill", "location":"http://www.idiomag.com/video/IakDItZ7f7Q", "info":"http://www.youtube.com/watch?v=IakDItZ7f7Q", "thumb":"http://img.youtube.com/vi/IakDItZ7f7Q/1.jpg"}]}
@@ -0,0 +1 @@
1
+ {"articles":[{"title":"BarlowGirl Delivers The Must-Have Christmas Album Of 2008", "url":"http://www.idiomag.com/peek/53465/?utm_source=ec276ee52a19142f294e7c8c1a50114b&utm_medium=link&utm_campaign=api", "description":"Making a Christmas record has been a dream of the girls since their youth, so the recent release of Home For Christmas has definitely had BarlowGirl ready for the holiday season for quite some time. ” “ The must have Christmas album of 2008! Bottom line - BarlowGirl delivers the must have Christmas album of 2008. ” - About. com For more information about BarlowGirl and for the most recent happenings and future tour dates, please visit BarlowGirl. com or Myspace. com / barlowgirl.", "author":"Vining Media Relations", "sourceUrl":"http://feeds.feedburner.com/~r/LightvoxChristianMusicMagazine/~3/475578224/barlowgirl-delivers-the-must-have-christmas-album-of-2008.html", "date":"Sun, 07 Dec 2008 11:11:46 +0000", "artist":"BarlowGirl", "source":"http://feeds.feedburner.com/~r/LightvoxChristianMusicMagazine/~3/475578224/barlowgirl-delivers-the-must-have-christmas-album-of-2008.html"}, {"title":"Congratulations Third Day - Third Day Wins First American Music Award", "url":"http://www.idiomag.com/peek/51389/?utm_source=ec276ee52a19142f294e7c8c1a50114b&utm_medium=link&utm_campaign=api", "description":"Due to a non stop touring schedule, band members were unable to attend the awards show which aired on ABC, live from the NOKIA Theater in Los Angeles. About Third Day : Over the past decade, rock band Third Day ( made up of members Mac Powell, Tai Anderson, David Carr and Mark Lee ) has racked up 25 No. For more information on Third Day, please visit : www. ThirdDay. com.", "author":"Provident Label Group", "sourceUrl":"http://www.lightvox.com/congratulations-third-day-third-day-wins-first-american-music-award.html", "date":"Wed, 26 Nov 2008 01:21:48 +0000", "artist":"Third Day", "source":"http://www.lightvox.com/congratulations-third-day-third-day-wins-first-american-music-award.html"}, {"title":"The Afters 12 Days of Christmas Tour", "url":"http://www.idiomag.com/peek/51387/?utm_source=ec276ee52a19142f294e7c8c1a50114b&utm_medium=link&utm_campaign=api", "description":"The AftersTHE AFTERS RING IN HOLIDAY SEASON WITH 12 DAYS OF CHRISTMAS TOUR “ Keeping Me Alive ” Used In Promotion for FOX’s “ The Secret Millionaire ” “ Keeping Me Alive ” is off of The Afters’ sophomore project Never Going Back to Ok Songs from “ Never Going Back to Ok ” were also used on the Rachael Ray show and Grey’s Anatomy as well as on Dr Phil.", "author":"The M Collective", "sourceUrl":"http://www.lightvox.com/the-afters-12-days-of-christmas-tour.html", "date":"Wed, 26 Nov 2008 01:19:18 +0000", "artist":"The Afters", "source":"http://www.lightvox.com/the-afters-12-days-of-christmas-tour.html"}, {"title":"New NOFX album in the works", "url":"http://www.idiomag.com/peek/51222/?utm_source=ec276ee52a19142f294e7c8c1a50114b&utm_medium=link&utm_campaign=api", "description":"According to a bulletin from Descendents on their current status, drummer and producer Bill Stevenson is working on the next full length from NOFX. The bulletin doesn't give too much in the way of details but NOFX has been touring extensively in the past few years since the release of 2006's Wolves in Wolves' Clothing. Stevenson was also behind the boards for that album.", "author":"Sputnikmusic.com", "sourceUrl":"http://www.sputnikmusic.com/news.php?newsid=7975", "date":"Sun, 23 Nov 2008 22:30:02 +0000", "artist":"NOFX", "source":"http://www.sputnikmusic.com/news.php?newsid=7975"}, {"title":"GREAT WHITE Comes Out On Top In 'VH1 Classic Celebrity Bowl-Off'", "url":"http://www.idiomag.com/peek/51159/?utm_source=ec276ee52a19142f294e7c8c1a50114b&utm_medium=link&utm_campaign=api", "description":", and The Doug Flutie, Jr Foundation for Autism. The rockers were awarded with trophies and VH1 bowling shirts. VH1 Classic's Rock Autism campaign is designed to help educate parents and build awareness about autism and to raise funds for a variety of autism research, advocacy and support organizations.", "author":"BLABBERMOUTH.NET Latest News", "sourceUrl":"http://www.roadrunnerrecords.com/blabbermouth.net/news.aspx?mode=Article&newsitemID=109460", "date":"Sun, 23 Nov 2008 08:24:46 +0000", "artist":"GOO GOO DOLLS", "source":"http://www.roadrunnerrecords.com/blabbermouth.net/news.aspx?mode=Article&newsitemID=109460"}, {"title":"Mae To Release Three EP’s in 2009; Free Song Available Now", "url":"http://www.idiomag.com/peek/50195/?utm_source=ec276ee52a19142f294e7c8c1a50114b&utm_medium=link&utm_campaign=api", "description":"Every month in 2009 Mae will be bringing you a new song that is part of a bigger story. These songs are like the months that make up the year. These songs are like years that make up a life.", "author":"Bryce Jacobson", "sourceUrl":"http://www.drivenfaroff.com/2008/11/17/mae-to-release-three-eps-in-2009-free-song-available-now/", "date":"Tue, 18 Nov 2008 06:03:27 +0000", "artist":"Mae", "source":"http://www.drivenfaroff.com/2008/11/17/mae-to-release-three-eps-in-2009-free-song-available-now/"}, {"title":"Relient K On The Tonight Show", "url":"http://www.idiomag.com/peek/54984/?utm_source=ec276ee52a19142f294e7c8c1a50114b&utm_medium=link&utm_campaign=api", "description":"<p><a href="http://www.myspace.com/relientk" target="_blank">Relient K</a> will be peforming on The Tonight Show with Jay Leno tomorrow tonight, Tuesday December 16th.Join the Fun: <a href="http://www.drivenfaroff.com/contact/">Become A Part of Driven Far Off Today</a> We are looking for music writers and reviewers. Contact us for details.</p><p><a href="http://feeds.feedburner.com/~f/drivenfaroff?a=DszEO"></a> <a href="http://feeds.feedburner.com/~f/drivenfaroff?a=9jqAO"></a> <a href="http://feeds.feedburner.com/~f/drivenfaroff?a=KKiJo"></a> <a href="http://feeds.feedburner.com/~f/drivenfaroff?a=ddFIO"></a> <a...", "author":"Bryce Jacobson", "sourceUrl":"http://www.drivenfaroff.com/2008/12/15/relient-k-on-the-tonight-show/", "date":"Tue, 16 Dec 2008 06:50:02 +0000", "artist":"Relient K", "source":"http://www.drivenfaroff.com/2008/12/15/relient-k-on-the-tonight-show/"}, {"title":"ET Rocks Out with Lifehouse", "url":"http://www.idiomag.com/peek/54813/?utm_source=ec276ee52a19142f294e7c8c1a50114b&utm_medium=link&utm_campaign=api", "description":"<p>ET has the details...<a href="http://www.etonline.com/news/2008/12/68861/index.html"></a>ET's with the rock band Lifehouse, who along with Heineken, gave 60 college grad students the chance to shoot the video for their single "Make Me Over." </p><p>Heineken provided grants to USC’s School of Cinematic Arts graduate students to create music videos for two bands: One...", "author":"RSS - Music", "sourceUrl":"http://www.etonline.com/news/2008/12/68861/index.html", "date":"Mon, 15 Dec 2008 05:12:24 +0000", "artist":"Lifehouse", "source":"http://www.etonline.com/news/2008/12/68861/index.html"}, {"title":"Aerosmith frontman performs with Trans-Siberian Orchestra in New York, New Jersey", "url":"http://www.idiomag.com/peek/54745/?utm_source=ec276ee52a19142f294e7c8c1a50114b&utm_medium=link&utm_campaign=api", "description":"Commented Trans Siberian Orchestra guitarist Chris Caffery ( also of Savatage ) : [ Playing with Steven Tyler at the Nassau Coliseum and Izod Arena ] was extra special for a ton of reasons. Headlining our fifth show there and having Steven Tyler as a special guest was so incredible! Fan filmed video footage of Tyler's December 12, 2008 performance with the Trans Siberian Orchestra at the Nassau Veterans Memorial Coliseum in Uniondale, New York can be viewed below.", "author":"Metalrage.com Frontpage News", "sourceUrl":"http://www.metalrage.com/news/46232", "date":"Mon, 15 Dec 2008 00:40:37 +0000", "artist":"Trans-Siberian Orchestra", "source":"http://www.metalrage.com/news/46232"}, {"title":"Anberlin - New Surrender", "url":"http://www.idiomag.com/peek/53755/?utm_source=ec276ee52a19142f294e7c8c1a50114b&utm_medium=link&utm_campaign=api", "description":"Anberlin have released many albums over the past six years according to their official page, this is however the first I have heard of them. The power and dominance these songs have are remarkable. In the coming year Anberlin are going to be making a large impact on the music industry.", "author":"RoomThirteen.com CD Reviews", "sourceUrl":"http://www.roomthirteen.com/cgi-bin/cd_view.cgi?CDID=9631", "date":"Tue, 09 Dec 2008 07:01:05 +0000", "artist":"Anberlin", "source":"http://www.roomthirteen.com/cgi-bin/cd_view.cgi?CDID=9631"}]}
@@ -0,0 +1 @@
1
+ {"name":"Jonathan", "username":"Titanous", "email_sha1":"e6fbe7774a09bd85aabc4943433858e82ce71e0f", "url":"http://www.idiomag.com/user/Titanous/?utm_source=ec276ee52a19142f294e7c8c1a50114b&utm_medium=link&utm_campaign=api", "tags":{"tag":[{"name":"Pop Punk", "value":1}, {"name":"Christian Rock", "value":1}, {"name":"Rock", "value":1}, {"name":"Christian", "value":0.8}, {"name":"Alternative", "value":0.79}, {"name":"Emo", "value":0.76}, {"name":"Alternative Rock", "value":0.67}, {"name":"Indie", "value":0.54}, {"name":"Punk", "value":0.43}, {"name":"Hard Rock", "value":0.37}, {"name":"Metal", "value":0.32}, {"name":"Industrial", "value":0.24}, {"name":"Punk Rock", "value":0.23}, {"name":"Pop", "value":0.19}, {"name":"Screamo", "value":0.18}, {"name":"Indie Rock", "value":0.11}]}, "artists":{"artist":[{"title":"Falling Up", "value":1.0}, {"title":"MxPx", "value":1.0}, {"title":"Number One Gun", "value":1.0}, {"title":"Building 429", "value":1.0}, {"title":"Trans-Siberian Orchestra", "value":1.0}, {"title":"tobyMac", "value":1.0}, {"title":"Newsboys", "value":1.0}, {"title":"Thousand Foot Krutch", "value":1.0}, {"title":"Relient K", "value":1.0}, {"title":"The Afters", "value":1.0}, {"title":"Skillet", "value":1.0}, {"title":"Stellar Kart", "value":1.0}, {"title":"Switchfoot", "value":1.0}, {"title":"Kutless", "value":1.0}, {"title":"Sanctus Real", "value":1.0}, {"title":"Hawk Nelson", "value":1.0}, {"title":"Anberlin", "value":1.0}, {"title":"Lifehouse", "value":1.0}]}}
@@ -0,0 +1 @@
1
+ {"articles":[{"title":"The Afters 12 Days of Christmas Tour", "url":"http://www.idiomag.com/peek/51387/?utm_source=ec276ee52a19142f294e7c8c1a50114b&utm_medium=link&utm_campaign=api", "description":"The AftersTHE AFTERS RING IN HOLIDAY SEASON WITH 12 DAYS OF CHRISTMAS TOUR “ Keeping Me Alive ” Used In Promotion for FOX’s “ The Secret Millionaire ” “ Keeping Me Alive ” is off of The Afters’ sophomore project Never Going Back to Ok Songs from “ Never Going Back to Ok ” were also used on the Rachael Ray show and Grey’s Anatomy as well as on Dr Phil.", "author":"The M Collective", "sourceUrl":"http://www.lightvox.com/the-afters-12-days-of-christmas-tour.html", "date":"Wed, 26 Nov 2008 01:19:18 +0000", "artist":"The Afters", "source":"http://www.lightvox.com/the-afters-12-days-of-christmas-tour.html"}, {"title":"Anberlin - New Surrender", "url":"http://www.idiomag.com/peek/53755/?utm_source=ec276ee52a19142f294e7c8c1a50114b&utm_medium=link&utm_campaign=api", "description":"Anberlin have released many albums over the past six years according to their official page, this is however the first I have heard of them. The power and dominance these songs have are remarkable. In the coming year Anberlin are going to be making a large impact on the music industry.", "author":"RoomThirteen.com CD Reviews", "sourceUrl":"http://www.roomthirteen.com/cgi-bin/cd_view.cgi?CDID=9631", "date":"Tue, 09 Dec 2008 07:01:05 +0000", "artist":"Anberlin", "source":"http://www.roomthirteen.com/cgi-bin/cd_view.cgi?CDID=9631"}]}
@@ -0,0 +1 @@
1
+ {"photos":[{"title":"796541933.jpg", "url":"http://images.idiomag.com/796541933.jpg", "date":"Wed, 26 Nov 2008 01:21:54 +0000", "width":465, "height":560}, {"title":"164766957.jpg", "url":"http://images.idiomag.com/164766957.jpg", "date":"Tue, 18 Nov 2008 06:03:29 +0000", "width":465, "height":560}]}
@@ -0,0 +1 @@
1
+ {"tracks":[{"title":"For the Moments I Feel Faint", "location":"http://kams.europe2blog.fr/_open_y0ur_eyes_/files/relient_k_for_the_moments_i_feel_faint.mp3"}, {"title":"Breakdown", "location":"http://kams.europe2blog.fr/_open_y0ur_eyes_/files/relient_k_breakdown.mp3"}, {"title":"Pressing On", "location":"http://www.angelfire.com/music5/relient_k/pressingon.mp3"}, {"title":"Who I Am Hates Who I've Been", "location":"http://www.freewebs.com/clamclan/Relient%20K%20Who%20I%20Am%20Hates%20Who%20Ive%20Been.mp3"}, {"title":"Quasimodo", "location":"http://lifehouse-media.com/downloads/lifehouse/audio/live/Lifehouse%20-%20Quasimodo%20(Live).mp3"}, {"title":"Only One", "location":"http://lifehouse-media.com/downloads/lifehouse/audio/live/lifehouse%20-%20only%20one%20(live%20extended).mp3"}, {"title":"I Want You to Know", "location":"http://lifehouse-media.com/downloads/lifehouse/audio/bsides/Lifehouse%20-%20I%20Want%20You%20To%20Know%20(bonus%20track).mp3"}, {"title":"Everything", "location":"http://lifehouse-media.com/downloads/lifehouse/audio/live/Lifehouse%20-%20Everything(Live).mp3"}, {"title":"What's Wrong With That", "location":"http://romeo2b364.free.fr/Lifehouse/Lifehouse%20-%20What's%20Wrong%20With%20That%20(B-Side.mp3"}, {"title":"Signs of Life", "location":"http://lifehouse-media.com/downloads/lifehouse/audio/bsides/Lifehouse%20-%20Signs%20of%20Life.mp3"}]}
@@ -0,0 +1 @@
1
+ {"tracks":[{"title":"Let it all Out", "location":"http://www.idiomag.com/video/B0En7JZ0KQc", "info":"http://www.youtube.com/watch?v=B0En7JZ0KQc", "thumb":"http://img.youtube.com/vi/B0En7JZ0KQc/1.jpg"}, {"title":"Mood Rings", "location":"http://www.idiomag.com/video/HuPuc8zbQ5s", "info":"http://www.youtube.com/watch?v=HuPuc8zbQ5s", "thumb":"http://img.youtube.com/vi/HuPuc8zbQ5s/1.jpg"}, {"title":"Must Have Done Something Right", "location":"http://www.idiomag.com/video/52eehbF1BXY", "info":"http://www.youtube.com/watch?v=52eehbF1BXY", "thumb":"http://img.youtube.com/vi/52eehbF1BXY/1.jpg"}, {"title":"Sadie Hawkins Dance", "location":"http://www.idiomag.com/video/0hmjVjjtFdE", "info":"http://www.youtube.com/watch?v=0hmjVjjtFdE", "thumb":"http://img.youtube.com/vi/0hmjVjjtFdE/1.jpg"}, {"title":"Deathbed", "location":"http://www.idiomag.com/video/ON7kfmG5X8w", "info":"http://www.youtube.com/watch?v=ON7kfmG5X8w", "thumb":"http://img.youtube.com/vi/ON7kfmG5X8w/1.jpg"}, {"title":"Come Back Down", "location":"http://www.idiomag.com/video/iyamZf6oMMk", "info":"http://www.youtube.com/watch?v=iyamZf6oMMk", "thumb":"http://img.youtube.com/vi/iyamZf6oMMk/1.jpg"}, {"title":"Spin", "location":"http://www.idiomag.com/video/KqLkRdTKCL4", "info":"http://www.youtube.com/watch?v=KqLkRdTKCL4", "thumb":"http://img.youtube.com/vi/KqLkRdTKCL4/1.jpg"}, {"title":"Blind", "location":"http://www.idiomag.com/video/2IhiDr6e-_8", "info":"http://www.youtube.com/watch?v=2IhiDr6e-_8", "thumb":"http://img.youtube.com/vi/2IhiDr6e-_8/1.jpg"}, {"title":"Take Me Away", "location":"http://www.idiomag.com/video/oX4Xvy6vcGw", "info":"http://www.youtube.com/watch?v=oX4Xvy6vcGw", "thumb":"http://img.youtube.com/vi/oX4Xvy6vcGw/1.jpg"}, {"title":"Storm", "location":"http://www.idiomag.com/video/QujJlmGxges", "info":"http://www.youtube.com/watch?v=QujJlmGxges", "thumb":"http://img.youtube.com/vi/QujJlmGxges/1.jpg"}]}
@@ -0,0 +1,88 @@
1
+ require File.dirname(__FILE__) + '/spec_helper'
2
+
3
+ describe 'Idiomag::Recommendation' do
4
+ before(:each) do
5
+ @recommendation = Idiomag::Recommendation.new(:apml=>'foo')
6
+ end
7
+
8
+ it 'should error if not given correct arguments' do
9
+ lambda { Idiomag::Recommendation.new }.should raise_error(ArgumentError)
10
+ end
11
+
12
+ it 'should respond_to the correct methods' do
13
+ @recommendation.respond_to?(:get).should == true
14
+ @recommendation.respond_to?(:artists).should == true
15
+ @recommendation.respond_to?(:articles).should == true
16
+ end
17
+
18
+ it 'should error on invalid get argument' do
19
+ lambda { @recommendation.get(:foo) }.should raise_error(ArgumentError)
20
+ end
21
+
22
+ it 'should error on invalid method' do
23
+ lambda { @recommendation.foo }.should raise_error(NoMethodError)
24
+ end
25
+
26
+ describe 'network lookup' do
27
+ it 'should allow valid networks' do
28
+ [:lastfm,:mog,:ilike,:mystrands,:projectplaylist,:imeem,:pandora,:bebo,:myspace,:songza].each do |n|
29
+ Idiomag::Recommendation.new(:network=>n,:user=>'foo')
30
+ end
31
+ end
32
+
33
+ it 'should not allow invalid networks' do
34
+ lambda { Idiomag::Recommendation.new(:network=>:bar,:username=>'foo') }.should raise_error(ArgumentError)
35
+ end
36
+
37
+ it 'should error if missing user' do
38
+ lambda { Idiomag::Recommendation.new(:network=>:bar) }.should raise_error(ArgumentError)
39
+ end
40
+ end
41
+
42
+ describe 'artists lookup' do
43
+ it 'should require an Array' do
44
+ lambda { Idiomag::Recommendation.new(:artist=>:foo) }.should raise_error(ArgumentError)
45
+ end
46
+
47
+ it 'should allow multiple artists' do
48
+ @data = open(Fixtures + 'recommendation_articles.json').read
49
+ Idiomag::REST.should_receive(:fetch).with('recommendation/articles',:artists=>['Anberlin','Relient K']).and_return(JSON.parse(@data))
50
+ Idiomag::Recommendation.new(:artists=>['Anberlin','Relient K']).articles
51
+ end
52
+ end
53
+
54
+ describe 'articles' do
55
+ before(:each) do
56
+ @data = open(Fixtures + 'recommendation_articles.json').read
57
+ Idiomag::REST.should_receive(:fetch).with('recommendation/articles',:apml=>'foo').and_return(JSON.parse(@data))
58
+ end
59
+
60
+ it 'should allow prefetching' do
61
+ @recommendation.get(:articles)
62
+ end
63
+
64
+ it 'should get articles' do
65
+ @recommendation.articles[0][:artist].should == 'Relient K'
66
+ @recommendation.articles[0][:description].blank?.should_not == true
67
+ end
68
+
69
+ it 'should parse the dates' do
70
+ @recommendation.articles[0][:date].class.should == Time
71
+ end
72
+ end
73
+
74
+ describe 'artists' do
75
+ before(:each) do
76
+ @data = open(Fixtures + 'recommendation_artists.json').read
77
+ Idiomag::REST.should_receive(:fetch).with('recommendation/artists',:apml=>'foo').and_return(JSON.parse(@data))
78
+ end
79
+
80
+ it 'should allow prefetching' do
81
+ @recommendation.get(:artists)
82
+ end
83
+
84
+ it 'should get artists' do
85
+ @recommendation.artists['Project 86'].should == 100
86
+ end
87
+ end
88
+ end
@@ -0,0 +1,41 @@
1
+ require File.dirname(__FILE__) + '/spec_helper.rb'
2
+
3
+ describe 'Idiomag::REST' do
4
+ before(:each) do
5
+ Idiomag::Base.api_key = 'foo'
6
+ end
7
+
8
+ it 'should require an api key' do
9
+ Idiomag::Base.api_key = nil
10
+ lambda { Idiomag::REST.fetch('foo') }.should raise_error(ArgumentError)
11
+ end
12
+
13
+ it 'should get a resource with no query and parsed JSON' do
14
+ @data = open(Fixtures + 'artist_info.json').read
15
+ HTTParty.should_receive(:get).with(Idiomag::API_URL + 'bar/json',{:query=>{:key=>'foo'},:format=>:json}).and_return(JSON.parse(@data))
16
+ Idiomag::REST.fetch('bar').class.should == Hash
17
+ end
18
+
19
+ it 'should get a resource with a query and parsed JSON' do
20
+ @data = open(Fixtures + 'artist_info.json').read
21
+ HTTParty.should_receive(:get).with(Idiomag::API_URL + 'bar/json',{:query=>{:key=>'foo',:chunky=>'bacon'}, :format=>:json}).and_return(JSON.parse(@data))
22
+ Idiomag::REST.fetch('bar',:chunky=>'bacon').class.should == Hash
23
+ end
24
+
25
+ it 'should get a resource with no query and no JSON parsing' do
26
+ @data = open(Fixtures + 'tag_list.txt').read
27
+ HTTParty.should_receive(:get).with(Idiomag::API_URL + 'bar/json',:query=>{:key=>'foo'}).and_return(@data)
28
+ Idiomag::REST.fetch('bar',{},false).class.should == String
29
+ end
30
+
31
+ it 'should raise if HTTP error 400' do
32
+ @exception = Net::HTTPServerException.new('400','')
33
+ HTTParty.should_receive(:get).and_raise(@exception)
34
+ lambda { Idiomag::REST.fetch('bar') }.should raise_error(ArgumentError)
35
+ end
36
+
37
+ it 'should raise if response blank' do
38
+ HTTParty.should_receive(:get).and_return('')
39
+ lambda { Idiomag::REST.fetch('bar') }.should raise_error(Idiomag::InvalidResult)
40
+ end
41
+ end
@@ -0,0 +1,15 @@
1
+ require 'rubygems'
2
+ require 'json'
3
+ begin
4
+ require 'spec'
5
+ rescue LoadError
6
+ gem 'rspec'
7
+ require 'spec'
8
+ end
9
+
10
+ dir = File.dirname(__FILE__)
11
+
12
+ $:.unshift(File.join(dir, '/../lib/'))
13
+ require dir + '/../lib/idiomag'
14
+
15
+ Fixtures = File.dirname(__FILE__) + '/fixtures/'
@@ -0,0 +1,149 @@
1
+ require File.dirname(__FILE__) + '/spec_helper.rb'
2
+
3
+ describe 'Idiomag::Tag' do
4
+ before(:each) do
5
+ @tag = Idiomag::Tag.new(:alternative_rock)
6
+ end
7
+
8
+ it 'should require an tag' do
9
+ lambda { Idiomag::Tag.new }.should raise_error(ArgumentError)
10
+ end
11
+
12
+ it 'should know the tag name' do
13
+ @tag.name.should == 'alternative rock'
14
+ end
15
+
16
+ it 'should respond_to the correct methods' do
17
+ @tag.respond_to?(:get).should == true
18
+ @tag.respond_to?(:name).should == true
19
+ @tag.respond_to?(:articles).should == true
20
+ @tag.respond_to?(:photos).should == true
21
+ @tag.respond_to?(:videos).should == true
22
+ @tag.respond_to?(:playlist).should == true
23
+ @tag.respond_to?(:tracks).should == true
24
+ @tag.respond_to?(:artists).should == true
25
+ end
26
+
27
+ it 'should error on invalid get argument' do
28
+ lambda { @tag.get(:foo) }.should raise_error(ArgumentError)
29
+ end
30
+
31
+ it 'should error on invalid method' do
32
+ lambda { @tag.foo }.should raise_error(NoMethodError)
33
+ end
34
+
35
+ it 'should allow symbols and strings as tag names' do
36
+ Idiomag::Tag.new(:alternative_rock)
37
+ Idiomag::Tag.new('Hip-Hop')
38
+ end
39
+
40
+ describe 'articles' do
41
+ before(:each) do
42
+ @data = open(Fixtures + 'tag_articles.json').read
43
+ Idiomag::REST.should_receive(:fetch).with('tag/articles',:tag=>'alternative rock').and_return(JSON.parse(@data))
44
+ end
45
+
46
+ it 'should allow prefetching' do
47
+ @tag.get(:articles)
48
+ end
49
+
50
+ it 'should get articles' do
51
+ @tag.articles[0][:artist].should == 'Trent Reznor'
52
+ @tag.articles[0][:description].blank?.should_not == true
53
+ end
54
+
55
+ it 'should parse the dates' do
56
+ @tag.articles[0][:date].class.should == Time
57
+ end
58
+ end
59
+
60
+ describe 'photos' do
61
+ before(:each) do
62
+ @data = open(Fixtures + 'tag_photos.json').read
63
+ Idiomag::REST.should_receive(:fetch).with('tag/photos',:tag=>'alternative rock').and_return(JSON.parse(@data))
64
+ end
65
+
66
+ it 'should allow prefetching' do
67
+ @tag.get(:photos)
68
+ end
69
+
70
+ it 'should get photos' do
71
+ @tag.photos[0][:title].should =~ /jpg/
72
+ @tag.photos[0][:url].should =~ /jpg/
73
+ @tag.photos[0][:width].class.should == Fixnum
74
+ @tag.photos[0][:height].class.should == Fixnum
75
+ end
76
+
77
+ it 'should parse the dates' do
78
+ @tag.photos[0][:date].class.should == Time
79
+ end
80
+ end
81
+
82
+ describe 'videos' do
83
+ before(:each) do
84
+ @data = open(Fixtures + 'tag_videos.json').read
85
+ Idiomag::REST.should_receive(:fetch).with('tag/videos',:tag=>'alternative rock').and_return(JSON.parse(@data))
86
+ end
87
+
88
+ it 'should allow prefetching' do
89
+ @tag.get(:videos)
90
+ end
91
+
92
+ it 'should get videos' do
93
+ @tag.videos[0][:location].should =~ /video/
94
+ @tag.videos[0][:info].should =~ /youtube/
95
+ @tag.videos[0][:thumb].should =~ /jpg/
96
+ end
97
+ end
98
+
99
+ describe 'playlist' do
100
+ before(:each) do
101
+ @data = open(Fixtures + 'tag_playlist.json').read
102
+ Idiomag::REST.should_receive(:fetch).with('tag/playlist',:tag=>'alternative rock').and_return(JSON.parse(@data))
103
+ end
104
+
105
+ it 'should allow prefetching' do
106
+ @tag.get(:playlist)
107
+ end
108
+
109
+ it 'should get playlist' do
110
+ @tag.playlist[0][:location] =~ /mp3/
111
+ end
112
+
113
+ it 'should respond to #tracks' do
114
+ @tag.get(:tracks)
115
+ @tag.tracks[0][:location] =~ /mp3/
116
+ end
117
+ end
118
+
119
+ describe 'artists' do
120
+ before(:each) do
121
+ @data = open(Fixtures + 'tag_artists.json').read
122
+ Idiomag::REST.should_receive(:fetch).with('tag/artists',:tag=>'alternative rock').and_return(JSON.parse(@data))
123
+ end
124
+
125
+ it 'should allow prefetching' do
126
+ @tag.get(:artists)
127
+ end
128
+
129
+ it 'should get artists' do
130
+ @tag.artists['Adelayda'].should == 100
131
+ end
132
+ end
133
+
134
+ describe 'list' do
135
+ before(:each) do
136
+ @data = open(Fixtures + 'tag_list.txt').read
137
+ Idiomag::Tag.should_receive(:fetch).at_most(1).times.and_return(@data)
138
+ Idiomag::REST.should_receive(:fetch).with('tags',{},false).at_most(1).times.and_return(@data)
139
+ end
140
+
141
+ it 'should get the tag list via class method' do
142
+ Idiomag::Tag.list.should include(:alternative_rock)
143
+ end
144
+
145
+ it 'should get the tag list via instance method' do
146
+ @tag.list.should include('hip-hop')
147
+ end
148
+ end
149
+ end