You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I think it is time to replace the internal methods makeHeader(), makeChannels(), makeItems(), makeFooter() and makeNode() with PHP's own functions to generate the XML output. The current methods have some quirks like the two described in #23 and #18 (last comment).
There are plenty of function & classes to choose from. SimpleXML, XMLWriter or even the full DOM classes look promising. However, these classes are / were extensions and not always available on every PHP installation. This depends heavily on the server configuration. And that's the advantage of having the XML assembled in own methods: It's very unlikely that plain string functions are deactivated. 😉
The text was updated successfully, but these errors were encountered:
I think it is time to replace the internal methods
makeHeader()
,makeChannels()
,makeItems()
,makeFooter()
andmakeNode()
with PHP's own functions to generate the XML output. The current methods have some quirks like the two described in #23 and #18 (last comment).There are plenty of function & classes to choose from. SimpleXML, XMLWriter or even the full DOM classes look promising. However, these classes are / were extensions and not always available on every PHP installation. This depends heavily on the server configuration. And that's the advantage of having the XML assembled in own methods: It's very unlikely that plain string functions are deactivated. 😉
The text was updated successfully, but these errors were encountered: