Forums / Setup & design / RSS export URLs

RSS export URLs

Author Message

Carl Worswick

Tuesday 24 November 2009 5:37:18 am

My RSS exports were working perfectly on my site for months until I switched my URL translation from enabled to disabled (From clean URLs to the content/view/full/xxxxx) form.

The feed is generated in exactly the same way except that the URL no longer points to the node ID but the object ID causing the Object is unavailable error screen for all feeds.

I've spent hours trawling through the documentation and forums trying to find an answer to this but have so far been frustrated. Can anyone help? All suggestions would be much appreciated!

Carl Worswick

Thursday 10 December 2009 7:48:48 am

Still stuck on this one after a few weeks of getting nowhere, can anybody lend a helping hand?

Robin Muilwijk

Sunday 13 December 2009 12:18:44 am

Hi Carl,

I'm no expert, but... can you start by telling us what you use? eZ Publish, Flow, anything else? And which version?

Regards Robin

Board member, eZ Publish Community Project Board - Member of the share.ez.no team - Key values: Openness and Innovation.

LinkedIn: http://nl.linkedin.com/in/robinmuilwijk // Twitter: http://twitter.com/i_robin // Skype: robin.muilwijk

Carl Worswick

Sunday 13 December 2009 5:38:00 am

Thanks for the reply Robin, I'm on eZ 3.10.1. I would have thought there would be a setting in one of the ini files but otherwise I'm looking for the place where the URL is generated in the RSS exports.

Nicolas Pastorino

Monday 14 December 2009 4:46:00 am

Carl,

Quote : "My RSS exports were working perfectly on my site for months until I switched my URL translation from enabled to disabled (From clean URLs to the content/view/full/xxxxx) form."

Could you precise what manipulation you exactly ran through ? Updating which configuration directive ? Running any URL update script ?

Let us know,

--
Nicolas Pastorino
Director Community - eZ
Member of the Community Project Board

eZ Publish Community on twitter: http://twitter.com/ezcommunity

t : http://twitter.com/jeanvoye
G+ : http://plus.tl/jeanvoye

Carl Worswick

Monday 14 December 2009 5:12:08 am

Hi Nicolas, thanks for trying to help.

The only change I have made is in the settings/override/site.ini.append.php:

[URLTranslator]
Translation=disabled

I changed the Translation=enabled to Translation=disabled

Does that help? Do I need to run the URL update script?

Nicolas Pastorino

Monday 14 December 2009 6:03:51 am

Carl,

See here, extract from kernel/classes/ezrssexport.php, starting at line 410:

if ( $useURLAlias === true )
 {
     $nodeURL = $this->urlEncodePath( $baseItemURL . $node->urlAlias() );
 }
 else
 {
     $nodeURL = $baseItemURL . 'content/view/full/'.$object->attribute( 'id' );
 }

the second last line shows where the error comes from (using object id instead of node id). This bug was reported here http://issues.ez.no/IssueView.php?Id=14409&activeItem=4 and fixed for the 4.1 version of eZ Publish.

Is migrating an option for you Carl ?

Best Regards,

--
Nicolas Pastorino
Director Community - eZ
Member of the Community Project Board

eZ Publish Community on twitter: http://twitter.com/ezcommunity

t : http://twitter.com/jeanvoye
G+ : http://plus.tl/jeanvoye

Robin Muilwijk

Monday 14 December 2009 10:53:33 am

Thanks for jumping in Nicolas ;)

Board member, eZ Publish Community Project Board - Member of the share.ez.no team - Key values: Openness and Innovation.

LinkedIn: http://nl.linkedin.com/in/robinmuilwijk // Twitter: http://twitter.com/i_robin // Skype: robin.muilwijk

Nicolas Pastorino

Monday 14 December 2009 11:07:03 am

"

Thanks for jumping in Nicolas ;)

"

:)

--
Nicolas Pastorino
Director Community - eZ
Member of the Community Project Board

eZ Publish Community on twitter: http://twitter.com/ezcommunity

t : http://twitter.com/jeanvoye
G+ : http://plus.tl/jeanvoye

Carl Worswick

Tuesday 15 December 2009 5:30:17 am

Great, thanks Nicolas, that explains what's going on. I do suppose there's no kernal hacking to be done and that a migrate is the only option?

At some point a migrate will have to be tackled but for now it's not possible. Will just have to ditch the RSS for a while.

Thanks anyway, I can stop wasting my time looking for solutions now.

Nicolas Pastorino

Monday 25 January 2010 10:22:48 am

"

Great, thanks Nicolas, that explains what's going on. I do suppose there's no kernal hacking to be done and that a migrate is the only option?

"

I am afraid yes, migrating is the only option here. More on this here:

  1. http://ez.no/doc/ez_publish/upgrading/upgrading_to_4_0/from_3_10_x_to_4_0_y
  2. http://ez.no/doc/ez_publish/upgrading/upgrading_to_4_1/4_0_x_to_4_1_y

Cheers!

--
Nicolas Pastorino
Director Community - eZ
Member of the Community Project Board

eZ Publish Community on twitter: http://twitter.com/ezcommunity

t : http://twitter.com/jeanvoye
G+ : http://plus.tl/jeanvoye

eZ debug

Timing: Jan 17 2025 23:44:02
Script start
Timing: Jan 17 2025 23:44:02
Module start 'content'
Timing: Jan 17 2025 23:44:03
Module end 'content'
Timing: Jan 17 2025 23:44:03
Script end

Main resources:

Total runtime1.2136 sec
Peak memory usage4,096.0000 KB
Database Queries221

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0057 588.7188180.8516
Module start 'content' 0.00571.0839 769.5703687.8828
Module end 'content' 1.08960.1239 1,457.4531348.4688
Script end 1.2136  1,805.9219 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00380.3168210.0002
Check MTime0.00150.1230210.0001
Mysql Total
Database connection0.00090.070110.0009
Mysqli_queries1.116892.02382210.0051
Looping result0.00240.19662190.0000
Template Total1.189898.020.5949
Template load0.00180.144920.0009
Template processing1.188097.890820.5940
Template load and register function0.00020.016210.0002
states
state_id_array0.00060.052210.0006
state_identifier_array0.00130.105820.0006
Override
Cache load0.00170.1420580.0000
Sytem overhead
Fetch class attribute can translate value0.00140.112440.0003
Fetch class attribute name0.00130.1111130.0001
XML
Image XML parsing0.00160.131440.0004
class_abstraction
Instantiating content class attribute0.00010.0041170.0000
General
dbfile0.00340.2828350.0001
String conversion0.00000.000330.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
1node/view/full.tplfull/forum_topic.tplextension/sevenx/design/simple/override/templates/full/forum_topic.tplEdit templateOverride template
11content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
16content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
6content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
1content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
1content/datatype/view/ezxmltags/literal.tpl<No override>extension/community/design/standard/templates/content/datatype/view/ezxmltags/literal.tplEdit templateOverride template
1content/datatype/view/ezxmltags/link.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/link.tplEdit templateOverride template
2content/datatype/view/ezxmltags/quote.tpldatatype/ezxmltext/quote.tplextension/ezwebin/design/ezwebin/override/templates/datatype/ezxmltext/quote.tplEdit templateOverride template
1content/datatype/view/ezxmltags/li.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/li.tplEdit templateOverride template
1content/datatype/view/ezxmltags/ol.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/ol.tplEdit templateOverride template
1pagelayout.tpl<No override>extension/sevenx/design/simple/templates/pagelayout.tplEdit templateOverride template
 Number of times templates used: 42
 Number of unique templates used: 11

Time used to render debug report: 0.0002 secs