Comments/Ratings for a Single Item
Since people keep wanting to use tags for information that is already stored in the database, I have modified the footer script to include categories and board dimensions just above the tags section.
Did any of the folks interested in board size tags still find them useful after this addition, or can we delete them?
@Fergus, the Chess+Compounds
link, and adding of that tag, don't work, presumably something has changed with the handling of the +
.
To my opinion it is interesting to have a tag related to board size. But those tags should be rationalised. Either 12x12 or Dozenal but not both. Also their form to be consistent. We have "board: 10x8" and "12x12".
But what do these add, now with board size specified and linked at the bottom of pages?
I had inserted standard code for reading the query string. This code first tried parsing the value of getenv("QUERY_STRING") with parse_str(). However, the parse_str() function uses urldecode(), which converts + signs into spaces. To get around this, I cut out that portion of the code and now just get the values of the query string from $_REQUEST. I made this change to taginfo.php, addtags.php, and deletetag.php.
A minor(?) bug in the board‐size pseudo‐tags: the numbers are interpreted in two different orders. To wit:
- The Capablanca Chess page has a pseudo‐tag for a “10×8” Board; clicking this link leads to a query page for games with 10 ranks and 8 files
- Conversely, selecting any game in that list (e.g. the first of its Game Pages alphabetically, Gilman's Avon) shows that its board‐size pseudo‐tag is “8×10”, a link leading to the 8‐rank/10‐file query where e.g. Capa can be found
Minor at least in the sense of a presumably trivial fix ;)
The query string put boardrows ahead of boardcols, and I was assuming the reverse, since I normally write columns before rows. So, I changed the order of boardrows and boardcols in the query string to fix this.
Is it possible to rename the tag "Piece:Berolina Pawn" to "Piece:Pawn:Berolina"? I have already added some children to Piece:Pawn and it would fit perfectly there, IMO.
9 comments displayed
Permalink to the exact comments currently displayed.
Since people keep wanting to use tags for information that is already stored in the database, I have modified the footer script to include categories and board dimensions just above the tags section.