Skip Menu |
 
rt.cpan.org will be shut down on March 1st, 2021.

This queue is for tickets about the Lyrics-Fetcher-LyricWiki CPAN distribution.

Report information
The Basics
Id: 71037
Status: new
Priority: 0/
Queue: Lyrics-Fetcher-LyricWiki

People
Owner: Nobody in particular
Requestors: DUMB [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: Normal
Broken in: 0.10
Fixed in: (no value)



Subject: Capitalisation of track and artist names
Download (untitled) / with headers
text/plain 781b
LyricWiki has a policy for the correct capitalisation of artists and track names at: http://lyrics.wikia.com/LyricWiki:Page_Names Most of the time there is a redirect to the correct page if you get the case wrong when viewing the site but not when editing, which this module uses. Here is an example: Correct case: http://lyrics.wikia.com/index.php?title=Garbage:A_Stroke_Of_Luck&action=edit Incorrect case: http://lyrics.wikia.com/index.php?title=Garbage:A_stroke_of_luck&action=edit This can be resolved by using some code such as: $artist = __correctCase($artist); $song = __correctCase($song); sub __correctCase{ my $string = shift; my @words = split(" ", $string); $string = join(" ", map(ucfirst, @words)); return $string; } Thanks


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.