vendredi 6 mai 2016

How to retrieve CDATA using fetch_feed function for word press?

I am currently working on an rss retriever plugin for wordpress. This plugin is written in php so I am using the fetch_feed function to parse an xml file that is generated by a website querying data from a database. The xml file generated by this website is using CDATA as markup, creating a table in html to hold the data. I am trying to retrieve that CDATA so I can do some of the formatting in the CDATA. Is there anyway I can specifically get the CDATA using fetch_feed? Or do I need to use PHP DOM?



via Chebli Mohamed

Aucun commentaire:

Enregistrer un commentaire