function normalize_dc_subject(&$source, $from, &$dest, $to, $i) { $dc_id = $this->element_id($from, $i); $cat_id = $this->element_id($to, $i); $dest[$cat_id] = $source[$dc_id]; // RSS 2.0 $dest["{$cat_id}@term"] = $source[$dc_id]; // Atom 1.0 }