Skip to content
Advertisement

Tag: rss

Remove Namespace from child Element XML PHP

I am trying to create a xml file using simpleXML. This is the output that I need: But this is what I am getting when adding third parameter to the addChild func.: I have tried to leave the third parameter empty like this: $xml->addChild(‘g:id’, 123, ”); but it still adds it like this: <g:id xmlns:g=””>123</g:id> any ideas? Answer SimpleXMLElement::addChild needs

Import RSS feed from LinkedIn?

Is there any way of getting the RSS feed of a LinkedIn group (like this: http://www.linkedin.com/groups/Behance-Creatives-55523) to show on a webpage? I would like to display the most recent discussion on a page. Answer There is no RSS feed for LinkedIn groups, as they all require the viewer to be a LinkedIn member to join (at a minimum). You could

Advertisement