rss import broken with a href embedded?

Author Message

Andre Felipe Machado

Tuesday 25 July 2006 12:23:36 pm

Hello,
I am trying to import
http://www.debian.org/News/weekly/dwn.pt.rdf
But it contains embedded html in description tag.
The problem is that sometimes it has "<a(linebreak)href=".
The "<a href=" is rendered correctly.
The absence of a space before/after linebreak break the rendering into the ezpublish 3.6.5.
You can see the problem at:
http://www.techforce.com.br/index.php/news/mais_noticias/debian_semanal
I already contacted the rss feed manager and he answered:
http://lists.debian.org/debian-www/2006/07/msg00151.html
After some time searching for information about his question, I got lost.
Is there a w3c standard about this issue?
Or rss import on Ezpublish could be improved?
Thanks
Andre Felipe

---
A Debian user never dies. Issues a last command:
shutdown -h now

http://www.techforce.com.br

Paul Borgermans

Tuesday 25 July 2006 2:00:17 pm

Hi Andre Filipe

I think the rss import in ezp should be made more robust, regardless if there is an rfc on this (I don't think so, actually I'm pretty sure line breaks are allowed in urls alltogether to make them readable). Please file a bug report, you "discovered" it ;-)

--paul

eZ Publish, eZ Find, Solr expert consulting and training
http://twitter.com/paulborgermans

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 15:53:28
Script start
Timing: Jan 18 2025 15:53:28
Module start 'layout'
Timing: Jan 18 2025 15:53:28
Module start 'content'
Timing: Jan 18 2025 15:53:29
Module end 'content'
Timing: Jan 18 2025 15:53:29
Script end

Main resources:

Total runtime1.1232 sec
Peak memory usage4,096.0000 KB
Database Queries54

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0050 589.0469152.6250
Module start 'layout' 0.00500.0029 741.671939.4453
Module start 'content' 0.00791.1135 781.1172531.6016
Module end 'content' 1.12140.0017 1,312.71888.2969
Script end 1.1232  1,321.0156 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00300.2680160.0002
Check MTime0.00120.1056160.0001
Mysql Total
Database connection0.00070.060010.0007
Mysqli_queries1.074795.6815540.0199
Looping result0.00050.0456520.0000
Template Total1.094397.420.5471
Template load0.00200.176620.0010
Template processing1.092397.249620.5462
Template load and register function0.00010.008810.0001
states
state_id_array0.00070.059410.0007
state_identifier_array0.00150.134920.0008
Override
Cache load0.00150.1331250.0001
Sytem overhead
Fetch class attribute can translate value0.00070.065820.0004
Fetch class attribute name0.00150.133540.0004
XML
Image XML parsing0.00510.451320.0025
class_abstraction
Instantiating content class attribute0.00000.000540.0000
General
dbfile0.00620.5559230.0003
String conversion0.00000.000940.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/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
2content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
1content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
2content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 9
 Number of unique templates used: 6

Time used to render debug report: 0.0002 secs