Rails: Fast & Easy Sitemaps

Few lines to get your sitemap. Also, add a hash array for the other links on your site:

Sitemap controller:

    @sites = [
	    {:loc=>url_for(:controller=>'home',:action=>nil), :lastmod=>File.open('web/app/views/home/index.rhtml').mtime.strftime('%Y-%m-%d')},
	    {:loc=>url_for(:controller=>'blog',:action=>nil), :lastmod=>File.open('web/app/views/blog/index.rhtml').mtime.strftime('%Y-%m-%d')},
	    {:loc=>url_for(:controller=>'casa',:action=>nil), :lastmod=>File.open('web/app/views/casa/index.rhtml').mtime.strftime('%Y-%m-%d')}
    ]

 

RXML:

  @sites.each do |site|
    xml.url do
      xml.loc( site[:loc] )
      xml.lastmod( site[:lastmod] )      
    end	    
  end

The Tipping Point

http://www.amazon.com/Tipping-Point-Little-Things-Difference/dp/0316346624|Epidemics at Large|

The Tipping Point Cover

by Malcom Gladwell

The basic premise on this book is that epidemics can be thought as a general pattern appliable as well to health, social phenomena or technology. A very well written book, Gladwell makes a extensive investigation, gathers information that may seem disgragated and elaborates a proposition. Not a scientific method traditional approach, but a good starting point to the understanding and use of this knowledge.

Wabi-Sabi: for Artists, Designers, Poets & Philosophers

http://www.amazon.com/Wabi-Sabi-Artists-Designers-Poets-Philosophers/dp/1880656124|Imperfect Impermanent Incomplete|

Wabi-Sabi Cover

By Leonard Koren.

Wabi-Sabi is the quintessential aesthetic  of the Japanese art. This gorgeous book describe what is Wabi-Sabi in a Wabi-Sabi format and content. In less than 80 pages, many filled with beautiful photographs, describe the metaphysical, spiritual, state-of-mind, moral and material qualities that create Wabi-Sabi.

The Wabi-Sabi quality can be discovered everywhere, although demands careful attention to find it. For us, quite far from the Japanese  mind, Wabi-Sabi explains the beauty we feel and see on many things that are nevertheless overlooked and unappreciated. The tension between the Wabi-Sabi aesthetic and our concious western-modernist aesthetic might be extremely interesting to explore.