Forums / Developer / Rss Howto

Rss Howto

Author Message

K259

Friday 15 October 2004 2:41:27 am

I've created the rss export in the admin interface, but get only access denied when I try to get to access it through http://www.sitename.com/rss/feed/rssname

Do I have to program something to make a rss available in eZ publish?

Björn Dieding@xrow.de

Friday 15 October 2004 5:32:21 am

no code needed

please check your permissions on module rss

Looking for a new job? http://www.xrow.com/xrow-GmbH/Jobs
Looking for hosting? http://hostingezpublish.com
-----------------------------------------------------------------------------
GMT +01:00 Hannover, Germany
Web: http://www.xrow.com/

K259

Friday 15 October 2004 5:39:39 am

Hi! Tnx.

ANonymous users are now given the feed to the rss module. BUT:

I get an error when I try to access it:
The XML-page cannot be displayed. Can not show XML-inputdata with xsl stylesheet. Correct the error and refresh the site(or try again later).
Reference to non-declarated nameareaprefix:rdf. Error proceeding the resource:

http://www.sitename.com/rss/feed/rssname

<rdf:RDF>

 

K259

Friday 15 October 2004 5:50:55 am

It's working now. Just changed the rss v. from 1.0 to 2.0 and then it worked!
Hmm..

:)

K259

Friday 15 October 2004 6:12:21 am

Btw. got problems with the norwegian charachters like æ, ø and å. They are displayed like:
the ø is displayed like Ã&cedil; in my IE and Opera. Think I have to change from utf8 to iso...but where?

I've got the correct characterset in my site.ini. Shouldn't the rss follow this?

In the document there is UTF-8 characterset, but the http header says iso-8859-1 ... or the document has to be convertet to iso-8859-1, but where in the code..

K259

Friday 15 October 2004 6:43:29 am

I found this code in /lib/ezxml/classes/ezdomdocument.php:

function &toString( $charset = true, $charsetConversion = true )
    {
        $charsetText = '';
        if ( $charset === true )
            $charset = 'UTF-8';
        if ( $charset !== false )

Does anyone know if changing UTF-8 into iso-8859-1 will give other consequences than fixing my rss xml-output with correct charset?

K259

Friday 15 October 2004 6:57:30 am

Changed it and it worked, but want feedback if this will have consequences for other things in the system.

Z

Björn Dieding@xrow.de

Friday 15 October 2004 7:41:56 am

My estimate is that is depending on what your internal charset is.

If you use latin1 only you shoudl not notice any troubles

Looking for a new job? http://www.xrow.com/xrow-GmbH/Jobs
Looking for hosting? http://hostingezpublish.com
-----------------------------------------------------------------------------
GMT +01:00 Hannover, Germany
Web: http://www.xrow.com/

K259

Saturday 16 October 2004 10:02:48 am

I use iso-8859-1

Björn Dieding@xrow.de

Sunday 17 October 2004 9:44:30 am

iso-8859-1 is latin1 so you should be ok

Looking for a new job? http://www.xrow.com/xrow-GmbH/Jobs
Looking for hosting? http://hostingezpublish.com
-----------------------------------------------------------------------------
GMT +01:00 Hannover, Germany
Web: http://www.xrow.com/

eZ debug

Timing: Jan 19 2025 03:37:36
Script start
Timing: Jan 19 2025 03:37:36
Module start 'content'
Timing: Jan 19 2025 03:37:37
Module end 'content'
Timing: Jan 19 2025 03:37:37
Script end

Main resources:

Total runtime1.1345 sec
Peak memory usage4,096.0000 KB
Database Queries215

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0082 588.7813180.8516
Module start 'content' 0.00820.9637 769.6328611.5313
Module end 'content' 0.97190.1625 1,381.1641340.4609
Script end 1.1344  1,721.6250 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00410.3655210.0002
Check MTime0.00150.1294210.0001
Mysql Total
Database connection0.00090.082710.0009
Mysqli_queries1.046192.20822150.0049
Looping result0.00300.26252130.0000
Template Total1.103297.220.5516
Template load0.00160.144720.0008
Template processing1.101697.100820.5508
Template load and register function0.00020.013210.0002
states
state_id_array0.00130.112810.0013
state_identifier_array0.00180.157420.0009
Override
Cache load0.00140.1275430.0000
Sytem overhead
Fetch class attribute can translate value0.00170.151530.0006
Fetch class attribute name0.00110.0961110.0001
XML
Image XML parsing0.00100.084330.0003
class_abstraction
Instantiating content class attribute0.00000.0023130.0000
General
dbfile0.00180.1572270.0001
String conversion0.00000.000630.0000
Note: percentages do not add up to 100% because some accumulators overlap

CSS/JS files loaded with "ezjscPacker" during request:

CacheTypePacklevelSourceFiles
CSS0extension/community/design/community/stylesheets/ext/jquery.autocomplete.css
extension/community_design/design/suncana/stylesheets/scrollbars.css
extension/community_design/design/suncana/stylesheets/tabs.css
extension/community_design/design/suncana/stylesheets/roadmap.css
extension/community_design/design/suncana/stylesheets/content.css
extension/community_design/design/suncana/stylesheets/star-rating.css
extension/community_design/design/suncana/stylesheets/syntax_and_custom_tags.css
extension/community_design/design/suncana/stylesheets/buttons.css
extension/community_design/design/suncana/stylesheets/tweetbox.css
extension/community_design/design/suncana/stylesheets/jquery.fancybox-1.3.4.css
extension/bcsmoothgallery/design/standard/stylesheets/magnific-popup.css
extension/sevenx/design/simple/stylesheets/star_rating.css
extension/sevenx/design/simple/stylesheets/libs/fontawesome/css/all.min.css
extension/sevenx/design/simple/stylesheets/main.v02.css
extension/sevenx/design/simple/stylesheets/main.v02.res.css
JS0extension/ezjscore/design/standard/lib/yui/3.17.2/build/yui/yui-min.js
extension/ezjscore/design/standard/javascript/jquery-3.7.0.min.js
extension/community_design/design/suncana/javascript/jquery.ui.core.min.js
extension/community_design/design/suncana/javascript/jquery.ui.widget.min.js
extension/community_design/design/suncana/javascript/jquery.easing.1.3.js
extension/community_design/design/suncana/javascript/jquery.ui.tabs.js
extension/community_design/design/suncana/javascript/jquery.hoverIntent.min.js
extension/community_design/design/suncana/javascript/jquery.popmenu.js
extension/community_design/design/suncana/javascript/jScrollPane.js
extension/community_design/design/suncana/javascript/jquery.mousewheel.js
extension/community_design/design/suncana/javascript/jquery.cycle.all.js
extension/sevenx/design/simple/javascript/jquery.scrollTo.js
extension/community_design/design/suncana/javascript/jquery.cookie.js
extension/community_design/design/suncana/javascript/ezstarrating_jquery.js
extension/community_design/design/suncana/javascript/jquery.initboxes.js
extension/community_design/design/suncana/javascript/app.js
extension/community_design/design/suncana/javascript/twitterwidget.js
extension/community_design/design/suncana/javascript/community.js
extension/community_design/design/suncana/javascript/roadmap.js
extension/community_design/design/suncana/javascript/ez.js
extension/community_design/design/suncana/javascript/ezshareevents.js
extension/sevenx/design/simple/javascript/main.js

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
10content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
12content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.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/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
1content/datatype/view/ezxmltags/literal.tpl<No override>extension/community/design/standard/templates/content/datatype/view/ezxmltags/literal.tplEdit templateOverride template
1pagelayout.tpl<No override>extension/sevenx/design/simple/templates/pagelayout.tplEdit templateOverride template
 Number of times templates used: 31
 Number of unique templates used: 7

Time used to render debug report: 0.0001 secs