I am taking RSS feeds from a website and they are giving me RSS in HTML but I want to convert it to XML using PHP to use it somewhere else as well.
Can anyone help me with this? Thanks in advance.
I am taking RSS feeds from a website and they are giving me RSS in HTML but I want to convert it to XML using PHP to use it somewhere else as well.
Can anyone help me with this? Thanks in advance.
There's no such thing as an RSS feed in HTML. RSS is defined in an XML format, so anything you see is your browser rendering it in human-readable form.
You can use any of the PHP XML parsers to do what you're looking for.