miscellaneous suggestions for the next hobix release

William Morgan wmorgan-hobix-is-the-way at masanjin.net
Thu Sep 23 17:29:10 EDT 2004


Dear _why,

Feel free to disregard any of these suggestions. They are just some
changes I'd like to see for my own nefarious purposes, which I believe
might be useful enough to warrant being global:

quick.rb:
  * in sidebar_archive_erb, change to:
      <% months.reverse.each do |month_start, month_end, month_id| %>
  * in page_erb, add a <+ footer +> section (and corresponding erb
    method, which can be empty by default)
  * in entries_erb, before <li><+ day_header +></li>, add:
      <a name="<%= day.strftime( "%Y%m%d" ) %>"/>
    (a calendar plugin would find this useful)
  * feel free to add the section_map code :)

filesys.rb:
  * in load_entry, change the:
      e.link = @link + id + ".html"
    to something that handles a lack of a trailing slash (you probably
    have this already)

entry.rb:
  * add a 'section' and 'section_link' method
  * maybe move the entry_proc code to a class method of Entry, such that
    subclasses don't need to replicate it when they call
    YAML::add_domain_type()

Respectfully submitted,

-- 
William <wmorgan-hobix-is-the-way at masanjin.net>


More information about the Hobix-is-the-way mailing list