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

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 15 2025 08:44:56
Script start
Timing: Jan 15 2025 08:44:56
Module start 'layout'
Timing: Jan 15 2025 08:44:56
Module start 'content'
Timing: Jan 15 2025 08:44:58
Module end 'content'
Timing: Jan 15 2025 08:44:58
Script end

Main resources:

Total runtime1.3107 sec
Peak memory usage6,144.0000 KB
Database Queries84

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0063 685.7188183.6719
Module start 'layout' 0.00630.0037 869.390652.5469
Module start 'content' 0.01001.2988 921.93752,014.7734
Module end 'content' 1.30880.0018 2,936.710980.5781
Script end 1.3106  3,017.2891 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00590.4487160.0004
Check MTime0.00140.1074160.0001
Mysql Total
Database connection0.00070.057110.0007
Mysqli_queries1.218692.9755840.0145
Looping result0.00070.0536820.0000
Template Total1.269696.920.6348
Template load0.00410.316320.0021
Template processing1.265596.549220.6327
Template load and register function0.00120.089310.0012
states
state_id_array0.00070.053910.0007
state_identifier_array0.00320.241720.0016
Override
Cache load0.00390.2955580.0001
Sytem overhead
Fetch class attribute can translate value0.00070.056830.0002
Fetch class attribute name0.00260.1997130.0002
XML
Image XML parsing0.00140.109230.0005
class_abstraction
Instantiating content class attribute0.00000.0026170.0000
General
dbfile0.00190.1444240.0001
String conversion0.00000.000840.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
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
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_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