I use SimplePie to parse RSS feeds in php. For pre-processing the result of SimplePie, I need to know if the the link is a permalink or not. The info is stored in this XML element:
<guid isPermaLink="false">FileNr123</guid>
If $items
is an instance of SimplePie objet that stands for one RSS feed item, I can use $item->get_permalink
to get the permalink. Unfortunately this returns the fileName/guid, even if isPermaLink="false"
So how can I access the isPermaLink
attribute of every feed item to post-process the SimplePie output?