floele Posted April 12, 2009 Report Share Posted April 12, 2009 Since you recently had to battle some HTML changes: Would it help if you had a feature that allowed you to only change an application template and by that changing all applications which have been created from it? Link to comment Share on other sites More sharing options...
FranciscoR Posted April 12, 2009 Report Share Posted April 12, 2009 Idea seems fine, but how do you plan to do that ? Most of my applications created from templates has dynamic content, will that be preserved ? Link to comment Share on other sites More sharing options...
floele Posted April 12, 2009 Author Report Share Posted April 12, 2009 Dynamic content? Link to comment Share on other sites More sharing options...
FranciscoR Posted April 12, 2009 Report Share Posted April 12, 2009 It's rather personalized or customized content. For instance, for jobs created w/ my Softpedia template, regexes are often different. Or w/Sourceforge template, each regex for each job uses a different prefix or sufix. Or Ghisler, no textual content tab 'content' is alike and I have a lot of variations on target path. Usually I insert all this customization when placeholder pops-up. I'm interested to keep customization, hence the question, will that be preserved ? If not, I'd rather use XML edit. Link to comment Share on other sites More sharing options...
FranciscoR Posted April 12, 2009 Report Share Posted April 12, 2009 (edited) Example: 2 jobs using the same Sourceforge template <?xml version="1.0" encoding="utf-16"?> <Jobs> <ApplicationJob xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" Guid="a5b8ac20-e7ce-4ba8-947e-1e18d36a8f1e"> <DownloadBeta>Default</DownloadBeta> <DownloadDate xsi:nil="true" /> <CheckForUpdatesOnly>false</CheckForUpdatesOnly> <VariableChangeIndicator /> <CanBeShared>true</CanBeShared> <ShareApplication>false</ShareApplication> <ExclusiveDownload>false</ExclusiveDownload> <HttpReferer /> <Variables> <item> <key> <string>version</string> </key> <value> <UrlVariable> <RegexRightToLeft>false</RegexRightToLeft> <VariableType>RegularExpression</VariableType> <Regex>ch32_(?\d+[\.\d+]+.*?)(?:_Final\.zip))(?=")</Regex> <Url>http://sourceforge.net/project/showfiles.php?group_id=235157&package_id=285539&release_id=657842</Url> <Name>version</Name> </UrlVariable> </value> </item> <item> <key> <string>mirror</string> </key> <value> <UrlVariable> <RegexRightToLeft>false</RegexRightToLeft> <VariableType>RegularExpression</VariableType> <Regex>(?<=ch32_.*?"init_download\('http://downloads.sourceforge.net/)([^\s]+(?:_Final\.zip)[^\s]*)'\)</Regex> <Url>http://sourceforge.net/project/showfiles.php?group_id=235157&package_id=285539&release_id=657842</Url> <Name>mirror</Name> </UrlVariable> </value> </item> </Variables> <ExecuteCommand /> <ExecutePreCommand /> <Category>Backup</Category> <SourceType>FixedUrl</SourceType> <PreviousLocation>D:\Programas\Backup\Copyhandler_1.31.zip</PreviousLocation> <DeletePreviousFile>true</DeletePreviousFile> <Enabled>true</Enabled> <FileHippoId /> <LastUpdated>2009-04-08T18:24:00.4272844</LastUpdated> <TargetPath>{target}\{category}\{appname}_{version}.{url:ext}</TargetPath> <FixedDownloadUrl>http://downloads.sourceforge.net/{mirror}</FixedDownloadUrl> <Name>Copyhandler</Name> </ApplicationJob> <ApplicationJob xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" Guid="c8e436e1-6490-45b7-9c5a-a6a59560f22f"> <DownloadBeta>Default</DownloadBeta> <DownloadDate xsi:nil="true" /> <CheckForUpdatesOnly>false</CheckForUpdatesOnly> <VariableChangeIndicator /> <CanBeShared>true</CanBeShared> <ShareApplication>false</ShareApplication> <ExclusiveDownload>false</ExclusiveDownload> <HttpReferer /> <Variables> <item> <key> <string>version</string> </key> <value> <UrlVariable> <RegexRightToLeft>false</RegexRightToLeft> <VariableType>RegularExpression</VariableType> <Regex>npp\.(?\d+[\.\d+]+)(?:\.bin\.7z))(?=")</Regex> <Url>http://sourceforge.net/project/showfiles.php?group_id=95717&package_id=102072&release_id=671651</Url> <Name>version</Name> </UrlVariable> </value> </item> <item> <key> <string>mirror</string> </key> <value> <UrlVariable> <RegexRightToLeft>false</RegexRightToLeft> <VariableType>RegularExpression</VariableType> <Regex>(?<=npp\..*?"init_download\('http://downloads.sourceforge.net/)([^\s]+(?:\.bin\.7z)[^\s]*)'\)</Regex> <Url>http://sourceforge.net/project/showfiles.php?group_id=95717&package_id=102072&release_id=671651</Url> <Name>mirror</Name> </UrlVariable> </value> </item> </Variables> <ExecuteCommand /> <ExecutePreCommand /> <Category>Office</Category> <SourceType>FixedUrl</SourceType> <PreviousLocation>D:\Programas\Office\Notepad\npp.5.3.1.bin.7z</PreviousLocation> <DeletePreviousFile>true</DeletePreviousFile> <Enabled>true</Enabled> <FileHippoId /> <LastUpdated>2009-04-08T00:15:43.7932884</LastUpdated> <TargetPath>{target}\{category}\Notepad\</TargetPath> <FixedDownloadUrl>http://downloads.sourceforge.net/{mirror}</FixedDownloadUrl> <Name>Notepad++</Name> </ApplicationJob> </Jobs> Edited April 12, 2009 by FranciscoR Link to comment Share on other sites More sharing options...
CybTekSol Posted April 12, 2009 Report Share Posted April 12, 2009 Flo, A significant percentage of my app entries have been modified due to site variations and/or changes from their original template import state so this may be difficult to accomplish, but I'm certainly open to the attempt to achieve it. If there was any such thing as a 'perfect template', this would be much easier IMHO. If you're up to it I'm willing to help tweak such a feature (except during my upcoming vacation time) and I'm sure FranciscoR is up to the task! Link to comment Share on other sites More sharing options...
floele Posted April 13, 2009 Author Report Share Posted April 13, 2009 Well, if you modify your applications from templates beyond applciation name, options etc. it won't work. Link to comment Share on other sites More sharing options...
FranciscoR Posted April 13, 2009 Report Share Posted April 13, 2009 (edited) Flo, got another idea (simple): user would add search keywords to application templates/ selected jobs. ----------------------------- Example (using 15 Sourceforge jobs created by templates): 1. Assign keyword 'SF' to each job; 2. Perform search 'SF .+'; 3. Ketarin selects all my 15 Sourceforge jobs. 4. Perform search 'SF note.+'; 5. Ketarin selects Sourceforge jobs beggining with 'note' (like Notepad++ (portable), Notepad++ (installer), etc.) Easy way to export XML! 6. Assign keyword 'SF' to each job AND keyword 'CIV' (cross-reference keyword for jobs with CIV); 7. Perform search 'SF,CIV .+'; 8. Ketarin selects only 7 Sourceforge jobs with CIV. 9. Assign keyword 'CIV' (cross-reference keyword) also to several Majorgeeks jobs; 10. Perform search 'CIV .+'; 11. Ketarin selects 7 Sourceforge jobs AND 10 Majorgeeks jobs with CIV keywords. Like it ? =) Edited April 13, 2009 by FranciscoR Link to comment Share on other sites More sharing options...
floele Posted April 13, 2009 Author Report Share Posted April 13, 2009 I'll consider that whenever I get to implement a search feature. Link to comment Share on other sites More sharing options...
FranciscoR Posted April 13, 2009 Report Share Posted April 13, 2009 (edited) Nice, that would handle ALL my template management needs. Edited April 13, 2009 by FranciscoR Link to comment Share on other sites More sharing options...
andreone Posted April 15, 2009 Report Share Posted April 15, 2009 Hi, What about a multi-edit feature, that would open the standard edit dialog but applies changes on all selected entries? It would be handy to quickly updated several apps without relying on whether the apps have been created by a template or not (or when they don't share a template at all). Link to comment Share on other sites More sharing options...
floele Posted April 18, 2009 Author Report Share Posted April 18, 2009 Not easy to do. There's a huge number of implications. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now