podlove / podlove-publisher

Podlove Podcast Publisher for WordPress
https://wordpress.org/plugins/podlove-podcasting-plugin-for-wordpress/
MIT License
299 stars 84 forks source link

Feed is created twice #485

Closed DavidDwier closed 9 years ago

DavidDwier commented 10 years ago

My Feed is generated twice by the podlover plugin. I can access it by entering http://altersweise.net/feed/radio/ and http://altersweise.net/radio/ the files are identical. Under Settings - Feeds - Radio - Slug I have entered "radio", so that the example given directly points to url/feed/radio. Did I misconfigure something?

eteubert commented 10 years ago

No, that's default WordPress behavior. I use the WordPress API to register our feeds so they are treated like native feeds. For example, you will find that both /feed/atom and /atom will work. However, the later redirects to the former, which is much better than just displaying the feed on both URLs. I never notices the difference in behavior. Maybe we should explicitly register those redirects or find a way to keep WordPress from registering the alternative route.

Any opinion @timpritlove?

timpritlove commented 10 years ago

Is there a way to prevent Atom podcast feeds to show up at all?

Regarding the redirect: as long as these Redirects are permanent, I don't see an issue here.

eteubert commented 10 years ago

I only mentioned atom as an example. This is the blog feed and not a podcast feed, so it's out of the scope of the publisher. I could deregister them but I don't see why. It does no harm and will only create problems with users who rely on atom. It's a WP core feature. Fun fact: There's also /feed/rdf :P

DavidDwier commented 10 years ago

I have looked into Wordpress Codex and it says, wordpress feeds are created like this: http://example.com/feed/ http://example.com/feed/rss/ http://example.com/feed/rss2/ http://example.com/feed/rdf/ http://example.com/feed/atom/

If I deactivate podlove plugin, the url /radio says it is an unvalid feed. Because I registered the /feed/radio with itunes and bitlove and we already have user subsciptions, I don't won't to change the feed url again. But there is also a permalink to a page which is now changed to /radio-2 automatically, through the duplicated feed. Because there are already links to this page in social media, I would like to have the permalink to the page back to /radio while /feed/radio still points to the itunes atom feed created by the podlover plugin. Any idea how I could prevent that the plugin creates a duplicate feed at this preserved permalink?

eteubert commented 10 years ago

I have not yet researched why and where WordPress generated the "magic" short feed URL and how to disable it. The only way I see for you right now, that does not involve writing code, is to rename your feed to anything else (in the example "myradio"):

  1. In Podlove > Feeds rename radio slug to myradio
  2. Change page permalink back to radio
  3. In Podlove > Expert Settings > Redirects, add one from /feed/radio to /feed/myradio so the iTunes entry will continue to work
eteubert commented 9 years ago

Feature-Diskussionen ab sofort nur noch in Trello oder Podlove Community.

Siehe auch: http://podlove.org/2015/04/22/the-podlove-community-and-support/


Feature-discussion will be moved to Trello or Podlove Community.

See also: http://podlove.org/2015/04/22/the-podlove-community-and-support/