Sep 052008
 

On my craft­ing blog I use the Tarski theme, and that used to give you the choice between Atom and RSS for the feeds. Then they took it out, say­ing that Word­Press itself gives you the choice. Well, maybe it does (or maybe it did), but nowhere in the options for 2.6.1 that I could find (maybe you need a plu­gin to do it?). Then I dis­covered that this blo­g’s default feed had been changed to RSS2 some time when I was­n’t look­ing, which also was­n’t what I wanted. 

To jog my memory next time I upgrade Word­Press and want to use Atom by default, here’s where to change the set­ting. For­tu­nately PHP code is easy to search through! The file is feed.php in the wp-includes dir­ect­ory. Change the second para­met­er in the get_default_feed func­tion to atom. With­in any luck this meth­od will even con­tin­ue to work in the next ver­sion. I’ll cer­tainly know to check what the default feed format is in the future.

/* ]]> */