3/1/06 Jacob Turino Here's my project. Included files: * allMusicGuideSearch.pl - the main program I've been working on these past weeks. Fully functional and documented and all that stuff. Sorry it doesn't have any tests, but I was practically finished it before I even knew what a good test should look like and it really didn't make sense to go back and put in them after. I'll put some good ones in the next project (promise). * allMusicGuideSearch.html - documentation for allMusicGuide.pl * NameList.txt and NameListWithAlbums.txt - sample input files. * Four amg html pages - examples of the amg pages that this program should encounter * amazonUPCSearch.pl - another program I made. This one is not finished or completely documented, but I thought I'd throw it in just to show you how the everything is supposed to look at the end. * towerSearch.pl - just something I threw together. Again, I just put it in here to show you what this whole thing is going to be like eventually. * This readme right here - you're reading it. Here's what it looks like in action: ***************************************************************************** F:\Documents\Programming\Perl>perl amazonUPCSearch.pl 075992367424 This is *** amazonUPCSearch *** (version 0.4). Artist = Laurie Anderson, Album = Big Science, ASIN = B000002KNM Searching Tower Records... Sort Name: Anderson, Laurie Searching AllMusicGuide... Name: Laurie Anderson; Genre: Rock ***************************************************************************** More sweet action shots (copied straight out of my Week 5 homework page): ***************************************************************************** F:\Documents\Programming\Perl>perl allMusicGuideSearch.pl This is *** allMusicGuideSearch *** (version 0.6). Artist Name: bob dylan 1: Name: Bob Dylan; Genre: Rock ***************************************************************************** F:\Documents\Programming\Perl>perl allMusicGuideSearch.pl "john lennon" 1: Name: John Lennon; Genre: Rock ***************************************************************************** F:\Documents\Programming\Perl>perl allMusicGuideSearch.pl air 1: Name: Air; Too many genres ***************************************************************************** F:\Documents\Programming\Perl>perl allMusicGuideSearch.pl air "talkie walkie" 1: Name: Air; Genre: Electronica ***************************************************************************** F:\Documents\Programming\Perl>perl allMusicGuideSearch.pl NameListWithAlbums.txt 1: Can't find SLAP: No match. 2: Can't find SLAP: No match. 3: Name: Hanson; Genre: Rock 4: Name: Space; Genre: Rock 5: Can't find WHITE, JOSH: No match. 6: Name: Josh White; Genre: Folk 7: Can't find BUCKLEY, JEFF & GARY LUCAS: No match. 8: Can't find WILLIAMS, ANDY: No match. 9: Can't find WILLIAMS, ANDY: No match. 10: Can't find JONES, GEORGE: No match. 11: Name: George Jones; Genre: Country ***************************************************************************** F:\Documents\Programming\Perl>perl allMusicGuideSearch.pl NameList.txt 1: Name: Betty Carter; Genre: Vocal 2: Name: Donald Byrd; Genre: Jazz 3: Name: The Lightning Seeds; Genre: Rock 4: Name: Toby Keith; Genre: Country 5: Name: Uncle Tupelo; Genre: Rock 6: Name: blink-182; Genre: Rock 7: Name: Bentley Rhythm Ace; Genre: Electronica 8: Name: Jack Teagarden; Genre: Jazz 9: Can't find POWERAGE: No match. 10: Name: Roy Harper; Genre: Rock 11: Can't find TAYLOR, CHIP & CARRIE RODRIGUEZ: No match. 12: Can't find DORHAM, KENNY & THE JAZZ PROPHETS: No match. 13: Name: Neil Diamond; Genre: Rock 14: Name: Double Nelson; Genre: Electronica ***************************************************************************** F:\Documents\Programming\Perl>perl allMusicGuideSearch.pl -d "john lennon" 1: DEBUG: Searching for 'john lennon'. DEBUG: Search page returned... DEBUG: 74 results found: John Landon: Vocal Brennon John: Rock John L. Allen: World Long John Hunter: Blues The Lennon Sisters: Vocal Johnnie Valentino: Jazz John Lewis [01]: Jazz Jellybean: Electronica John McLeod: Classical John Nilsen: New Age Johnny O'Neal [Piano]: Jazz John Mooney: Blues John Ellison: R&B Johnny Lee: Country John Leonetti: Soundtrack John LaPorta: Jazz John Lawrenson: Classical John Alden Carpenter: Classical Johnny Lebron: Latin John Jackson: Blues John Ledwon: Rock Johnny Reno: Blues John Holenko: Classical John Vernon: Classical John Renbourn: Folk Johnnie Allan: Cajun John Lindberg: Jazz John Lenton: Classical John Lennon: Rock Johnny Lytle: Jazz Johnny Desmond: Vocal Fleming & John: Rock John Anthony Lennon: Classical John Lyndon: Rock John Lanton: Vocal Jack Jones: Vocal John Lorentzo: Rap Jackie Gleason: Easy Listening John Lenin: Rock John Cameron: Classical Johnny Bond: Country John Delafose: Cajun John Klemmer: Jazz John Lennon & the Plastic Ono Band: Rock John Leyton: Rock John Lemmon: Gay John Swenson: Jazz John Von Ohlen: Jazz Johnny Puleo: World John Mehegan: Jazz Johnny Clegg: World John Lennon & Paul McCartney: Classical Fabolous: Rap Elton John: Rock Johnny Allen: Rock John Anderson: Country, Classical Long John Baldry: Blues John Bunch: Jazz John Lurie: Jazz John Conlee: Country John McEuen: Country John Tomlinson: Classical John Faulkner: Celtic John Beltran: Electronica John Jenkins: Jazz Johnny Ace: R&B John Leone: Rock John Lee Hooker: Blues John Linton Gardner: Classical John Langdon: Classical Johnnie & Jack: Country John Pisano: Jazz John Lemon: Classical John Lennon & Yoko Ono: Rock DEBUG: Matched John Lennon. Name: John Lennon; Genre: Rock ***************************************************************************** F:\Documents\Programming\Perl>perl allMusicGuideSearch.pl -a "john lennon" 1: Name: John Lennon; Genre: Rock Albums: Unfinished Music, No. 1: Two Virgins Life with the Lions: Unfinished Music #2 Wedding Album Live Peace in Toronto, 1969 John Lennon/Plastic Ono Band Imagine Sometime in New York City/Live Jam Mind Games Feeling the Space Walls and Bridges Rock 'n' Roll Double Fantasy Milk and Honey Live in New York City Menlove Ave. Messenger