How McClatchy made automated content work on its local titles