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