RSS issues

Author Message

Ivan Švogor

Tuesday 28 December 2010 6:29:01 am

Hi!

I have custom template that shows news (custom classes). I can't get the rss to work. The fetch function:

 {def $rss_export = fetch( 'rss', 'export_by_node', hash( 'node_id', $node.node_id ) )}

It results with nothing. Trough the admin panel->rss I've created an rss for this node, but it asked me for class. Becouse this fetch function returns nothinig, I suppose there must be a way to point it to the right class (somewhere in .ini). Can someone tell me where is the catch?

(also, when logged in, in frontend, for some nodes I have the RSS icon on the administrator toolbox, on other I don't, and I can'f find out why)

Ivan Švogor

Tuesday 28 December 2010 7:13:49 am

I figured it out... site.ini.append.php :)

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 18 2025 05:21:34
Script start
Timing: Jan 18 2025 05:21:34
Module start 'layout'
Timing: Jan 18 2025 05:21:34
Module start 'content'
Timing: Jan 18 2025 05:21:35
Module end 'content'
Timing: Jan 18 2025 05:21:35
Script end

Main resources:

Total runtime0.7519 sec
Peak memory usage4,096.0000 KB
Database Queries52

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0093 587.7813152.6094
Module start 'layout' 0.00930.0028 740.390639.3984
Module start 'content' 0.01220.7383 779.7891422.9453
Module end 'content' 0.75050.0014 1,202.73448.2031
Script end 0.7519  1,210.9375 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00340.4456160.0002
Check MTime0.00140.1886160.0001
Mysql Total
Database connection0.00240.325710.0024
Mysqli_queries0.712194.7134520.0137
Looping result0.00050.0704500.0000
Template Total0.714595.020.3572
Template load0.00220.290120.0011
Template processing0.712394.734620.3561
Template load and register function0.00020.030910.0002
states
state_id_array0.00120.166010.0012
state_identifier_array0.00150.205920.0008
Override
Cache load0.00170.2307100.0002
Sytem overhead
Fetch class attribute can translate value0.00070.097810.0007
Fetch class attribute name0.00100.136120.0005
XML
Image XML parsing0.00010.014410.0001
class_abstraction
Instantiating content class attribute0.00000.000820.0000
General
dbfile0.00070.0932100.0001
String conversion0.00000.001240.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
2content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
3content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
1content/datatype/view/ezxmltags/literal.tpl<No override>extension/community/design/standard/templates/content/datatype/view/ezxmltags/literal.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 8
 Number of unique templates used: 5

Time used to render debug report: 0.0001 secs