RSS export : how-to configure the attributes output

Author Message

Sébastien Antoniotti

Wednesday 20 December 2006 2:05:10 am

Hi everybody !

I'm setting up a rss export using the admin interface, all is ok, but I want to limit the <description> field to display n characters.

Did someone know how to do this ?

thanks in advance

eZ Publish Freelance
web : http://www.webaxis.fr

Betsy Gamrat

Saturday 23 December 2006 8:58:09 pm

Add a parameter to attribute_view_gui and use shorten.

attribute_view_gui templaters are content/view/datatype/<i>exampletype.tpl</i>

<i>shorten</i> allows you to limit the length of a string

Sébastien Antoniotti

Tuesday 26 December 2006 12:17:19 am

Hi,

Thanks a lot for your help, but I don't understand how to do this.

Moreover, I don't have any content/view/datatype/exampletype.tpl in base or standard design, and any "homemade" template to display this rss because I'have done all the configuration with the administration interface.

Thanks again.

eZ Publish Freelance
web : http://www.webaxis.fr

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.