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/

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

Main resources:

Total runtime0.0172 sec
Peak memory usage2,048.0000 KB
Database Queries3

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0049 590.1641152.6094
Module start 'layout' 0.00500.0028 742.773439.3984
Module start 'content' 0.00770.0073 782.171997.4141
Module end 'content' 0.01510.0021 879.585942.3047
Script end 0.0172  921.8906 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.002514.5897140.0002
Check MTime0.00116.4381140.0001
Mysql Total
Database connection0.00074.170110.0007
Mysqli_queries0.002112.257930.0007
Looping result0.00000.086010.0000
Template Total0.00179.710.0017
Template load0.00094.976910.0009
Template processing0.00084.703810.0008
Override
Cache load0.00063.460310.0006
General
dbfile0.002715.450680.0003
String conversion0.00000.045740.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 1
 Number of unique templates used: 1

Time used to render debug report: 0.0001 secs