BACK TO BLOG LIST

SUBSCRIBE: RSS ATOM

Sitemap and Author Pages Introduced

by Nicholas Bernhard // // Broomfield, CO

© 2024 NJB

CC-BY-SA 4.0

*

I wanted to share some of this week’s updates to the site:

Author Pages

The directories for authors now have their own index.html file. As an example, going to nantucketebooks.com/ebooks/SethPatterson will bring up an actual web page, and not just the bare directory.

Before now, only Quarter Up, the site’s pinball newsletter, had its own page.

These author pages are quite sparse right now, the next step will be for these pages to include a photo or illustration of the artist, and a list of hyperlinks to all of that author’s books on the platform. Another goal is to have RSS feeds for each author.

These pages are built from a Shanty file with the Node.js script that builds the site’s catalog page.

Sitemap

I have added a proper XML sitemap to help make the site more readable to search engines. You can view the new sitemap here.

I have written a script to build the sitemap. There are three groups of HTML files the script is looking for. The first group is the “big” files which are always going to be there, like the HTML files in the root directory. The second group is the index files for the ebooks and the aforementioned author pages. The third group is the HTML files for this blog.

The second and third groups are always expanding, and are built using static-site generating scripts. In both cases, I have the sites provide me a list of the URLs they have generated, and I have my sitemap builder import those lists.

Small Changes to Nav

The navigation bar for the platform has been re-ordered. ‘Catalog’ is now the most important, after ‘Home’, followed by ‘Order’ and ‘Write’, with ‘Blog’ being the least-important.

One more thing: Script for building comic books

I have designed a small script that assembles comic-book pages for printing. It was written for a client to produce a physical edition of their webcomic. It is meant for printing onto tabloid paper (11" × 17"), with a default height of 10.25", the standard for comic books. The necessary width for a particular comic can be specified in the script.

The script produces an HTML file containing SVG elements, within which the pages are positioned. This file can then be saved to a PDF for printing. This is a very low-tech solution. Saving this particular comic-book to PDF crashed my ThinkPad T60 the first time, but it works fine if it’s the only tab open on my browser.

SHOW/HIDE COMMENTS
  • No comments yet.
  • WANT TO COMMENT?

    SEND AN E-MAIL TO NJB@NANTUCKETEBOOKS.COM WITH THIS SUBJECT LINE: