X-Git-Url: https://defaria.com/gitweb/?a=blobdiff_plain;f=web%2Fsongbook.html;fp=web%2Fsongbook.html;h=0a161c58bd6e8362065323378dff17ba95230f99;hb=6ccc008640029eca058691a3ee1a1dcce508e291;hp=071f02b5915a6a5326f376895b6ca496187ed91e;hpb=37206d2be9678f389ce3b17adda576de9a380cc1;p=songbook.git diff --git a/web/songbook.html b/web/songbook.html index 071f02b..0a161c5 100644 --- a/web/songbook.html +++ b/web/songbook.html @@ -46,7 +46,7 @@ my Songbook using the web (described below).

Chordpro file format

You can go -to http://defaria.com/songbook/Songs +to http://defaria.com/songbook/Songs and you'll see a list of all the files in that directory, the .pro files of the songs I have. You can click on any of them but what you will get is an unrendered version of the .pro file. For example: If @@ -103,19 +103,19 @@ text between {soc} and {eoc} (start of chorus, end of chorus). So given the above SongTitle="Brown Eyed Girl" we can formulate the URL to render it thusly:

-
http://defaria.com/songbook/webchord.cgi?chordpro=/web/songbook/Songs/Brown Eyed Girl.pro
+
http://defaria.com/songbook/webchord.cgi?chordpro=/web/songbook/Songs/Brown Eyed Girl.pro

You can do the same thing for the other songs there too.

I should just write a quick script that gets all of the .pro files -in the directory songbook/Songs and then formulates a page of links +in the directory songbook/Andrew and then formulates a page of links that have the webchord.cgi links to render them like:

@@ -123,14 +123,14 @@ that have the webchord.cgi links to render them like:

example, you take:

-http://defaria.com/songbook/Songs/webchord.cgi?chordpro=<SongTitle>.pro +http://defaria.com/songbook/Andrew/webchord.cgi?chordpro=<SongTitle>.pro

pop it into the address bar of your browser then change <SongTitle> to the title of the song you want to render:

-http://defaria.com/songbook/webchord.cgi?chordpro=/web/songbook/Songs/Amie.pro +http://defaria.com/songbook/webchord.cgi?chordpro=/web/songbook/Andrew/Amie.pro

Note: