🕸Fergus Duniho wrote on Sat, Oct 15, 2022 02:21 AM UTC:
While perusing the queryinc.php code today, I came upon the similaritems parameter. Looking into what this does and what might make use of it, I discovered the likethis.php script. This script shows pages that belong to the same type and the same categories as the identified page. So, I added a link in the menu that makes use of it, and I ironed out a few kinks concerning its use. I also added functions that acquire the names of types and categories directly from the database, so that there is less discrepancy between the code and the database. I'll later migrate them to the database-funcs.php include file for use with other scripts.
While perusing the queryinc.php code today, I came upon the similaritems parameter. Looking into what this does and what might make use of it, I discovered the likethis.php script. This script shows pages that belong to the same type and the same categories as the identified page. So, I added a link in the menu that makes use of it, and I ironed out a few kinks concerning its use. I also added functions that acquire the names of types and categories directly from the database, so that there is less discrepancy between the code and the database. I'll later migrate them to the database-funcs.php include file for use with other scripts.