- Get the latest CVS of RubLog
- Choose a style from MovableStyle and download the corresponding stylesheet (and any other required images).
- Alter your rublog,cgi to use Chad’s template with the new
stylesheet. This requires two changes.
- In the line where you create the blog, use "movable" as a parameter to CGIRequest.new.
- In the parameter settings, set the name of the external stylesheet to use.
A typical configuration might look like the following:
blog = RubLog.new("/Users/cvs/blog", CGIRequest.new("movable")) do
set_top_title "My Blog"
set_max_entries_per_page 5
set_rss_description "Dave's Weblog"
set_rss_image_title 'PragDave'
set_rss_image_link 'http://pragprog.com/pragdave'
set_rss_image_url 'http://pragprog.com/scary.png'
set_rss_encoding 'iso-8859-1'
set_copyright "#{Time.now.year} Dave Thomas"
set_external_stylesheet "http://pragprog.com/styles/Mac_Stripe/styles-site.css"
set_ignore_directory_pattern /Secret/
set_ignore_filename_pattern /Comp|Unreleased/
end
Remember to read the MovableStyles FAQ for details on attributing any style you use.




Comments