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.

eZ debug

Timing: Jan 18 2025 21:16:19
Script start
Timing: Jan 18 2025 21:16:19
Module start 'layout'
Timing: Jan 18 2025 21:16:19
Module start 'content'
Timing: Jan 18 2025 21:16:21
Module end 'content'
Timing: Jan 18 2025 21:16:21
Script end

Main resources:

Total runtime1.6237 sec
Peak memory usage4,096.0000 KB
Database Queries76

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0085 588.0391152.6406
Module start 'layout' 0.00850.0034 740.679739.4766
Module start 'content' 0.01191.6102 780.1563676.9922
Module end 'content' 1.62210.0016 1,457.148416.1406
Script end 1.6237  1,473.2891 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00340.2070160.0002
Check MTime0.00150.0916160.0001
Mysql Total
Database connection0.00160.096910.0016
Mysqli_queries1.551595.5482760.0204
Looping result0.00080.0497740.0000
Template Total1.577397.120.7887
Template load0.00160.097920.0008
Template processing1.575797.041720.7879
Template load and register function0.00030.016110.0003
states
state_id_array0.00210.130310.0021
state_identifier_array0.00220.138420.0011
Override
Cache load0.00140.0876500.0000
Sytem overhead
Fetch class attribute can translate value0.00080.047640.0002
Fetch class attribute name0.00100.0633110.0001
XML
Image XML parsing0.00180.113740.0005
class_abstraction
Instantiating content class attribute0.00000.0012110.0000
General
dbfile0.00130.0792300.0000
String conversion0.00000.000640.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1node/view/full.tplfull/forum_topic.tplextension/sevenx/design/simple/override/templates/full/forum_topic.tplEdit templateOverride template
8content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
9content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
3content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
2content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 24
 Number of unique templates used: 6

Time used to render debug report: 0.0001 secs