Forums / Install & configuration / RSS Export created using wrong URL

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

eZ debug

Timing: Jan 19 2025 03:24:38
Script start
Timing: Jan 19 2025 03:24:38
Module start 'content'
Timing: Jan 19 2025 03:24:38
Module end 'content'
Timing: Jan 19 2025 03:24:38
Script end

Main resources:

Total runtime0.2094 sec
Peak memory usage4,096.0000 KB
Database Queries141

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0061 589.0781180.8203
Module start 'content' 0.00610.0199 769.8984101.9297
Module end 'content' 0.02600.1834 871.8281530.0781
Script end 0.2094  1,401.9063 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00371.7869200.0002
Check MTime0.00140.6884200.0001
Mysql Total
Database connection0.00060.296110.0006
Mysqli_queries0.142568.03581410.0010
Looping result0.00160.74891390.0000
Template Total0.182887.310.1828
Template load0.00100.456510.0010
Template processing0.181886.820010.1818
Override
Cache load0.00070.319510.0007
Sytem overhead
Fetch class attribute can translate value0.00080.385310.0008
XML
Image XML parsing0.00020.117010.0002
General
dbfile0.02029.6491200.0010
String conversion0.00000.002330.0000
Note: percentages do not add up to 100% because some accumulators overlap

CSS/JS files loaded with "ezjscPacker" during request:

CacheTypePacklevelSourceFiles
CSS0extension/community/design/community/stylesheets/ext/jquery.autocomplete.css
extension/community_design/design/suncana/stylesheets/scrollbars.css
extension/community_design/design/suncana/stylesheets/tabs.css
extension/community_design/design/suncana/stylesheets/roadmap.css
extension/community_design/design/suncana/stylesheets/content.css
extension/community_design/design/suncana/stylesheets/star-rating.css
extension/community_design/design/suncana/stylesheets/syntax_and_custom_tags.css
extension/community_design/design/suncana/stylesheets/buttons.css
extension/community_design/design/suncana/stylesheets/tweetbox.css
extension/community_design/design/suncana/stylesheets/jquery.fancybox-1.3.4.css
extension/bcsmoothgallery/design/standard/stylesheets/magnific-popup.css
extension/sevenx/design/simple/stylesheets/star_rating.css
extension/sevenx/design/simple/stylesheets/libs/fontawesome/css/all.min.css
extension/sevenx/design/simple/stylesheets/main.v02.css
extension/sevenx/design/simple/stylesheets/main.v02.res.css
JS0extension/ezjscore/design/standard/lib/yui/3.17.2/build/yui/yui-min.js
extension/ezjscore/design/standard/javascript/jquery-3.7.0.min.js
extension/community_design/design/suncana/javascript/jquery.ui.core.min.js
extension/community_design/design/suncana/javascript/jquery.ui.widget.min.js
extension/community_design/design/suncana/javascript/jquery.easing.1.3.js
extension/community_design/design/suncana/javascript/jquery.ui.tabs.js
extension/community_design/design/suncana/javascript/jquery.hoverIntent.min.js
extension/community_design/design/suncana/javascript/jquery.popmenu.js
extension/community_design/design/suncana/javascript/jScrollPane.js
extension/community_design/design/suncana/javascript/jquery.mousewheel.js
extension/community_design/design/suncana/javascript/jquery.cycle.all.js
extension/sevenx/design/simple/javascript/jquery.scrollTo.js
extension/community_design/design/suncana/javascript/jquery.cookie.js
extension/community_design/design/suncana/javascript/ezstarrating_jquery.js
extension/community_design/design/suncana/javascript/jquery.initboxes.js
extension/community_design/design/suncana/javascript/app.js
extension/community_design/design/suncana/javascript/twitterwidget.js
extension/community_design/design/suncana/javascript/community.js
extension/community_design/design/suncana/javascript/roadmap.js
extension/community_design/design/suncana/javascript/ez.js
extension/community_design/design/suncana/javascript/ezshareevents.js
extension/sevenx/design/simple/javascript/main.js

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1pagelayout.tpl<No override>extension/sevenx/design/simple/templates/pagelayout.tplEdit templateOverride template
 Number of times templates used: 1
 Number of unique templates used: 1

Time used to render debug report: 0.0001 secs