//changing ches_cat in the feed to me, for all the first 20 feeds. for ($i = 0; $i < 20; $i++) { $twitterxml->channel->item[$i]->title = str_replace('ches_cat', 'me', $twitterxml->channel->item[$i]->title); }
Now all matches found with 'ches_cat' are replaced with 'me', for the first 20 items. (this is how many the feed is taking)
No comments:
Post a Comment