kudzugazette
01-22-2009, 10:45 PM
I'm trying to display a feed using magpie that has multiple categories. However, I only want it to display the first category.
Right now it's just:
$item['category'];
RSS example:
<category>SoapBox</category>
<category>First 100</category>
<category>obama</category>
I only want the first category, in this case SoapBox, to display.
Any ideas?
Right now it's just:
$item['category'];
RSS example:
<category>SoapBox</category>
<category>First 100</category>
<category>obama</category>
I only want the first category, in this case SoapBox, to display.
Any ideas?