import RSS feeds in different languages ?

Author Message

Mickael Robin

Tuesday 28 April 2009 9:57:38 am

Hi all,

on a multilingual site (1 public siteaccess per language + 1 unique admin), I need to import RSS feeds to create content in different languages.

The less unrelevant way I found so far is :
Create all imported posts in the main language (of the admin siteaccess) but in different destination folders, so I can tree-fetch one folder per language/siteaccess, using "if" statements to map siteaccess/language with destination folder in every template which has to fetch imported posts.
(NB : as all the languages are prioritized in every siteaccess, I can not just use a destination folder per language...)

I also thought of using one admin siteaccess per language but I can't see a way to have several "national import cronjobs" finding their "national import feeds" from the unique imports list.

=> Would anybody see a way to import RSS feed content in various languages?

Thanks in advance for your ideas :-)

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 16:13:04
Script start
Timing: Jan 18 2025 16:13:04
Module start 'layout'
Timing: Jan 18 2025 16:13:04
Module start 'content'
Timing: Jan 18 2025 16:13:06
Module end 'content'
Timing: Jan 18 2025 16:13:06
Script end

Main resources:

Total runtime1.4960 sec
Peak memory usage4,096.0000 KB
Database Queries46

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0054 588.0313152.6406
Module start 'layout' 0.00540.0032 740.671939.4766
Module start 'content' 0.00861.4858 780.1484401.2656
Module end 'content' 1.49440.0015 1,181.41418.1250
Script end 1.4959  1,189.5391 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00330.2173160.0002
Check MTime0.00130.0836160.0001
Mysql Total
Database connection0.00070.046710.0007
Mysqli_queries1.456597.3592460.0317
Looping result0.00050.0343440.0000
Template Total1.458697.520.7293
Template load0.00230.154520.0012
Template processing1.456397.346320.7282
Template load and register function0.00020.016510.0002
states
state_id_array0.00110.071910.0011
state_identifier_array0.00140.093120.0007
Override
Cache load0.00190.1246110.0002
Sytem overhead
Fetch class attribute can translate value0.00100.065810.0010
Fetch class attribute name0.00070.045010.0007
XML
Image XML parsing0.00010.008110.0001
class_abstraction
Instantiating content class attribute0.00000.000310.0000
General
dbfile0.00080.0544100.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
1content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
2content/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: 6
 Number of unique templates used: 5

Time used to render debug report: 0.0001 secs