| Convert ifdb.org game links to my ifdb "gopher frontend" - annna - Annna the ni… | |
| git clone git://bitreich.org/annna/ git://enlrupgkhuxnvlhsf6lc3fziv5h2hhfrinws6… | |
| Log | |
| Files | |
| Refs | |
| Tags | |
| README | |
| --- | |
| commit ed0373bb8b7e8375cf9da2f003b342f8f2dae3e1 | |
| parent f53fb436f7017c9a1b27ef7e1853f85c9a6d4e6d | |
| Author: Julian Schweinsberg <[email protected]> | |
| Date: Mon, 27 Oct 2025 18:09:10 +0100 | |
| Convert ifdb.org game links to my ifdb "gopher frontend" | |
| This will only work for games which were part of the latest | |
| (currently 01-Sep-2025) ifdb database dump. | |
| Signed-off-by: Annna Robert-Houdin <[email protected]> | |
| Diffstat: | |
| M annna-message-common | 4 ++++ | |
| 1 file changed, 4 insertions(+), 0 deletions(-) | |
| --- | |
| diff --git a/annna-message-common b/annna-message-common | |
| @@ -287,6 +287,10 @@ case "${IRC_PRIVMSG_TEXT}" in | |
| nuris="$(grep 'property="og:video:secure_url' < "${tmpf}" | se… | |
| urititle="$(grep 'name="description' < "${tmpf}" | sed 's,.*co… | |
| nocuri=1;; | |
| + *ifdb.org/viewgame*) | |
| + ifdbid="${uri##*ifdb.org/viewgame?id=}" | |
| + nuris="gopher://gopher.0xfa.de/1/pazz0/ifdb2/${ifdbid}.gph" | |
| + nocuri=1;; | |
| *) | |
| mimetype="$(file -b --mime-type "${tmpf}")" | |
| case "${mimetype}" in |