Quote:
Originally Posted by Ephemerality
The main issue there is that Shelfari is user-created content, so there would be a lot of entry-editing necessary as well as a consensus on the format they should be in.
In some cases the aliases aren't worth having in a Wiki entry either and are only good for competitionist-sake, so it would be difficult to entirely bypass the alias process. Either way you're editing and doing some digging through book content.
Certainly possible by any means, though.
|
Well, if it is possible, I'm sure many would appreciate such a feature. It could even be optional, e.g. with a checkbox.
Meanwhile, I wrote a small PHP script (attached) to generate the aliases file. It ignores duplicates and an array of stopwords. The stopwords are defined in the script itself, and are of course book-specific, so they need to be adjusted for a different book. For duplicate words, only the first character to have the word in their name gets the alias assigned. The logic behind this is that the first character found in the aliases file is the most important one.
The script can be used like this:
./aliases.php aliases.txt > new_aliases.txt
I tried it on my book and it works fairly well. Maybe someone else will find it useful too.