How to auto delete old rss imported files?

Author Message

Jack Rackham

Wednesday 13 April 2005 12:26:55 pm

Is it possible to auto delete old rss imported files, so that the ez don't get filled with thousands of old rss files?

Eivind Marienborg

Wednesday 13 April 2005 1:25:04 pm

Maybe this is relevant:

http://www.ez.no/community/forum/developer/unpublish_by_date

Haven't read the details, so can't say for sure, though..

Jack Rackham

Wednesday 13 April 2005 3:12:22 pm

Well un-publishing the old RSS files is not exactly what I need.
The RSS import function I need is a bit complex so I can't use the RSS extension.
What I need is a function like the built-in RSS import, which lets me provide different RSS feeds to different parents' nodes( using parent_node_id,$DesignKeys:used.parent_node, if you understand what I mean).
A way I cud avoid the problems with many RSS files, is to use a java code that fetches feeds directly. I know that java scripts can bee included in templates, but if I choose this solution I would end up with hundreds of different templates. My question is therefore. Is there a way I can include java scripts in ez publish nodes or is this not possible?

Yngve Bergheim

Tuesday 21 March 2006 6:01:43 am

I'm also looking for a solution for auto delete old rss imported files after x days. I'll look into the workflow suggested by Eivind.

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 20:47:46
Script start
Timing: Jan 18 2025 20:47:46
Module start 'layout'
Timing: Jan 18 2025 20:47:46
Module start 'content'
Timing: Jan 18 2025 20:47:47
Module end 'content'
Timing: Jan 18 2025 20:47:47
Script end

Main resources:

Total runtime1.2478 sec
Peak memory usage4,096.0000 KB
Database Queries62

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0056 589.1797152.6406
Module start 'layout' 0.00560.0036 741.820339.4766
Module start 'content' 0.00931.2369 781.2969550.3594
Module end 'content' 1.24620.0016 1,331.656312.1250
Script end 1.2478  1,343.7813 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00340.2702160.0002
Check MTime0.00130.1076160.0001
Mysql Total
Database connection0.00070.052710.0007
Mysqli_queries1.188095.2094620.0192
Looping result0.00070.0582600.0000
Template Total1.187395.220.5936
Template load0.00220.173820.0011
Template processing1.185194.975220.5926
Template load and register function0.00010.009810.0001
states
state_id_array0.00200.157610.0020
state_identifier_array0.00160.129020.0008
Override
Cache load0.00170.1387180.0001
Sytem overhead
Fetch class attribute can translate value0.00070.056130.0002
Fetch class attribute name0.00180.145560.0003
XML
Image XML parsing0.00180.148030.0006
class_abstraction
Instantiating content class attribute0.00000.001270.0000
General
dbfile0.01040.8314220.0005
String conversion0.00000.000640.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
3content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
4content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
4content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
1content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 14
 Number of unique templates used: 6

Time used to render debug report: 0.0001 secs