RSS Export created using wrong URL

Author Message

Andrew Hill

Sunday 13 March 2005 10:22:26 am

Hi,

I'm trying to create an RSS export of a weblog. I've set up the RSS export, but it appears that the export is ignoring the Site URL parameter, and is exporting the RSS using the admin interface URL, rather than the actual site URL. (ie. admin.example.com/rss/feed/feed.rss instead of www.example.com/rss/feed/feed.rss.)

Is there something I need to do to get around this?

Thanks,

Andrew

Ɓukasz Serwatka

Sunday 13 March 2005 10:17:57 pm

Hi Andrew,

Have you fill out Site URL input for your RSS export? Add also read permission for RSS module for Anonymous User.

Personal website -> http://serwatka.net
Blog (about eZ Publish) -> http://serwatka.net/blog

Andrew Hill

Sunday 13 March 2005 11:49:51 pm

Hi Lukasz,

Yes, I've filled out the Site URL field with http://www.example.com. However, the RSS feed is still only accessible via the http://admin.example.com URL.

The Anonymous Role has "read" function access with "No limitations" for the rss module.

Cheers,

Andrew

Andrew Hill

Tuesday 22 March 2005 3:09:56 am

Hi all,

I've tried upgrading to v3.5.1, but the RSS is still created using the admin interface URL.

Any ideas?

Thanks,

Andrew

Frederik Holljen

Tuesday 22 March 2005 3:48:25 am

What exactly do you mean by "created using the admin URL"? The link provided to the feed from the admin interface uses the admin interface directly. However, you can access the rss interface from all siteaccesses provided that the permissions are set correctly.

Andrew Hill

Tuesday 22 March 2005 4:53:24 am

Hi Frederik,

When I log in as the admin user, and go to Setup > RSS, the RSS Export I have created is shown, but the link under the "Name" heading is to "http://admin.example.com/rss/feed/example.rss". When I follow that link, I get the RSS feed I am expecting.

However, if I try to access "http://www.example.com/rss/feed/example.rss" (where www.example.com is the URL of the site content), then I get Error Kernel (1) message, telling me that access is denied.

I've obviously done something stupid, but can't figure out what :-)

Thanks,

Andrew

Marco Zinn

Friday 25 March 2005 3:02:43 am

Andrew, i had a similar problem in ez 3.4.
You wrote "The Anonymous Role has "read" function access with "No limitations" for the rss module."
Your error messages indicates, that the URL is correct, but your (anonymous) user has no access to read the RSS feed.
Please double-check the Anonymous Role's policies.
In ez 3.4, i use
rss feed *
This works fine for me.

Also note, that you should use http://www.example.com/rss/feed/example.rss as the Feeds URL (for feed readers), but i guess, you already found that out.
Copying the URL from the "name" column of the RSS export page is a bad idea, as it will direct the RSS feed reader to the admin site, where it has no access.

Marco
http://www.hyperroad-design.com

Andrew Hill

Friday 01 April 2005 12:34:50 am

Hi Marco,

Brilliant! That fixed it, thanks!

Cheers,

Andrew

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.