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.