From b012cb5d8dfc88eb20589444387f14fc1545aa46 Mon Sep 17 00:00:00 2001 From: Dmitry Mozzherin Date: Mon, 11 Nov 2024 18:57:36 +0000 Subject: [PATCH] select code from URL on the web-page --- CHANGELOG.md | 5 +++++ README.md | 8 +++++--- io/web/templates/home.html | 8 ++++---- version.go | 2 +- 4 files changed, 15 insertions(+), 8 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 9af0111..37505ae 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,11 @@ ## Unreleased +## [v1.11.1] - 2024-11-11 Mon + +- Add: make web-interface remember nomenclatural code picked in the previous + GET query. + ## [v1.11.0] - 2024-11-11 Mon - Add [#265]: add optional nomenclatural code option to parse names with diff --git a/README.md b/README.md index 5ae0fb8..8c9740c 100644 --- a/README.md +++ b/README.md @@ -287,7 +287,8 @@ gnparser -d "Pardosa moesta Banks, 1892" Compiled programs in Go are self-sufficient and small (`GNparser` is only a few megabytes). As a result the binary file of `gnparser` is all you need to make it work. You can install it by downloading the [latest version of the -binary][releases] for your operating system, and placing it in your `PATH`. +binary][releases] for your operating system **and** CPU architecture, and +placing it in your `PATH`. ### Install with Homebrew (Mac OS X, Linux) @@ -309,7 +310,8 @@ Move `gnparser` executable somewhere in your PATH (for example `/usr/local/bin`) ```bash -sudo mv path_to/gnparser /usr/local/bin +tar xvf gnparser-xxx.tar.gz +sudo mv gnparser /usr/local/bin ``` ### Windows @@ -394,7 +396,7 @@ Only use if your input is known to be free of HTML. `--nomenclatural-code -n` : Specifies the nomenclatural code (e.g., `botanical`, `zoological`) to use -for parsing in ambiguous cases. For example `Aus (Bus)`: according +for parsing in ambiguous cases. For example in `Aus (Bus) cus`: according to zoological code `Aus` is genus, `Bus` is subgenus, while according to botanical code `Bus` is the author of `Aus`. diff --git a/io/web/templates/home.html b/io/web/templates/home.html index bf51643..e6a0004 100644 --- a/io/web/templates/home.html +++ b/io/web/templates/home.html @@ -21,10 +21,10 @@ diff --git a/version.go b/version.go index ddc2c4c..d15abe8 100644 --- a/version.go +++ b/version.go @@ -3,7 +3,7 @@ package gnparser var ( // Version is the version of the gnparser package. When Makefile is // used, the version is calculated out of Git tags. - Version = "v1.11.0" + Version = "v1.11.1" // Build is a timestamp of when Makefile was used to compile // the gnparser code. If go build was used, Build stays empty. Build string