quote:
Originally posted by Dhaya
i have an idea that scripters who would have to put their script in the updater create and host a file somewhere with a specific format, so the updater analyze it and stores it in a database. then when the scripter updates his scripts, he just has to update the little file hosted, and the updater will know if there is a diff between the version, where to download the new file, eventually a changelog...
what do you think of that ?
It would be better if the registry was used. Since all of the scripts are already stored in HKEY_CURRENT_USER\Software\Patchou\Messenger Plus! Live\GlobalSettings\Scripts\. All you need is for each script to have a key with its own version number. This would be better if it were actually a feature of Plus! itself, just like the extension manager in firefox.
Another thing, the RSS feed for the Scripts Database currently does not have an element for version number. Here are my suggestions:
1. Give each item an element containing the script's id. Right now the only way to find your own script when parsing is by using the download link because that stays consistent. The name does not due to the version number on its end.
2. Seperate the name and version number into different elements. This way it will be easier for scripters to find out there version number. Currently I have to compare the name which contains the version number on the end.
3. Add a php filtering variable that shows only a particular element. Ex. rss.php?itemid=39 will only display the plugin with that id. This will help scripts in 2 ways: one the bandwidth used will be reduced because you wont have to download info about all the other scripts, and two, you won't have to parse the script so it will save processing time.