Sorry - sorry - sorry...
Same problem again - The nes.php file actually gets its data directly
from the index.xml -file - and I hadn't seen the latest version, when
i posted my question...
It seems to work as intended now....

regards Måns Mårtensson

On 3 Mar., 08:46, Måns <[email protected]> wrote:
> I discovered that the writing of xml-files I'd made from a portable
> version of FireFox (multilingual ver.) did not write æ,ø and å
> correctly. However a native browser did...
> Now I'm left with the problem of news.php from BidiX, still rendering
> odd characters...
>
> I remember that someone once told me to change something in the header
> of a php-file to make it write danish letters correctly....
> Does someone know what to do?
>
> The php starts like this (the UTF-8 seems ok - maybe it's the
> ISOnumber I have to change?):
> <?php
> //{{{
> /***
>  * news.php - Display a RSS file using a CSS
>  * Copyright (c) 2006-2007, [email protected]
>  * version: 2.0.1 - 2007/05/13 - [email protected]
>  * source:http://tiddlywiki.bidix.info/#news.php
>  * license: BSD open source license (http://tiddlywiki.bidix.info/
> #[[BSD open source license]])
>  *
>  * usage :
>  *      GET
>  *              
> news.php[?[rss=<rssfile>[&css=<cssfile>][&encoding=<encoding>]]
>  *              <rssfile>: a RSSFeed (default index.xml)
>  *              <cssfile>: a CssFile (default embeded css)
>  *              <encoding>: charset encoding of the feed (default 'utf-8')
>  *
>  * Revision history
>  * v 2.0.2 - 2007-10-21
>  *      css tweak page width
>  * v 2.0.1 - 2007/05/13
>  *      small css tweak
>  * v 2.0.0 - 2007/03/10
>  *      should parse all RSS 2.0 feed
>  *      embed a simple stylesheet
>  * v 1.0.1 - 2006/11/02 :
>  *      minor enhancements
>  * v 1.0.0 - 2006/04/20 :
>  *      design for GenerateRssHijack
>  *
>
>  ***/
> //
> // parameters
> //
>         $RSSFEED = 'index.xml';
>         $CSS = '';
>         $ENCODING = 'utf-8'; //'utf-8' 'iso-8859-1'
> if (isset($_GET['rss'])) {
>         $RSSFEED = $_GET['rss'];}
>
> if (isset($_GET['css'])) {
>         $CSS = $_GET['css'];}
>
> if (isset($_GET['encoding'])) {
>         $ENCODING = $_GET['encoding'];
>
> }
>
> //
> // Parser
> //
>
> class RSSParser {
>         //
>
> Regards Måns Mårtensson

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/tiddlywiki?hl=en.

Reply via email to