New datatype RSS import

Author Message

Xavier Dutoit

Friday 26 January 2007 8:25:07 am

This is the place to discuss about this new datatype : http://ez.no/community/contribs/datatypes/rss_import

The RSS imports definition are handled outside of the standard content system (nodes, objects...). This datatype allows you to manage your rss feeds imports directly from within a regular content object.

It's just a more user friendly interface, all the work is still done by the standard RSS import interface

We needed to manage a news section, with lots of different news sources, each of them with a rss feed automatically adding news items (and stored as children of that source).

Doing that with the current interface is a real pain :
1) create the node of class link (source) under the right category in the news section,
2) go to rss menu,
3) create a new rss import with the same name than the link you just created
4) change the type of the content class for the news item class (no way I want to create folders, as offered by default)
5) set the right attributes for that class,
6) browse the destination node to pick up the link you just created
7) find again the url of the rss you had on your clipboard at 1), but since you had too many manipulations in the meantime, you lost it
8) Save the rss import

With the new rssfeed datatype added on the link class as a new attribute, you just put the rss address at the same time than you create the link object and that's it.
It creates the import in the background (points 2 to 8).

http://www.sydesy.com

Xavier Dutoit

Friday 26 January 2007 8:27:51 am

Please provides me feed-back if you've tested it on a 3.9

Please tell me if the doc is clear enough.

X+

http://www.sydesy.com

Paul Wilson

Tuesday 20 February 2007 2:16:02 pm

Hi Xavier,

I tried on 3.9.0, but no success yet. Extension enabled, cache cleared, but the datatype does not appear.

I suggest that it would be easier to have a zip file for download rather than pubsvn link.

Also, when downloading files from pubzvn, one file downloads as .htm rather than .tpl. Perhaps this happened because I was downloading manually. Anyway, it was the file:

rssfeed\design\standard\templates\content\datatype\view\ezrssfeed

Hope this helps

Regards

- Paul

EDIT/UPDATE: I sorted it out. Yes, this extension seems to work properly in EZ 3.9.0. More feedback to follow.

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 19 2025 04:23:10
Script start
Timing: Jan 19 2025 04:23:10
Module start 'layout'
Timing: Jan 19 2025 04:23:10
Module start 'content'
Timing: Jan 19 2025 04:23:11
Module end 'content'
Timing: Jan 19 2025 04:23:11
Script end

Main resources:

Total runtime1.1307 sec
Peak memory usage4,096.0000 KB
Database Queries57

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0061 589.1484152.6250
Module start 'layout' 0.00610.0038 741.773439.4453
Module start 'content' 0.00991.1194 781.2188547.4141
Module end 'content' 1.12930.0013 1,328.632812.1719
Script end 1.1307  1,340.8047 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00340.3013160.0002
Check MTime0.00150.1331160.0001
Mysql Total
Database connection0.00080.074810.0008
Mysqli_queries1.054693.2744570.0185
Looping result0.00050.0480550.0000
Template Total1.089196.320.5446
Template load0.00210.181520.0010
Template processing1.087096.139420.5435
Template load and register function0.00010.011010.0001
states
state_id_array0.00190.168310.0019
state_identifier_array0.00300.263720.0015
Override
Cache load0.00170.1514350.0000
Sytem overhead
Fetch class attribute can translate value0.00060.053420.0003
Fetch class attribute name0.00090.077250.0002
XML
Image XML parsing0.00110.095820.0005
class_abstraction
Instantiating content class attribute0.00000.001160.0000
General
dbfile0.00110.0973220.0001
String conversion0.00000.000740.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
3content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
5content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
2content/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: 15
 Number of unique templates used: 6

Time used to render debug report: 0.0002 secs