Auto Update XML Query

Post your questions and problem reports here
Post Reply
drayton
Posts: 6
Joined: Tue Nov 29, 2011 6:54 pm

Auto Update XML Query

Post by drayton »

I've created a screensaver with the auto update feature enabled.

My code in the XML file is as follows:

<items>
<item>
<command>add</command>
<url>http://www.mydomain.co.uk/ssaver/deltaoffer.jpg</url>
<imagesize position="center">fitbig</imagesize>
</item>
<item>
<command>add</command>
<url>http://www.mydomain.co.uk/ssaver/ypsilonoffer.jpg</url>
<imagesize position="center">fitbig</imagesize>
</item>
<item>
<command>add</command>
<url>http://www.mydomain.co.uk/ssaver/delta.jpg</url>
<imagesize position="center">fitbig</imagesize>
</item>
<item>
<command>add</command>
<url>http://www.mydomain.co.uk/ssaver/compass.jpg</url>
<imagesize position="center">fitbig</imagesize>
</item>
<item>
<command>add</command>
<url>http://www.mydomain.co.uk/ssaver/grcherokee.jpg</url>
<imagesize position="center">fitbig</imagesize>
</item>
<item>
<command>add</command>
<url>http://www.mydomain.co.uk/ssaver/wrangler.jpg</url>
<imagesize position="center">fitbig</imagesize>
</item>
<item>
<command>add</command>
<url>http://www.mydomain.co.uk/ssaver/grvoyager.jpg</url>
<imagesize position="center">fitbig</imagesize>
</item>
<item>
<command>add</command>
<url>http://www.mydomain.co.uk/ssaver/ypsilon.jpg</url>
<imagesize position="center">fitbig</imagesize>
</item>

</items>

However when I click the Verify button in the auto update section it finds the file on my webserver okay, but says that there are 6 items in it when there should be 8 and I can't see what the problem is. I have another screensaver with 15 items in the related XML file and that works okay.

Any suggestions?

Thanks in advance for your assistance.
User avatar
Aivars
Blumentals Software Developer
Posts: 2462
Joined: Thu Aug 22, 2002 1:40 pm
Location: Latvia

Re: Auto Update XML Query

Post by Aivars »

I copied the XML you posted here and Screensaver Factory 6 says that it contains 8 items. Could you give me a link to your uploaded XML file?
Blumentals Software Programmer
drayton
Posts: 6
Joined: Tue Nov 29, 2011 6:54 pm

Re: Auto Update XML Query

Post by drayton »

Last edited by drayton on Wed Nov 30, 2011 12:29 pm, edited 1 time in total.
User avatar
Aivars
Blumentals Software Developer
Posts: 2462
Joined: Thu Aug 22, 2002 1:40 pm
Location: Latvia

Re: Auto Update XML Query

Post by Aivars »

Still 8 items. Which Screensaver Factory version are you using?
Blumentals Software Programmer
drayton
Posts: 6
Joined: Tue Nov 29, 2011 6:54 pm

Re: Auto Update XML Query

Post by drayton »

Enterprise version 6.03
User avatar
Aivars
Blumentals Software Developer
Posts: 2462
Joined: Thu Aug 22, 2002 1:40 pm
Location: Latvia

Re: Auto Update XML Query

Post by Aivars »

I hate to as this, but are you 100% sure it says 6 and not 8 items? I can't imagine what could cause it since the XML file simply gets downloaded, parsed and the items counted. Unless you're actually downloading a different XML file.
Blumentals Software Programmer
drayton
Posts: 6
Joined: Tue Nov 29, 2011 6:54 pm

Re: Auto Update XML Query

Post by drayton »

Definitely 6, the reason I started looking at this is becuase I originally had 6 items and then added 2 more but it wasn't adding the additional 2 slides. That's why I tried verifying the XML file again and thought because it was only counting 6 that was the problem?
User avatar
Aivars
Blumentals Software Developer
Posts: 2462
Joined: Thu Aug 22, 2002 1:40 pm
Location: Latvia

Re: Auto Update XML Query

Post by Aivars »

Maybe proxy or server has cached the original file with 6 items. Try renaming the XML file on the web server and see if there are any changes in item count with the new link.
Blumentals Software Programmer
drayton
Posts: 6
Joined: Tue Nov 29, 2011 6:54 pm

Re: Auto Update XML Query

Post by drayton »

Yes changing the name gave the count of 8.

Any idea how to get round this problem as changing the name each time would mean a new install of the screensaver?

Thanks
User avatar
Aivars
Blumentals Software Developer
Posts: 2462
Joined: Thu Aug 22, 2002 1:40 pm
Location: Latvia

Re: Auto Update XML Query

Post by Aivars »

You'll need to find out what does the caching. Try a computer outside your home network connection, try a different web server, until some pattern emerges. Screensaver Factory itself does not do any caching inside.
Blumentals Software Programmer
drayton
Posts: 6
Joined: Tue Nov 29, 2011 6:54 pm

Re: Auto Update XML Query

Post by drayton »

Thanks for your assistance and rapid responses with this issue
Post Reply