Software

Generating Sitemaps in Rails

Code updated 9/18/2009

This week I added sitemap files to my rails site PriceChirp. Sitemaps are used to help search engines to find all your content. They are especially helpful in enumerating pages that are difficult for web crawlers to discover, such as content from database searches.

The web is full of instructions on how to generate sitemaps on the fly using rxml templates. This does not scale well if your site has thousands of links. A better method is to periodically generate site maps and serve these cached files when requested.

www.fortytwo.gr has a good example for generating sitemaps with rails. I've taken his code and fixed/extended it to fit my needs.

Understanding Sitemaps

Google's sitemap howto.

Basically, there are two types of sitemap files:

KeePass Password Safe

KeepassI have way too many passwords to remember. I need passwords for the Windows network login, Linux network login, three different e-mail account, ftp password, online passwords, work accounts, home accounts, etc. etc. etc. The list is endless. Also, I need to use different passwords for each account because I can't trust that every person at every location will be honest.

KeePass is a free/open-source secure password manager or safe which helps to manage passwords in a secure way. KeePass stores passwords, usernames, urls, notes into a single database encrypted using AES and Twofish.

The best part is the database can be read by both the windows and Linux clients. I have not played with it yet, but there is also a thumb drive version which can be run totally self contained on a portable USB drive.

 

Syndicate content