Friday, December 09, 2016

unbound prefix atom feed valid

I was getting this error when I wanted to add atom:link to my RSS feed. You must declare the xml name space like this:

xml.rss "xmlns:itunes" => "http://www.itunes.com/dtds/podcast-1.0.dtd",  "xmlns:media" => "http://search.yahoo.com/mrss/",  :version => "2.0", "xmlns:atom" => "http://www.w3.org/2005/Atom" do

No comments:

Post a Comment