Squib rendering

Squib renders several different types of pages.

  1. Home page
  2. Archive page
  3. All Posts page
    listing of all posts by title
  4. All Archives page (Monthly Archives) listing of all months with posts and number of posts per month
  5. Date based archives
    • day
      lists all posts for that day
    • month
      lists all posts for that month
    • year
      lists the months in that year that have posts
  6. Topics pages
    these are the topic based RSS pages
  7. RSS/Atom feeds

Currently, creating a new post causes all these to render except the month and year dated based pages.

I think that creating a new post or editing/updating an old post should cause all of these pages to render again. Well, perhaps editing/updating shouldn’t cause the date based year page to re-render, because no change would be evident, unless the change was a deletion. But this page would take very little time to render anyway.

I have to investigate, because I’m not sure where the triggers for all these renderings occurs.

Update: After some digging I found that homepage_controller.rb calls to the archive_page definition in publish_controller.rb. It passes all 3 parameters of day, month, and year. As such archive_page only creates the day archive and neither the month or year archives. I can change it so it creates all the archives each time, but is that what we want?

Related posts:

  1. Squib rendering, part 2 In the homepage_controller.rb there is a private definition publish_changes that...
  2. Archives done right Hooray for #256. Matt’s got Squib doing archives a better...
  3. Markdown Tool: Pre-rendering and swapping As I post more new entries the older ones will...
  4. ioArchiver This script will place a button in your Instant Outline...
  5. SQLite Doesn’t Do Dates Apparently SQLite doesn’t have very good date handling. It seems...

Related posts brought to you by Yet Another Related Posts Plugin.

This entry was posted in Uncategorized. Bookmark the permalink.

Comments are closed.