Topic: Gallery XML not found

Hi, ive been using the template for picasa to create a SimpleViewer gallery but for some people (myself included) the gallery doesn't load. After the initial loading of simpleview it just displays a text wich says: "Gallery XML not found"
Both the index file, the swf and the xml file are located in the same folder on the website and the images are in the same folders as they were put in when picasa made the template.
A test can be seen on http://www.widén.se/daniel

The contents of index

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
    <head>
        <title>SimpleViewer Gallery</title>
        <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
        <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/swfobject/2.2/swfobject.js"></script>
        <script type="text/javascript">
            var flashvars = {};
            flashvars.galleryURL = "gallery.xml";
            var params = {};            
            params.allowfullscreen = true;
            params.allowscriptaccess = "always";
            params.bgcolor = "222222";
            swfobject.embedSWF("simpleviewer.swf", "flashContent", "100%", "100%", "9.0.124", false, flashvars, params);
        </script>
        
        <style type="text/css" media="screen">    
            html, body    { height:100%; }
            body {            
                margin:0;
                padding:0;
                overflow:hidden;
                background-color: #000;
                color:#666;
                font-family:sans-serif;
                font-size:20px;        
            }
            a {    
                color:#ff0000;    
            }
        </style>
        
    </head><body><div id="flashContent">SimpleViewer requires JavaScript and the Flash Player. <a href="http://www.adobe.com/go/getflashplayer/">Get Flash.</a>.</div></body>
</html>

Re: Gallery XML not found

XML Parsing Error: not well-formed
Location: http://www.widén.se/daniel/gallery.xml
Line Number 28, Column 12:    <caption>L￿gtryck</caption>   
------------------^

Your XML has two characters in your captions that are causing issues.

Check out the FAQ for using Non-English characters.

In addition Firefox does not support international domain names with nonstandard characters for Windows unless the user white lists the domains.

http://www.simpleviewer.net/forum/viewtopic.php?id=9829
http://kb.mozillazine.org/Network.enableIDN
https://support.mozilla.com/en-US/forum/1/545827

Mike Richards
SimpleViewer Support Team.

Re: Gallery XML not found

Hi again and thank you for replying.
I was looking up the issue with Firefox and IDN-names but from what I read I came to the conclusion that all .se IDN-domainnames are whitelisted per default.

And I've also put in the full adress with the "regular" domain name for widén.se which is: xn--widn-dpa in all references to file locations.

I've also adressed the issue with the invalid chars, but don't seem to get it right, I read in FAQ how to use HTML in captions and used the HTML chars instead, but that only made the problem worse, since it doesn't show the characters but instead show the HTML code for them (before i changed it I saw the characters as they should be)

Everything has been saved with UTF-8 character coding.

gallery.xml

<?xml version="1.0" encoding="utf-8" ?>
<simpleviewergallery
    
    title="Smakprov"
    galleryStyle="MODERN"
    thumbPosition="LEFT"
    textColor="FFFFFF"
    frameColor="333333"
    thumbRows="4"
    thumbColumns="3"
    showOpenButton="TRUE"
    showFullscreenButton="TRUE"
    frameWidth="20"
    maxImageWidth="800"
    maxImageHeight="800"
    imagePath=""
    thumbPath=""    
    useFlickr="false"
    flickrUserName=""
    flickrTags=""    
>

<image imageURL="http://www.xn--widn-dpa.se/daniel/images/gren.jpg" thumbURL="http://www.xn--widn-dpa.se/daniel/thumbnails/gren.jpg" linkURL="" linkTarget="" >
    <caption><![CDATA[<p>Gren</p>]]></caption>    
</image><image imageURL="http://www.xn--widn-dpa.se/daniel/images/basketcase.jpg" thumbURL="http://www.xn--widn-dpa.se/daniel/thumbnails/basketcase.jpg" linkURL="" linkTarget="" >
    <caption><![CDATA[<p>BasketCase - HDR</p>]]></caption>    
</image><image imageURL="http://www.xn--widn-dpa.se/daniel/images/3.jpg" thumbURL="http://www.xn--widn-dpa.se/daniel/thumbnails/3.jpg" linkURL="" linkTarget="" >
    <caption><![CDATA[<p>L&aring;gtryck</p>]]></caption>    
</image><image imageURL="http://www.xn--widn-dpa.se/daniel/images/skot.jpg" thumbURL="http://www.xn--widn-dpa.se/daniel/thumbnails/skot.jpg" linkURL="" linkTarget="" >
    <caption><![CDATA[<p>Sko</p>]]></caption>    
</image><image imageURL="http://www.xn--widn-dpa.se/daniel/images/sko.jpg" thumbURL="http://www.xn--widn-dpa.se/daniel/thumbnails/sko.jpg" linkURL="" linkTarget="" >
    <caption><![CDATA[<p>Sko</p>]]></caption>    
</image><image imageURL="http://www.xn--widn-dpa.se/daniel/images/6.jpg" thumbURL="http://www.xn--widn-dpa.se/daniel/thumbnails/6.jpg" linkURL="" linkTarget="" >
    <caption><![CDATA[<p>Solnedg&aring;ng</p>]]></caption>    
</image><image imageURL="http://www.xn--widn-dpa.se/daniel/images/rostig_kedja.jpg" thumbURL="http://www.xn--widn-dpa.se/daniel/thumbnails/rostig_kedja.jpg" linkURL="" linkTarget="" >
    <caption><![CDATA[<p>Rostig Kedja</p>]]></caption>    
</image></simpleviewergallery>

index.html

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
    <head>
        <title>Daniel Wid&eacute;n - Smakprov ur fotoportfölj</title>
        <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
        <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/swfobject/2.2/swfobject.js"></script>
        <script type="text/javascript">
            var flashvars = {};
            flashvars.galleryURL = "http://www.xn--widn-dpa.se/daniel/gallery.xml";
            var params = {};
            params.allowfullscreen = true;
            params.allowscriptaccess = "always";
            params.bgcolor = "222222";
            swfobject.embedSWF("http://www.xn--widn-dpa.se/daniel/simpleviewer.swf", "flashContent", "100%", "100%", "9.0.124", false, flashvars, params);
        </script>

        <style type="text/css" media="screen">
            html, body    { height:100%; }
            body {
                margin:0;
                padding:0;
                overflow:hidden;
                background-color: #000;
                color:#666;
                font-family:sans-serif;
                font-size:20px;
            }
            a {
                color:#ff0000;
            }
        </style>

    </head><body><div id="flashContent">Sidan kr&auml;ver flash. <a href="http://www.adobe.com/go/getflashplayer/">Hämta flash.</a>.</div></body>
</html>

But I'm still not getting it right, can you point me in the right direction?
I'm grateful for any help.
/Daniel Widén