2007-07-19, 05:26 PM
The good news -- I'm off on my holidays soon and will leave you all in peace.
The bad news -- I have a couple more observations that will demonstrate my poor understanding of how all this works (but I'll feel better if get it off my chest).
Would it be feasible for the skinplugin to use "move" instead of "copy" to get the right files into the right places when changing , for example, a theme? Files (and, maybe, folders) could contain a value (as a comment in an .xml file or a identifier.id file in a folder) that would allow a "move" back to the skinplugin repository before the move of a new theme (ar whatever) into the skin folder. The benefit would be a more responsive skinplugin since nothing actually moves when a file of folder is "moved". I'm not sure which, if any, files have their content changed by the skinplugin. I can see that a move is not pratical if the content of the file also gets changed by the skinplugin.
The skinplugin allows me to select the number of lines that I want to see in my TV Guide (or Listing, etc). I'm guessing that this is implemented by copying the relevant .xml file from here to there. It may be that all of the several versions of the, for example, TV Guide .xml could be merged into a single file as blocks and xml comments could be edited by the skinplugin to activate the require block of xml. For example:
Start comment
5 line guide XML
6 line guide XML
End comment
7 line guide XML
Start comment
8 line Guide XML
End comment
The above could be changed to activate a 6 line guide by editing (i.e. moving) the start and end comments.
It may be that this technique could also be applied to other "edits".
Thanks
Graham
The bad news -- I have a couple more observations that will demonstrate my poor understanding of how all this works (but I'll feel better if get it off my chest).
Would it be feasible for the skinplugin to use "move" instead of "copy" to get the right files into the right places when changing , for example, a theme? Files (and, maybe, folders) could contain a value (as a comment in an .xml file or a identifier.id file in a folder) that would allow a "move" back to the skinplugin repository before the move of a new theme (ar whatever) into the skin folder. The benefit would be a more responsive skinplugin since nothing actually moves when a file of folder is "moved". I'm not sure which, if any, files have their content changed by the skinplugin. I can see that a move is not pratical if the content of the file also gets changed by the skinplugin.
The skinplugin allows me to select the number of lines that I want to see in my TV Guide (or Listing, etc). I'm guessing that this is implemented by copying the relevant .xml file from here to there. It may be that all of the several versions of the, for example, TV Guide .xml could be merged into a single file as blocks and xml comments could be edited by the skinplugin to activate the require block of xml. For example:
Start comment
5 line guide XML
6 line guide XML
End comment
7 line guide XML
Start comment
8 line Guide XML
End comment
The above could be changed to activate a 6 line guide by editing (i.e. moving) the start and end comments.
It may be that this technique could also be applied to other "edits".
Thanks
Graham