Hashes, learn them.
I know this is elementary and forgive me for going on about things you already know (since I am amateur compared to you most likely) but hashes are so wonderful.
I have been running a service called WebTicker News for about 3 years now. The idea was to somehow create a service to benefit charities and so far it's worked well with over 200 million ad impressions given away for free.
I parse Yahoo's Reuters feed for this and they changed their HTML links so I found myself rewriting code. I didn't really comprehend hashes very well when I wrote the original code.
560 lines now cut down to 70.
TMTOWTDI indeed!