Mercurial > hg > batmud > maputils
changeset 1753:4d160a5c6425
Change coder links to point to tnsp.org wizard info instead of bat.org in GMaps XML/JSON output.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Thu, 19 Oct 2017 16:55:41 +0300 |
parents | 1672f44c68d6 |
children | 3280d419f1c8 |
files | mkloc.c |
diffstat | 1 files changed, 3 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/mkloc.c Wed Oct 18 18:15:28 2017 +0300 +++ b/mkloc.c Thu Oct 19 16:55:41 2017 +0300 @@ -917,8 +917,10 @@ case NAME_MAINTAINER: info = " (M)"; break; case NAME_EXPANDER: info = " (E)"; break; } - fpr(outFile, "<a target=\"_blank\" href=\"http://www.bat.org/char/%s\">%s%s</a>", + //fpr(outFile, "<a target=\"_blank\" href=\"http://www.bat.org/char/%s\">%s%s</a>", + fpr(outFile, "<a target=\"_blank\" href=\"https://tnsp.org/maps/loc.php?a=%s\">%s%s</a>", tmp->coders[n].name, tmp->coders[n].name, info); + if (n < tmp->ncoders - 1) fprintf(outFile, ", "); }