--1318610500-2146576558-925705815=:17900
Content-Type: TEXT/PLAIN; charset=US-ASCII
Here's a patch for the CGI scripts on CDindex. It makes it easy for you
to get at the Artist query for an artist from a CD found by the client.
I haven't got Apache, mod_perl etc. but this looks right. If Rob, or one
of the people running server code from CVS, could try it out, and feed
comments back to me I'd appreciate it. This is the first stage in my
"Value Added CDindex" improvements.
What this does is add two links (one explained, one silently "there" for
people like me who expect everything possible to be a link) which take
the user to a list of all the CDs by that artist.
I'd like to see this on the live server soon if it works.
Nick.
--1318610500-2146576558-925705815=:17900
Content-Type: TEXT/PLAIN; charset=US-ASCII; name=cdindex-artist
Content-Transfer-Encoding: BASE64
Content-ID: <Pine.LNX.4.04.9905030530150.17900 nospam at chef.ecs.soton.ac.uk>
Content-Description: CDindex patch
Content-Disposition: attachment; filename=cdindex-artist
SW5kZXg6IGhnZXQucGwNCj09PT09PT09PT09PT09PT09PT09PT09PT09PT09
PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT0NClJDUyBm
aWxlOiAvc3JjL3JlcG9zaXRvcnkvY2RpX3NlcnZlci9jZ2ktYmluL2hnZXQu
cGwsdg0KcmV0cmlldmluZyByZXZpc2lvbiAxLjINCmRpZmYgLXUgLXIxLjIg
aGdldC5wbA0KLS0tIGhnZXQucGwJMTk5OS8wNC8yOSAwMDowOTowNwkxLjIN
CisrKyBoZ2V0LnBsCTE5OTkvMDUvMDMgMDQ6MzM6NTMNCkBAIC03MCw3ICs3
MCwxMCBAQA0KICAgICAgICB9DQogDQogICAgICAgIHByaW50ICI8dHI+PHRk
PkFydGlzdDo8L3RkPjx0ZD4iOw0KKyAgICAgICANCisgICAgICAgaWYgKCRh
cnRpc3RpZCkgcHJpbnQgIjxhIGhyZWY9XCJzaG93YXJ0aXN0LnBsP2FydGlz
dGlkPSRhcnRpc3RpZFwiPiI7DQogICAgICAgIHByaW50ICRvLT5lc2NhcGVI
VE1MKCRhcnRpc3RuYW1lKTsNCisgICAgICAgaWYgKCRhcnRp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YWNrcycpOw0KLSAgICAgICAgICAgICAgICAgICAgcHJpbnQgIiZ0b2M9
JHRvY1wiPmhlcmU8L2E+IHRvIHN1Ym1pdCB0aGlzIENELiI7DQorICAgICAg
ICAgICAgICAgICAgICBwcmludCAiIFlvdSBjYW4gPGEgaHJlZj1cInN1Ym1p
dC5wbD9pZD0kaWQmdHJhY2tzPSIsICRvLT5wYXJhbSgndHJhY2tzJyk7DQor
ICAgICAgICAgICAgICAgICAgICBwcmludCAiJnRvYz0kdG9jXCI+U3VibWl0
IHRoaXMgQ0Q8L2E+IHRvIENEaW5kZXggZm9yIG5leHQgdGltZS4iOw0KICAg
ICAgICAgICAgICAgICB9DQogICAgICAgICAgICAgfQ0KICAgICAgICAgICAg
IGVsc2UNCg==
--1318610500-2146576558-925705815=:17900--