Auto Update XML Query
Auto Update XML Query
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.
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.
Re: Auto Update XML Query
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
Re: Auto Update XML Query
Last edited by drayton on Wed Nov 30, 2011 12:29 pm, edited 1 time in total.
Re: Auto Update XML Query
Still 8 items. Which Screensaver Factory version are you using?
Blumentals Software Programmer
Re: Auto Update XML Query
Enterprise version 6.03
Re: Auto Update XML Query
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
Re: Auto Update XML Query
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?
Re: Auto Update XML Query
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
Re: Auto Update XML Query
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
Any idea how to get round this problem as changing the name each time would mean a new install of the screensaver?
Thanks
Re: Auto Update XML Query
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
Re: Auto Update XML Query
Thanks for your assistance and rapid responses with this issue