Pseudo code need:
if (isset($x->item)) {
$feed_object = $x->item;
}
else {
$feed_object = $x->channel->item;
}
| Comment | File | Size | Author |
|---|---|---|---|
| #2 | feed_block-2930550-2.patch | 749 bytes | mark_fullmer |
Pseudo code need:
if (isset($x->item)) {
$feed_object = $x->item;
}
else {
$feed_object = $x->channel->item;
}
| Comment | File | Size | Author |
|---|---|---|---|
| #2 | feed_block-2930550-2.patch | 749 bytes | mark_fullmer |
Comments
Comment #2
mark_fullmerComment #4
Anonymous (not verified) commentedmark_fullmer credited jfullmer.
Comment #5
mark_fullmer