« Reading List: No Way to Treat a First Lady | Main | Reading List: The Dangerous Book for Dogs »
Wednesday, January 2, 2008
Reading List Content Management System Updated
The home-brew Perl content management system I use to maintain the Reading List Web tree has been revised and all documents it generates updated accordingly. If you're using this program to manage your own reading list, you may wish to download and install the new release. Principal changes are:- Author and topic names which contain ISO 8859-1 accented characters are now sorted as if the characters were not accented.
- External documents may link to the frame-based reading list document and specify which page should be displayed in the main window by appending a “query” to the URL. Typical queries are:
?month=2006-08
These queries automatically display the corresponding navigation panel in the sidebar and, where appropriate, scroll it with the selected item at the top. The “title” query scrolls to books with titles that begin with the first letter specified. The queries require the user's browser to have JavaScript enabled; otherwise they are silently ignored and the default entry page is displayed.
?year=2004
?book=581
?author=Verne_Jules
?topic=science_fiction
?title=V
?all
?recent
- Links generated by the <Amazon> macro have been updated to conform to Amazon's latest template for associate links.
- The <Amspec> macro has been superseded by a new <Amspecial> macro which allows general references to lists, series, search results, and other queries on Amazon, with the associate ID appended automatically in the correct form for the generated URL.
- A new <Book> macro generates links to books in the list from their permalink numbers. These links are transformed into external links when transcribed to the weblog.txt file.
- XHTML generated for the weblog.txt document automatically transforms <Month> macros from internal references within the reading list tree to external queries which display the month specified by the argument. Text from this document may now be pasted directly into a Web log posting without modification.
- Several formatting errors were corrected in the generation of the noframes.html document, and <Month> macros within it are transformed to intra-document fragment references.
- Averted the “doomsday 2009” crisis where our clever algorithm for assigning background colours to year titles would have resulted in white-on-white text.
- Metadata have been added to improve the indexing of generated documents by search engine “Web crawlers”. Each individual book item now contains a keywords declaration containing its title and author(s) (unique words only, with common articles and prepositions elided), and a robots declaration of index. The master title index serves as the access point to this document, with a robots declaration of noindex,follow. All other generated documents instruct robots to noindex,nofollow, which should prevent redundant indexing of content included in topic, author, month, and year pages.
- Several hard-coded references to Fourmilab-specific Web addresses have been replaced with configurable parameters at the top of the program.
Posted at January 2, 2008 01:18