For those of you who run a music blog, you might have faced the tiresome job of writing bunch of tags, I have written this simple program in Java that generates the tags for your use. I personally developed this for my Nepali Music Blog, and I find this quite useful to generate a bunch of tags at once which I can copy paste to my WordPress based blog.
You can customize this program as required to suite your needs.
You can download the original file SimpleTagGenerator.java for free and use it for any of your purposes.
package com.kushal.utils;
/**
* @author KushalP
* For those who maintain music blog, this simple program
* might be useful for generating music tags.
*
* I developed this for my personal use for my following blog:
* http://www.sanjaal.com/nepalisongs
*/
public class SimpleTagGenerator {
public static void main(String args [])
{
/**
* Param 1 : Album Name
* Param 2 : Artist Name
* Param 3 : Song Name
*/
generateTag("Division Bell", "Pink Floyd", "Marooned");
}
public static void generateTag(String album, String artist, String song)
{
String artistTags="";
String albumTags="";
String songTags="";
if(artist!=null && artist.length() >0 )
{
artistTags+=artist +" Guitar Tabs, "+
artist+ " Latest Songs, "+
artist+ " MP3 Downloads,"+
artist+ " Latest Albums, "+
artist+ " Songs Download, "+
artist+ " Lyrics Download, "+
artist+ " MP3 Songs";
}
if(album !=null && album.length() > 0)
{
albumTags+=artist +" "+ album+" "+ "Songs Download, "+
artist +" " +album+" "+ "MP3 Download,"+
artist +" "+ album+" "+ "Lyrics Download, "+
artist + " "+album+" "+ "Guitar Tabs," +
artist +" "+album+" "+ "Guitar Chords,";
}
if(song!=null && song.length() > 0 )
{
songTags+= artist +" "+song+" "+"Guitar Tabs, "+
artist +" "+song+" "+ "MP3 Downloads,"+
artist +" "+song+" "+ "Songs Download,"+
artist +" "+song+" "+ "Guitar Chords,"+
artist +" "+song+" "+ "MP3 Song,"+
artist +" "+song+" "+ "Lyrics Download,"+
artist +" "+song+" "+ "Music Video";
}
System.out.println(artistTags+","+albumTags+","+songTags);
}
}
Here are the sample tags generated for the the parameters that I passed in the application while calling generateTag method i.e. generateTag(“Division Bell”, “Pink Floyd”, “Marooned”);
Pink Floyd Guitar Tabs, Pink Floyd Latest Songs, Pink Floyd MP3 Downloads,Pink Floyd Latest Albums, Pink Floyd Songs Download, Pink Floyd Lyrics Download, Pink Floyd MP3 Songs,Pink Floyd Division Bell Songs Download, Pink Floyd Division Bell MP3 Download,Pink Floyd Division Bell Lyrics Download, Pink Floyd Division Bell Guitar Tabs,Pink Floyd Division Bell Guitar Chords,,Pink Floyd Marooned Guitar Tabs, Pink Floyd Marooned MP3 Downloads,Pink Floyd Marooned Songs Download,Pink Floyd Marooned Guitar Chords,Pink Floyd Marooned MP3 Song,Pink Floyd Marooned Lyrics Download,Pink Floyd Marooned Music Video

Originally posted 2009-03-20 15:20:20.