Process media gen and feed template vars.