Given a Wordpress Feed, I must know how do i get all of the tags for every publish. So far as I can tell, for every tag there's an entry such as this <category><![CDATA[ ]]></category>. I am using PHP's SimpleXmlElement.


You should use SimpleXMLElement::xpath to get this done. So:

$x = new SimpleXMLElement($xml_for_one_item);
$result = $x->xpath('category');
foreach ($result as $cat) {
    // do something with the category string in $cat

The only real disadvantage here's you have to pass the XML for just one item at any given time. Knowing which products you want to make use of, change it out to $x->channel->item[0]->xpath('.//category') for that first item, etc.