Auto Update XML Query

Post your questions and problem reports here

Auto Update XML Query

Postby drayton » Tue Nov 29, 2011 6:59 pm

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.
drayton
 
Posts: 6
Joined: Tue Nov 29, 2011 6:54 pm

Re: Auto Update XML Query

Postby Aivars » Tue Nov 29, 2011 8:14 pm

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
User avatar
Aivars
Blumentals Software Developer
 
Posts: 2374
Joined: Thu Aug 22, 2002 1:40 pm
Location: Latvia

Re: Auto Update XML Query

Postby drayton » Tue Nov 29, 2011 9:03 pm

Last edited by drayton on Wed Nov 30, 2011 12:29 pm, edited 1 time in total.
drayton
 
Posts: 6
Joined: Tue Nov 29, 2011 6:54 pm

Re: Auto Update XML Query

Postby Aivars » Tue Nov 29, 2011 9:37 pm

Still 8 items. Which Screensaver Factory version are you using?
Blumentals Software Programmer
User avatar
Aivars
Blumentals Software Developer
 
Posts: 2374
Joined: Thu Aug 22, 2002 1:40 pm
Location: Latvia

Re: Auto Update XML Query

Postby drayton » Wed Nov 30, 2011 10:56 am

Enterprise version 6.03
drayton
 
Posts: 6
Joined: Tue Nov 29, 2011 6:54 pm

Re: Auto Update XML Query

Postby Aivars » Wed Nov 30, 2011 11:05 am

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
User avatar
Aivars
Blumentals Software Developer
 
Posts: 2374
Joined: Thu Aug 22, 2002 1:40 pm
Location: Latvia

Re: Auto Update XML Query

Postby drayton » Wed Nov 30, 2011 11:13 am

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?
drayton
 
Posts: 6
Joined: Tue Nov 29, 2011 6:54 pm

Re: Auto Update XML Query

Postby Aivars » Wed Nov 30, 2011 11:31 am

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
User avatar
Aivars
Blumentals Software Developer
 
Posts: 2374
Joined: Thu Aug 22, 2002 1:40 pm
Location: Latvia

Re: Auto Update XML Query

Postby drayton » Wed Nov 30, 2011 11:39 am

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
drayton
 
Posts: 6
Joined: Tue Nov 29, 2011 6:54 pm

Re: Auto Update XML Query

Postby Aivars » Wed Nov 30, 2011 12:26 pm

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
User avatar
Aivars
Blumentals Software Developer
 
Posts: 2374
Joined: Thu Aug 22, 2002 1:40 pm
Location: Latvia

Re: Auto Update XML Query

Postby drayton » Wed Nov 30, 2011 12:28 pm

Thanks for your assistance and rapid responses with this issue
drayton
 
Posts: 6
Joined: Tue Nov 29, 2011 6:54 pm


Return to Screensaver Factory Support

Who is online

Users browsing this forum: No registered users and 1 guest

cron