• Resolved alexleonard

    (@alexleonard)


    Hi there,

    This is a plugin that could very well have saved me an awful lot of hassle, but I’m having a few teething issues.

    I’m getting the following error.

    XML Parsing Error: duplicate attribute
    Location: http://devel.invisibleagent.com/category/agent-cast/feed/
    Line Number 9, Column 1:xmlns:itunes="http://www.itunes.com/dtds/podcast-1.0.dtd"

    Which appears only if I create a category channel for the “agent-cast” category on the site we’re working on.

    I’m using the Blubrry podcast plugin, although I’m not sure if that’s going to be entirely necessary anymore (seeing as WP handles the enclosures, and your channels plugin looks like it will take care of all the podcast type meta-data for iTunes etc.

    What we’re looking for is an easy way to have a normal main site feed, and a separate feed for music podcasts. I am hoping to integrate this with feedburner when it’s ready to go which will take over our old podcast feed at http://feeds.feedburner.com/AgentCast/

    I have a feeling I’m missing something obvious, but if there’s any advice you might have that would be greatly appreciated.

    Cheers,

    Alex

    http://wordpress.org/extend/plugins/podcast-channels/

Viewing 9 replies - 1 through 9 (of 9 total)
  • Thread Starter alexleonard

    (@alexleonard)

    Oh, also, when I try to add more fields to this category channel, I find that it will only let me create the following fields.

    Title
    Copyright
    Summary
    Subtitle
    Keywords

    Every time I try to add more fields, on clicking “Save Channel Data” the newly added fields vanish?!

    Thanks again.

    Alex

    i think the first issue, the duplicate xmlns:itunes=… will be due to using two podcasting plugins (i.e. blubrry and podcast channels).

    (If it becomes desirable, i might work on making my plugin aware of other plugins and not do stuff like this if another plugin already handles it.)

    “What we’re looking for is an easy way to have a normal main site feed, and a separate feed for music podcasts”

    you might want to look at the podcasting plugin – as that does the separate feed thing. my plugin is only designed to supplement the existing feed.
    http://wordpress.org/extend/plugins/podcasting/

    the problem in your 2nd post i don’t know how to fix – it’s not something i can replicate in any of my setups (2.5 and 2.7). So, let me know if you want to persist with Podcast Channels and then we’ll try troubleshooting your setup.

    Thread Starter alexleonard

    (@alexleonard)

    Hi alanft,

    Thanks for the quick response.

    I’ll have a look into the suggestions you made later this evening and see if I can work it all out.

    I have tested out the podcasting plugin, and both it and blubrry do a separate podcast feed but unfortunately they instantly find every single post with an enclosure and include that in the feed. The issue in our case is that a lot of posts will have short mp3 samples included, but are not to be considered a “podcast”.

    I think that’s what drew me to the channels plugin, in that I could set up all the necessary meta info on a specific category feed and then redirect that to feedburner.

    Nice work πŸ™‚

    I’ll have a look at the field vanishing bug and see if I can find out some more useful information.

    Cheers,

    Alex

    ok so you can just dedicate a category to the podcast channel you want then, keeping the home page feed normal using PodcastChannels. hurray!

    if you want to try your hand at hacking Podcast channels to stop it duplicating the “xmlns:itunes…” stuff, find the line

    add_action('rss2_ns', 'podcast_channels_itunes_namespace');

    and comment it out with a // at the beginning. uncomment it when you deactivate the other plugin.

    Thread Starter alexleonard

    (@alexleonard)

    @alanft

    Sorry for the delay in getting back to you, a few other things got in the way and I’ve only gotten round to looking at this again today.

    So with the Blubrry plugin gone all the feed stuff is working beautifully. Just what we need.

    I think I’ve worked out why I was getting confused about fields not populating data. As far as I can tell the problem was that I was adding a field that corresponded to a “Site Default” field and as a result it wasn’t showing because it was identical to the “Site Default”!

    Never even occurred to me that that was what was going on!

    So, it’s all good πŸ™‚

    cool – thanks for the feedback.

    I’m getting the same error…

    This feed does not validate.
    line 10, column 0: XML parsing error: <unknown>:10:0: duplicate attribute
    xmlns:itunes=”http://www.itunes.com/dtds/podcast-1.0.dtd”&gt;

    I did have two podcasting apps and I removed one. the error remains. Help!

    I figured it out… after removing the second plugin, I also removed and re-added the podcast, that did the trick. I’m guessing that triggered the feed to be recreated (without errors).

    probably just a cached feed, changing the post would have invalidated the cache for the feed item

Viewing 9 replies - 1 through 9 (of 9 total)

The topic ‘[Plugin: Podcast Channels] Issue with invalid xml?’ is closed to new replies.