Image
  • Writing
    • Andy Gavin: Author
    • About my Novels & Writing
    • All Writing Posts
    • The Darkening Dream
      • Buy the Book Online
      • Sample Chapters
      • Reviews
      • Info for Reviewers
      • Press Coverage
      • Awards
      • Cast of Characters
    • Untimed
      • Buy Untimed Online
      • Book Trailer
      • Sample Chapters
      • Reviews
      • Info for Reviewers
      • Press Coverage
      • Awards
      • Cast of Characters
    • Scrivener – Writer’s Word Processor
    • iPad for Writers
    • Naughty Dark Contest
  • Books
    • Book Review Index
    • Favorite Fantasy Novels
    • Andy Gavin: Author
    • The Darkening Dream
      • Buy the Book Online
      • Sample Chapters
      • Short Story: Harvard Divinity
      • Reviews
      • Info for Reviewers
      • Press Coverage
      • Awards
      • Cast of Characters
    • Untimed
      • About the Book
      • Buy Untimed Online
      • Book Trailer
      • Sample Chapters
      • Reviews
      • Info for Reviewers
      • Press Coverage
      • Awards
      • Cast of Characters
    • Naughty Dark Contest
  • Games
    • My Video Game Career
    • Post Archive by Series
    • All Games Posts Inline
    • Making Crash Bandicoot
    • Crash 15th Anniversary Memories
    • World of Warcraft Endgames
    • Getting a Job Designing Video Games
    • Getting a Job Programming Video Games
    • Naughty Dark Contest
  • Movies
    • Movie Review Index
  • Television
    • TV Review Index
    • Buffy the Vampire Slayer
    • A Game of Thrones
  • Food
    • Food Review Index
    • Foodie Club
    • Hedonists
    • LA Sushi Index
    • Chinese Food Index
    • LA Peking Duck Guide
    • Eating Italy
    • Eating France
    • Eating Spain
    • Eating Türkiye
    • Eating Dutch
    • Eating Croatia
    • Eating Vietnam
    • Eating Australia
    • Eating Israel
    • Ultimate Pizza
    • ThanksGavin
    • Margarita Mix
    • Foodie Photography
    • Burgundy Vintage Chart
  • Other
    • All Posts, Magazine Style
    • Archive of all Posts
    • Fiction
    • Technology
    • History
    • Anything Else
  • Gallery
  • Bio
  • About
    • About me
    • About my Writing
    • About my Video Games
    • Ask Me Anything
  • Contact

Archive for Tools

New Book Pages

Nov16

Continuing the big upgrades on my website, I’ve built out new pages for my books: The Darkening Dream and Untimed. And I’m in the process of working on a generic “Andy Gavin: Author” landing page too which I should have done in a couple hours. These pages are an attempt to look less bloggy, more like typical author and book sites. I’ll, of course, be continuing to refine and add. One of the nice things about using WordPress is that it’s easy to continually modify. I’ll add reviews and promotional information. Sample chapters, etc. When I get my professional cover art for The Darkening Dream I’ll have to reskin those pages.

Please let me know (via comments) what you think about the new pages. Or any suggestions you might have. Comments are turned off on the book pages themselves, but you can use this one here.

At a technical level, these new templates show off some of the power of the builder platform premium theme I’m using. It has cool layout tools that make it easier to create different layouts in WordPress and then assign them to different pages. Each of these layouts can reference or use separately constructed menus and widgets as well. That way, for example, I have a different more bookish menu on those pages, but it’s shared by a number of layouts. I’ve also been using a quick redirects plugin to create virtual slugs that I can use to build out URL hooks that are independent of the pages themselves. And one of yesterday’s projects was getting that animated jQuery “featured post” slider going. Builder had one that formed the core, but like many WordPress plugins it was setup for a single instance with just one category. I hacked the code to add parameters to the shortcode enabling me to feature different feeds on different pages. Took all of 15 minutes (mad coding skills — and I don’t even really know PHP). One wonders why the authors didn’t build it that way to begin with. I’ve noticed that PHP code is often extremely “non-functional” with an over reliance on global variables. I don’t mean the program doesn’t work, but that it doesn’t adhere to proper functional programming style to allow easy and modular reuse of code.

Check out The Darkening Dream book page.

Check out the Untimed book page.

Related posts:

  1. Website Upgrades Coming
  2. Book Review: The First American
  3. Untimed – Two Novels, Check!
By: agavin
Comments (1)
Posted in: Technology, Writing
Tagged as: Andy Gavin, Author Website, Blogging, Darkening Dream, PHP, Programming, Tools, Uniform Resource Locator, Untimed, Website, WordPress, WordPress Plugin Directory

Moving on Up

Nov08

I’m moving my hosting from WordPress.com to MediaTemple in the next 24 to 48 hours. The site should remain up but I won’t be doing my daily posts until things are settled out with the move.

Expect theme and feature changes and improvements. By hosting it myself there are all sorts of plugins that I can add: like Facebook comments! There may be some (hopefully) brief wonkiness as I add them though, or the occasional broken feature on the site that was supported by some WordPress.com feature that I have to replace.

Thanks for your patience.

Related posts:

  1. Website Upgrades Coming
  2. Introducing the Fiction Index
By: agavin
Comments (0)
Posted in: Uncategorized
Tagged as: Blog hosting, Facebook, MediaTemple, Tools, WordPress, wordpress.com

Introducing the Fiction Index

Jan11

In my pursuit to optimize the blog I’ve created yet more pages:

Food Index
Fiction Index
On Writing
Complete Archives

Blog navigation is funny because the default themes make it difficult to to lure people into old posts. Given that my posts are often “references” (reviews of restaurants, books, films etc.) it’s useful to see a list of them by topic.

All ofthese indicies, including the existing Food Index can be found in the righthand sidebar under “MORE POSTS ON.” Just click the ghetto programmer art buttons.

As a note. WordPress.com sure could use some code to help making these better/easier. If one uses WordPress.org (have to host it yourself) there are a bunch of plugins and you can use php to automate the process. WordPress.com only has a simple code snippet thing for the archives, but it doesn’t allow any filtering by category or tag, sorting other than by date. In other words it’s lame. This is a totally obvious candidate for automation.

Related posts:

  1. Topics at a Glance
By: agavin
Comments (0)
Posted in: Books, Movies, Television
Tagged as: Index, Pages, Plugin, Templates, Tools, WordPress
All Things Andy Gavin
Copyright © 2026 All Rights Reserved
Programmed by Andy Gavin