I modified the Wordpress RSS feed, but I get RSS validation errors. How do I fix these? Where/how do I define these name spaces etc.?
Undefined item element: content:custom
I modified the Wordpress RSS feed, but I get RSS validation errors. How do I fix these? Where/how do I define these name spaces etc.?
Undefined item element: content:custom
Based on discussion in the comments, your actual problem is this:
In your attempted solution, you have added these into an existing namespace, which the W3C's validation service has knowledge of, and is thus rejecting the elements.
The right way to define your own elements is in your own namespace - since you control the namespace, nobody but you can say that your elements are "wrong" in that namespace. This requires only three steps:
http://teleeon.com/custom-rss-extensions/
. You don't actually have to put anything particular at this URL, although a page explaining why you've done it might be useful for anyone curious who comes across it in your feed.xmlns:teleeon="http://teleeon.com/custom-rss-extensions/"
<teleeon:customContent teleeon:key='test_field'>fasdfsadfsadf åäö http://www.adasdasd.com</teleeon:customContent>
If you want to have your images and custom fields as separate namespaces, just repeat steps 1 to 3 for a second namespace.