personalized landscape: so where is the error?

YoWindow widget Questions, Suggestions and Bugs
Post Reply
Extranjero

personalized landscape: so where is the error?

Post by Extranjero »

I'm trying to get working a personalized landscape on the www-widget.

I suppose having read all about the theme in the forum and instructions and having tried every hint there.

But it still doesn't work.

I set up a test-page on http://www.spanishcourses.info/yoWindow ... owTEST.htm where you can see that, if the ywl-file is taken from yoWindow, it works.

With the same configuration, same file names taken from my own server, on then same page (http://www.spanishcourses.info/yoWindow ... owTEST.htm) only the sky is shown up.

I also let read (live) and showing up the content of the ywl-file and of the crossdomain.xml, so it might be easier to detect the error.

Please tell me, where the error might be located.

Thx.

Edited 20 of december 2010 - note: Setting up the crossdomain.xml and register the mime-type on the server resolved the problem. Working examples can be seen on http://www.spanishcourses.info/cities5/ ... -10-EN.htm, http://www.spanishcourses.info/cities5/ ... -18-EN.htm or http://www.spanishcourses.info/cities5/ ... 365-EN.htm (the last one switching personalized landscape within serveral reloads of the page)
The application is TOP and the forum support too.
Thank you!
Last edited by Extranjero on Tue Dec 21, 2010 3:23 am, edited 1 time in total.
User avatar
hermanz
Posts: 1892
Joined: Thu Apr 08, 2010 3:21 pm
Name: Herman
Location: Nieuwegein, Netherlands

Re: personalized landscape: so where is the error?

Post by hermanz »

Hi

if I look at the sourcecode of your site I see "landscape=colosseum.ywl"
Here you have to write "landscape=http://www.spanishcourses.info/??/colosseum.ywl". This means the full url

gr.
Herman :D
(Wheather on an I(phone,pad,pod) or Android, YoWindow what else )
Extranjero

Re: personalized landscape: so where is the error?

Post by Extranjero »

ok ... (as you can see) I changed it.

Result: http://swf.yowindow.com/wimo/hpPal/hpPal.swf calls for http://www.spanishcourses.info/yoWindow/colosseum.ywl?noCache=160 and gets the same 404-Error as when I call directly for http://www.spanishcourses.info/yoWindow/colosseum.ywl?noCache=160.

I suppose this is why the server doesn't know about how to treat/handle ywl-files.

If I rename the ywl-file to colosseum.xml, it is found and I can open it without any problem, but logically it doesn't work with yoWindow because there is an ywl-file required ...

And yes, I could tell my servers to handle ywl-files, but I think not much people, wanting to use yoWindow on their websites, can realize changes regarding to treat file-extensions on their hostings ...

So what's your proposal?

If you ask me, as for the ywl-file is a xml-file, why not accept directly xml-files in the application?; (nearly) every webserver knows to handle xml-files without changes in the accepted file-extensions, and if this is the problem, it would be solved this way.

Best regards from Buenos Aires,
Extranjero
User avatar
hermanz
Posts: 1892
Joined: Thu Apr 08, 2010 3:21 pm
Name: Herman
Location: Nieuwegein, Netherlands

Re: personalized landscape: so where is the error?

Post by hermanz »

Hi

Have you a name

Change the content of the crossdomain.xml with

<?xml version="1.0" ?>
<!DOCTYPE cross-domain-policy (View Source for full doctype...)>
- <cross-domain-policy>
<site-control permitted-cross-domain-policies="all" />
<allow-access-from domain="*" secure="true" />
<allow-http-request-headers-from domain="*" headers="*" secure="true" />
</cross-domain-policy>

Now you have

<?xml version="1.0" ?>
<!DOCTYPE cross-domain-policy (View Source for full doctype...)>
- <cross-domain-policy>
<allow-access-from domain="*.yowindow.com" secure="true" />
</cross-domain-policy>

And yes change the colosseum.xml in colosseum.ywl and tells your webserver to handle ywl files
gr.
Herman :D
(Wheather on an I(phone,pad,pod) or Android, YoWindow what else )
Extranjero

Re: personalized landscape: so where is the error?

Post by Extranjero »

I inserted my name registering me ... it's Matthias .

I did as you said - and: it works.

Registering the MIME-type ywl as text/xml on the servers resolved the problem.

To open the crossdomain.xml to everybody (which might be a security risk) is not necessary.

Thx for your time & advices!

Best regards
Extranjero
Post Reply