Search

Ok, so I am very very new to XSLT, and especially RSS feed creation.

I am making a podcasting site. The client would like to submit his RSS feed to iTunes and have iTunes pick up episodes from the site.

The problem I am encountering is that tags like

<itunes:author>

produce this error: “This document is not well formed. The following error was returned: loadXML(): Namespace prefix itunes on subtitle is not defined in Entity, line: 16”

Does anyone know how I might be able to include these tags? Apple outlines what you need to include here:

http://www.apple.com/itunes/whatson/podcasts/specs.html#example

Make sure to put the xml namespace attribute for iTunes in your xsl:stylesheet element like so…

<xsl:stylesheet version="1.0"
  xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
  xmlns:itunes="http://www.itunes.com/dtds/podcast-1.0.dtd">

That worked! So simple! Thank you.

No problem Aram. I’m glad to help.

Create an account or sign in to comment.

Symphony • Open Source XSLT CMS

Server Requirements

  • PHP 5.3-5.6 or 7.0-7.3
  • PHP's LibXML module, with the XSLT extension enabled (--with-xsl)
  • MySQL 5.5 or above
  • An Apache or Litespeed webserver
  • Apache's mod_rewrite module or equivalent

Compatible Hosts

Sign in

Login details