Answer by nelsoniv for How to get the link from a RSS Feed?
I had the same problem but I solved it with the follow:$link = $xml->entry[$i]->link[2]->attributes()->href; //the feed-blog has 3 type of linkswhere probably $xml is $post for you.
View ArticleAnswer by salathe for How to get the link from a RSS Feed?
1. rel=alternate$links = $post->xpath('link[@rel="alternate" and @type="text/html"]');$link = (string) $links[0]['href'];See http://php.net/simplexmlelement.xpath and...
View ArticleHow to get the link from a RSS Feed?
I am trying to get the post link of a RSS feed. I load all the posts in an array correctly ( I successfully echo the content and other tags) but I have a problem to get the link. In the feed, the link...
View Article
More Pages to Explore .....