Content management and publishing system