Sounds like a text-editor would be sufficient.
Check for the words PROBLEM or WARNING.
This will have to do for the moment until I find the mood to go some steps further.
If I decide to implement a UI it will end up being more complicated (but more user friendly) then just filtering for troublesome missions and fill a text field with the raw details as they are printed to the file.
That would take some time. We will see if and when I get to that.
Ok, just saw your last response.
Feed back is welcome!
- If the sorting is an issue, then I can try to address that during the next few days.
- Allowing a difference of ~0.5 MB sounds reasonable. Will do that as well.
- Regarding the whitespaces:
I have trouble fully understanding that myself as well.
But obviously there is some code in the DarkMod website already which is trying to handle that at least for the mission detail webpages.
See this small excerpt from the details for Business as Usual
<td><a href="http://www.fidcal.co...usinessv3.pk4">http://www.fidcal.com/darkuser/mis... spaces
The website obvisously retrieves the raw links from the database and at least corrects the actual LINK on the left by removing the trailing whitespaces.
But the 'display text' on the right still proofs that the link in the DB does have trailing blanks.
Now, turning to the code that feeds the XML & PHP pages:
I do not know what that code looks like, but it behaves different.
Any Link containing trailing blanks will never be send to the player-machine via the XML, because the server obviously does some checking (like whether the url ends with '.pk4' or not).
As a result, all those links ending with blanks are non-existant for the internal downloader.
<mission id="14" title="Business as Usual" releaseDate="2010-01-14" size="16" version="3" internalName="business3" type="single" author="Bikerdude">
<downloadLocation language="English" url="http://darkmod.taaak...usiness3.pk4"/>
<downloadLocation language="English" url="http://www.southquar...usiness3.pk4"/>
As you can see, there is no link to the Fidcal mirror. It got discarded by the server before the XML was sent to my local PC.
Edited by gnartsch, 30 December 2013 - 01:31 PM.