and then proceeded to run it through a feed validator and find out that the content namespace has not been added. I had to add it to the channel myself with
This was surprising, and I would prefer if it automatically added the relevant namespace, but it would at least be okay if it was mentioned in the documentation somewhere that I would need to do that.
This issue is based on 1.9.0, but i don't think it's been fixed since looking at the source code. If it has, oops?
In my latest project, I've been generating RSS feeds from scratch (based off some web scraping). Wrote some code that looks somewhat like:
and then proceeded to run it through a feed validator and find out that the content namespace has not been added. I had to add it to the channel myself with
This was surprising, and I would prefer if it automatically added the relevant namespace, but it would at least be okay if it was mentioned in the documentation somewhere that I would need to do that.
This issue is based on 1.9.0, but i don't think it's been fixed since looking at the source code. If it has, oops?