Jump to content
Ketarin forum

BrotherSoft/Download.com/MajorGeeks/SnapFiles/Softonic/CleanSofts...


Reformed Pirate
 Share

Recommended Posts

Feedback is welcome, as I'm still very new to this template stuff. That said, these are all working just about perfect for my needs except updating based on the GUID when I change something in a template. I'd love to know what I'm doing wrong in this regard. Thanks in advance...

 

Current Templates Available:

  • BrotherSoft (Windows)
  • Download.com (Cross-Platform)
  • FileHippo (Windows)
  • MajorGeeks (Windows)
  • SnapFiles (Windows)
  • Softonic (Cross-Platform)
  • CleanSofts.org (Windows)
  • DonationCoder (Windows)
  • Firefox Addons (Cross-Platform)
  • Google Chrome Addons (Cross-Platform)
  • Greasemonkey Userscripts (Cross-Platform)
  • MacUpdate (Apple)
  • MajorGeeks (Apple)

 

BrotherSoft (Windows)

<?xml version="1.0" encoding="utf-8"?>
<Jobs>
 <ApplicationJob xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" guid="1e9a3dfa-bb7a-48d0-948f-b1864ab2379e">
   <Name>
     <placeholder name="What is the name of this application?" value="" />
   </Name>
   <CanBeShared>true</CanBeShared>
   <Category>
     <placeholder name="How should this application be categorized?" value="" options="|Business|Development|Drivers|Education|Games|Graphic Design|Internet|Multimedia|Security|Utilities" />
   </Category>
   <CheckForUpdatesOnly>false</CheckForUpdatesOnly>
   <DeletePreviousFile>true</DeletePreviousFile>
   <DownloadBeta>Default</DownloadBeta>
   <Enabled>true</Enabled>
   <ExclusiveDownload>false</ExclusiveDownload>
   <ExecuteCommand />
   <ExecutePreCommand />
   <FileHippoId />
   <FixedDownloadUrl>http://www.brothersoft.com/{download}</FixedDownloadUrl>
   <HttpReferer />
   <PreviousLocation />
   <ShareApplication>false</ShareApplication>
   <SourceType>FixedUrl</SourceType>
   <TargetPath>{category}\{subcategory}\{appname}\{appname} ({version}).{url:ext}</TargetPath>
   <VariableChangeIndicator />
   <Variables>
     <item>
       <key>
         <string>subcategory</string>
       </key>
       <value>
         <UrlVariable>
           <RegexRightToLeft>false</RegexRightToLeft>
           <VariableType>Textual</VariableType>
           <Regex />
           <TextualContent>
             <placeholder name="What subcategory should this application go in?" value="" />
           </TextualContent>
           <Name>subcategory</Name>
         </UrlVariable>
       </value>
     </item>
     <item>
       <key>
         <string>appid</string>
       </key>
       <value>
         <UrlVariable>
           <RegexRightToLeft>false</RegexRightToLeft>
           <VariableType>Textual</VariableType>
           <Regex />
           <TextualContent>
             <placeholder name="What is the ID of this application?" value="" />
           </TextualContent>
           <Name>appid</Name>
         </UrlVariable>
       </value>
     </item>
     <item>
       <key>
         <string>searchresults</string>
       </key>
       <value>
         <UrlVariable>
           <RegexRightToLeft>false</RegexRightToLeft>
           <VariableType>RegularExpression</VariableType>
           <Regex>/({appid}-\d+?.html)"</Regex>
           <Url>http://search.brothersoft.com/?act=search.index&keyword={appid}&stype=windows</Url>
           <TextualContent />
           <Name>searchresults</Name>
         </UrlVariable>
       </value>
     </item>
     <item>
       <key>
         <string>appdlpage</string>
       </key>
       <value>
         <UrlVariable>
           <RegexRightToLeft>false</RegexRightToLeft>
           <VariableType>Textual</VariableType>
           <Regex />
           <TextualContent>http://www.brothersoft.com/{searchresults}</TextualContent>
           <Name>appdlpage</Name>
         </UrlVariable>
       </value>
     </item>
     <item>
       <key>
         <string>version</string>
       </key>
       <value>
         <UrlVariable>
           <RegexRightToLeft>false</RegexRightToLeft>
           <VariableType>RegularExpression</VariableType>
           <Regex>(\d+\.\d+[\.\w]*) Download\s*</title></Regex>
           <Url>{appdlpage}</Url>
           <Name>version</Name>
         </UrlVariable>
       </value>
     </item>
     <item>
       <key>
         <string>appredirect</string>
       </key>
       <value>
         <UrlVariable>
           <RegexRightToLeft>false</RegexRightToLeft>
           <VariableType>RegularExpression</VariableType>
           <Regex>/({appid}-download-\S+?)"</Regex>
           <Url>{appdlpage}</Url>
           <Name>appredirect</Name>
         </UrlVariable>
       </value>
     </item>
     <item>
       <key>
         <string>download</string>
       </key>
       <value>
         <UrlVariable>
           <RegexRightToLeft>false</RegexRightToLeft>
           <VariableType>RegularExpression</VariableType>
           <Regex>/(d.php\S+?)"</Regex>
           <Url>http://www.brothersoft.com/{appredirect}</Url>
           <Name>download</Name>
         </UrlVariable>
       </value>
     </item>
   </Variables>
 </ApplicationJob>
</Jobs>

 

Download.com (Cross-Platform)

<?xml version="1.0" encoding="utf-8"?>
<Jobs>
 <ApplicationJob xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" guid="468c37d3-3674-4dff-80df-fe4eb05bcd8e">
   <Name>
     <placeholder name="What is the name of this application?" value="" />
   </Name>
   <CanBeShared>true</CanBeShared>
   <Category>
     <placeholder name="How should this application be categorized?" value="" options="|Business|Development|Drivers|Education|Games|Graphic Design|Internet|Multimedia|Security|Utilities" />
   </Category>
   <CheckForUpdatesOnly>false</CheckForUpdatesOnly>
   <DeletePreviousFile>true</DeletePreviousFile>
   <DownloadBeta>Default</DownloadBeta>
   <Enabled>true</Enabled>
   <ExclusiveDownload>false</ExclusiveDownload>
   <ExecuteCommand />
   <ExecutePreCommand />
   <FileHippoId />
   <FixedDownloadUrl>{download}</FixedDownloadUrl>
   <HttpReferer />
   <PreviousLocation />
   <ShareApplication>false</ShareApplication>
   <SourceType>FixedUrl</SourceType>
   <TargetPath>{category}\{subcategory}\{appname}\{appname} ({version}).{url:ext}</TargetPath>
   <VariableChangeIndicator />
   <Variables>
     <item>
       <key>
         <string>subcategory</string>
       </key>
       <value>
         <UrlVariable>
           <RegexRightToLeft>false</RegexRightToLeft>
           <VariableType>Textual</VariableType>
           <Regex />
           <TextualContent>
             <placeholder name="What subcategory should this application go in?" value="" />
           </TextualContent>
           <Name>subcategory</Name>
         </UrlVariable>
       </value>
     </item>
     <item>
       <key>
         <string>platform</string>
       </key>
       <value>
         <UrlVariable>
           <RegexRightToLeft>false</RegexRightToLeft>
           <VariableType>Textual</VariableType>
           <Regex />
           <TextualContent>
             <placeholder name="What platform does this application run on?" value="" options="|Windows|Mobile|Mac|Games|Webware" />
           </TextualContent>
           <Name>platform</Name>
         </UrlVariable>
       </value>
     </item>
     <item>
       <key>
         <string>appid</string>
       </key>
       <value>
         <UrlVariable>
           <RegexRightToLeft>false</RegexRightToLeft>
           <VariableType>Textual</VariableType>
           <Regex />
           <TextualContent>
             <placeholder name="What is the ID of this application?" value="" />
           </TextualContent>
           <Name>appid</Name>
         </UrlVariable>
       </value>
     </item>
     <item>
       <key>
         <string>searchpage</string>
       </key>
       <value>
         <UrlVariable>
           <RegexRightToLeft>false</RegexRightToLeft>
           <VariableType>RegularExpression</VariableType>
           <Regex>action="\S*?([\d-_]+.html)"</Regex>
           <Url>http://download.cnet.com/</Url>
           <Name>searchpage</Name>
         </UrlVariable>
       </value>
     </item>
     <item>
       <key>
         <string>searchresult</string>
       </key>
       <value>
         <UrlVariable>
           <RegexRightToLeft>false</RegexRightToLeft>
           <VariableType>RegularExpression</VariableType>
           <Regex>/({appid}/[\d-_]+.html)</Regex>
           <Url>http://download.cnet.com/{searchpage}?query="{appid:replace:-: }"&tag=srch&searchtype=downloads&filterName=platform={platform}&filter=platform={platform}</Url>
           <Name>searchresult</Name>
         </UrlVariable>
       </value>
     </item>
     <item>
       <key>
         <string>appdlpage</string>
       </key>
       <value>
         <UrlVariable>
           <RegexRightToLeft>false</RegexRightToLeft>
           <VariableType>Textual</VariableType>
           <Regex />
           <TextualContent>http://download.cnet.com/{searchresult}</TextualContent>
           <Name>appdlpage</Name>
         </UrlVariable>
       </value>
     </item>
     <item>
       <key>
         <string>version</string>
       </key>
       <value>
         <UrlVariable>
           <RegexRightToLeft>false</RegexRightToLeft>
           <VariableType>RegularExpression</VariableType>
           <Regex>name="productVersion"\s+value="(.+?)"</Regex>
           <Url>{appdlpage}</Url>
           <Name>version</Name>
         </UrlVariable>
       </value>
     </item>
     <item>
       <key>
         <string>appredirect</string>
       </key>
       <value>
         <UrlVariable>
           <RegexRightToLeft>false</RegexRightToLeft>
           <VariableType>RegularExpression</VariableType>
           <Regex>href="(http://dw.com.com/redir\S+)?"></Regex>
           <Url>{appdlpage}</Url>
           <Name>appredirect</Name>
         </UrlVariable>
       </value>
     </item>
     <item>
       <key>
         <string>download</string>
       </key>
       <value>
         <UrlVariable>
           <RegexRightToLeft>false</RegexRightToLeft>
           <VariableType>RegularExpression</VariableType>
           <Regex>[^\w]+URL=((ftp|http)://\S+)?"[^\w]+</Regex>
           <Url>{appredirect}</Url>
           <Name>download</Name>
         </UrlVariable>
       </value>
     </item>
   </Variables>
 </ApplicationJob>
</Jobs>

 

FileHippo (Windows)

<?xml version="1.0" encoding="utf-8"?>
<Jobs>
 <ApplicationJob xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
   <Name>
     <placeholder name="What is the name of this application?" value="" />
   </Name>
   <FileHippoId>
     <placeholder name="What is this application's FileHippo ID?" value="" />
   </FileHippoId>
   <CanBeShared>true</CanBeShared>
   <Category>
     <placeholder name="How should this application be categorized?" value="" options="|Business|Development|Drivers|Education|Games|Graphic Design|Internet|Multimedia|Security|Utilities" />
   </Category>
   <CheckForUpdatesOnly>false</CheckForUpdatesOnly>
   <DeletePreviousFile>true</DeletePreviousFile>
   <DownloadBeta>Default</DownloadBeta>
   <Enabled>true</Enabled>
   <ExclusiveDownload>false</ExclusiveDownload>
   <ExecuteCommand />
   <ExecutePreCommand />
   <FixedDownloadUrl />
   <HttpReferer />
   <PreviousLocation />
   <ShareApplication>false</ShareApplication>
   <SourceType>FileHippo</SourceType>
   <TargetPath>{category}\{subcategory}\{appname}\{appname} ({version}).{url:ext}</TargetPath>
   <VariableChangeIndicator />
   <Variables>
     <item>
       <key>
         <string>subcategory</string>
       </key>
       <value>
         <UrlVariable>
           <RegexRightToLeft>false</RegexRightToLeft>
           <VariableType>Textual</VariableType>
           <Regex />
           <TextualContent>
             <placeholder name="What subcategory should this application go in?" value="" />
           </TextualContent>
           <Name>subcategory</Name>
         </UrlVariable>
       </value>
     </item>
   </Variables>
 </ApplicationJob>
</Jobs>

 

MajorGeeks (Windows)

<?xml version="1.0" encoding="utf-8"?>
<Jobs>
 <ApplicationJob xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" guid="e8cf9dd1-afc8-4682-b19d-e98087251b88">
   <Name>
     <placeholder name="What is the name of this application?" value="" />
   </Name>
   <CanBeShared>true</CanBeShared>
   <Category>
     <placeholder name="How should this application be categorized?" value="" options="|Business|Development|Drivers|Education|Games|Graphic Design|Internet|Multimedia|Security|Utilities" />
   </Category>
   <CheckForUpdatesOnly>false</CheckForUpdatesOnly>
   <DeletePreviousFile>true</DeletePreviousFile>
   <DownloadBeta>Default</DownloadBeta>
   <Enabled>true</Enabled>
   <ExclusiveDownload>false</ExclusiveDownload>
   <ExecuteCommand />
   <ExecutePreCommand />
   <FileHippoId />
   <FixedDownloadUrl>http://majorgeeks.com/{download}</FixedDownloadUrl>
   <HttpReferer />
   <PreviousLocation />
   <ShareApplication>false</ShareApplication>
   <SourceType>FixedUrl</SourceType>
   <TargetPath>{category}\{subcategory}\{appname}\{appname} ({version}).{url:ext}</TargetPath>
   <VariableChangeIndicator />
   <Variables>
     <item>
       <key>
         <string>subcategory</string>
       </key>
       <value>
         <UrlVariable>
           <RegexRightToLeft>false</RegexRightToLeft>
           <VariableType>Textual</VariableType>
           <Regex />
           <TextualContent>
             <placeholder name="What subcategory should this application go in?" value="" />
           </TextualContent>
           <Name>subcategory</Name>
         </UrlVariable>
       </value>
     </item>
     <item>
       <key>
         <string>appdlpage</string>
       </key>
       <value>
         <UrlVariable>
           <RegexRightToLeft>false</RegexRightToLeft>
           <VariableType>Textual</VariableType>
           <Regex />
           <TextualContent>
             <placeholder name="What is the URL of this application?" value="http://majorgeeks.com/xxxxx_xxxxx.html" />
           </TextualContent>
           <Name>appdlpage</Name>
         </UrlVariable>
       </value>
     </item>
     <item>
       <key>
         <string>version</string>
       </key>
       <value>
         <UrlVariable>
           <RegexRightToLeft>false</RegexRightToLeft>
           <VariableType>RegularExpression</VariableType>
           <Regex><title>.*?(\d+\.\d+[\.\w]*).*?</title></Regex>
           <Url>{appdlpage}</Url>
           <Name>version</Name>
         </UrlVariable>
       </value>
     </item>
     <item>
       <key>
         <string>appredirect</string>
       </key>
       <value>
         <UrlVariable>
           <RegexRightToLeft>false</RegexRightToLeft>
           <VariableType>RegularExpression</VariableType>
           <Regex>href="(http://majorgeeks.com/downloadget.php\?.*?)"</Regex>
           <Url>{appdlpage}</Url>
           <Name>appredirect</Name>
         </UrlVariable>
       </value>
     </item>
     <item>
       <key>
         <string>download</string>
       </key>
       <value>
         <UrlVariable>
           <RegexRightToLeft>false</RegexRightToLeft>
           <VariableType>RegularExpression</VariableType>
           <Regex>URL=.*?(downloadget.+?)"</Regex>
           <Url>{appredirect}</Url>
           <Name>download</Name>
         </UrlVariable>
       </value>
     </item>
   </Variables>
 </ApplicationJob>
</Jobs>

 

SnapFiles (Windows)

<?xml version="1.0" encoding="utf-8"?>
<Jobs>
 <ApplicationJob xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" guid="37edc953-5e37-420d-b64f-6b6a196641f6">
   <Name>
     <placeholder name="What is the name of this application?" value="" />
   </Name>
   <CanBeShared>true</CanBeShared>
   <Category>
     <placeholder name="How should this application be categorized?" value="" options="|Business|Development|Drivers|Education|Games|Graphic Design|Internet|Multimedia|Security|Utilities" />
   </Category>
   <CheckForUpdatesOnly>false</CheckForUpdatesOnly>
   <DeletePreviousFile>true</DeletePreviousFile>
   <DownloadBeta>Default</DownloadBeta>
   <Enabled>true</Enabled>
   <ExclusiveDownload>false</ExclusiveDownload>
   <ExecuteCommand />
   <ExecutePreCommand />
   <FileHippoId />
   <FixedDownloadUrl>{download}</FixedDownloadUrl>
   <HttpReferer />
   <PreviousLocation />
   <ShareApplication>false</ShareApplication>
   <SourceType>FixedUrl</SourceType>
   <TargetPath>{category}\{subcategory}\{appname}\{appname} ({version}).{url:ext}</TargetPath>
   <VariableChangeIndicator />
   <Variables>
     <item>
       <key>
         <string>subcategory</string>
       </key>
       <value>
         <UrlVariable>
           <RegexRightToLeft>false</RegexRightToLeft>
           <VariableType>Textual</VariableType>
           <Regex />
           <TextualContent>
             <placeholder name="What subcategory should this application go in?" value="" />
           </TextualContent>
           <Name>subcategory</Name>
         </UrlVariable>
       </value>
     </item>
     <item>
       <key>
         <string>appdlpage</string>
       </key>
       <value>
         <UrlVariable>
           <RegexRightToLeft>false</RegexRightToLeft>
           <VariableType>Textual</VariableType>
           <Regex />
           <TextualContent>
             <placeholder name="What is the URL of this application?" value="http://www.snapfiles.com/get/xxxxx.html" />
           </TextualContent>
           <Name>appdlpage</Name>
         </UrlVariable>
       </value>
     </item>
     <item>
       <key>
         <string>version</string>
       </key>
       <value>
         <UrlVariable>
           <RegexRightToLeft>false</RegexRightToLeft>
           <VariableType>RegularExpression</VariableType>
           <Regex>>\s*(\d+\.\d+[\.\w]*)\s*?<</Regex>
           <Url>{appdlpage}</Url>
           <Name>version</Name>
         </UrlVariable>
       </value>
     </item>
     <item>
       <key>
         <string>appredirect</string>
       </key>
       <value>
         <UrlVariable>
           <RegexRightToLeft>false</RegexRightToLeft>
           <VariableType>RegularExpression</VariableType>
           <Regex>/(php/download.php?\S+?)"</Regex>
           <Url>{appdlpage}</Url>
           <Name>appredirect</Name>
         </UrlVariable>
       </value>
     </item>
     <item>
       <key>
         <string>download</string>
       </key>
       <value>
         <UrlVariable>
           <RegexRightToLeft>false</RegexRightToLeft>
           <VariableType>RegularExpression</VariableType>
           <Regex>"((http|ftp)://\S+)"\s*>click</Regex>
           <Url>http://www.snapfiles.com/{appredirect}</Url>
           <Name>download</Name>
         </UrlVariable>
       </value>
     </item>
   </Variables>
 </ApplicationJob>
</Jobs>

 

Softonic (Cross-Platform)

<?xml version="1.0" encoding="utf-8"?>
<Jobs>
 <ApplicationJob xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" guid="0e7e1b05-1fe1-4d2c-9b91-eae6c1079ee3">
   <Name>
     <placeholder name="What is the name of this application?" value="" />
   </Name>
   <CanBeShared>true</CanBeShared>
   <Category>
     <placeholder name="How should this application be categorized?" value="" options="|Business|Development|Drivers|Education|Games|Graphic Design|Internet|Multimedia|Security|Utilities" />
   </Category>
   <CheckForUpdatesOnly>false</CheckForUpdatesOnly>
   <DeletePreviousFile>true</DeletePreviousFile>
   <DownloadBeta>Default</DownloadBeta>
   <Enabled>true</Enabled>
   <ExclusiveDownload>false</ExclusiveDownload>
   <ExecuteCommand />
   <ExecutePreCommand />
   <FileHippoId />
   <FixedDownloadUrl>{download}</FixedDownloadUrl>
   <HttpReferer>{appdlpage}/download</HttpReferer>
   <PreviousLocation />
   <ShareApplication>false</ShareApplication>
   <SourceType>FixedUrl</SourceType>
   <TargetPath>{category}\{subcategory}\{appname}\{appname} ({version}).{url:ext}</TargetPath>
   <VariableChangeIndicator />
   <Variables>
     <item>
       <key>
         <string>subcategory</string>
       </key>
       <value>
         <UrlVariable>
           <RegexRightToLeft>false</RegexRightToLeft>
           <VariableType>Textual</VariableType>
           <Regex />
           <TextualContent>
             <placeholder name="What subcategory should this application go in?" value="" />
           </TextualContent>
           <Name>subcategory</Name>
         </UrlVariable>
       </value>
     </item>
     <item>
       <key>
         <string>platform</string>
       </key>
       <value>
         <UrlVariable>
           <RegexRightToLeft>false</RegexRightToLeft>
           <VariableType>Textual</VariableType>
           <Regex />
           <TextualContent>
             <placeholder name="What platform does this application run on?" value="" options="|Windows|Mac|Phones|Palm OS|Pocket PC" />
           </TextualContent>
           <Name>platform</Name>
         </UrlVariable>
       </value>
     </item>
     <item>
       <key>
         <string>platformrename</string>
       </key>
       <value>
         <UrlVariable>
           <RegexRightToLeft>false</RegexRightToLeft>
           <VariableType>Textual</VariableType>
           <Regex />
           <TextualContent>{platform:multireplace:|:Windows|Mac|Phones|Palm OS|Pocket PC:windows|mac|phones|palm|pocketpc}</TextualContent>
           <Name>platformrename</Name>
         </UrlVariable>
       </value>
     </item>
     <item>
       <key>
         <string>appid</string>
       </key>
       <value>
         <UrlVariable>
           <RegexRightToLeft>false</RegexRightToLeft>
           <VariableType>Textual</VariableType>
           <Regex />
           <TextualContent>
             <placeholder name="What is the ID of this application?" value="" />
           </TextualContent>
           <Name>appid</Name>
         </UrlVariable>
       </value>
     </item>
     <item>
       <key>
         <string>appdlpage</string>
       </key>
       <value>
         <UrlVariable>
           <RegexRightToLeft>false</RegexRightToLeft>
           <VariableType>RegularExpression</VariableType>
           <Regex>href="(\S*{appid}.en.softonic.com\S*)(?=/"|")</Regex>
           <Url>http://en.softonic.com/s/{appid}:{platformrename}</Url>
           <Name>appdlpage</Name>
         </UrlVariable>
       </value>
     </item>
     <item>
       <key>
         <string>version</string>
       </key>
       <value>
         <UrlVariable>
           <RegexRightToLeft>false</RegexRightToLeft>
           <VariableType>RegularExpression</VariableType>
           <Regex>>\s*(\d+\.\d+[\.\w]*.*?)<</Regex>
           <Url>{appdlpage}</Url>
           <Name>version</Name>
         </UrlVariable>
       </value>
     </item>
     <item>
       <key>
         <string>download</string>
       </key>
       <value>
         <UrlVariable>
           <RegexRightToLeft>false</RegexRightToLeft>
           <VariableType>RegularExpression</VariableType>
           <Regex>href="((http|ftp)://\S+?)" target="_blank">\s*download link</Regex>
           <Url>{appdlpage}/download</Url>
           <Name>download</Name>
         </UrlVariable>
       </value>
     </item>
   </Variables>
 </ApplicationJob>
</Jobs>

 

CleanSofts.org (Windows)

<?xml version="1.0" encoding="utf-8"?>
<Jobs>
 <ApplicationJob xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" guid="4bd67af9-599a-44f2-83fa-7c43fc000308">
   <Name>
     <placeholder name="What is the name of this application?" value="" />
   </Name>
   <CanBeShared>true</CanBeShared>
   <Category>
     <placeholder name="How should this application be categorized?" value="" options="|Business|Development|Drivers|Education|Games|Graphic Design|Internet|Multimedia|Security|Utilities" />
   </Category>
   <CheckForUpdatesOnly>false</CheckForUpdatesOnly>
   <DeletePreviousFile>true</DeletePreviousFile>
   <DownloadBeta>Default</DownloadBeta>
   <Enabled>true</Enabled>
   <ExclusiveDownload>false</ExclusiveDownload>
   <ExecuteCommand />
   <ExecutePreCommand />
   <FileHippoId />
   <FixedDownloadUrl>{download}</FixedDownloadUrl>
   <HttpReferer />
   <PreviousLocation />
   <ShareApplication>false</ShareApplication>
   <SourceType>FixedUrl</SourceType>
   <TargetPath>{category}\{subcategory}\{appname}\{appname} ({version}).{url:ext}</TargetPath>
   <VariableChangeIndicator />
   <Variables>
     <item>
       <key>
         <string>subcategory</string>
       </key>
       <value>
         <UrlVariable>
           <RegexRightToLeft>false</RegexRightToLeft>
           <VariableType>Textual</VariableType>
           <Regex />
           <TextualContent>
             <placeholder name="What subcategory should this application go in?" value="" />
           </TextualContent>
           <Name>subcategory</Name>
         </UrlVariable>
       </value>
     </item>
     <item>
       <key>
         <string>appid</string>
       </key>
       <value>
         <UrlVariable>
           <RegexRightToLeft>false</RegexRightToLeft>
           <VariableType>Textual</VariableType>
           <Regex />
           <TextualContent>
             <placeholder name="What is the ID of this application?" value="" />
           </TextualContent>
           <Name>appid</Name>
         </UrlVariable>
       </value>
     </item>
     <item>
       <key>
         <string>appdlpage</string>
       </key>
       <value>
         <UrlVariable>
           <RegexRightToLeft>false</RegexRightToLeft>
           <VariableType>Textual</VariableType>
           <Regex />
           <TextualContent>http://cleansofts.org/{appid}.html</TextualContent>
           <Name>appdlpage</Name>
         </UrlVariable>
       </value>
     </item>
     <item>
       <key>
         <string>version</string>
       </key>
       <value>
         <UrlVariable>
           <RegexRightToLeft>false</RegexRightToLeft>
           <VariableType>RegularExpression</VariableType>
           <Regex><h2>\s*\(?(10.0.32.18.*?)\)\s*</h2></Regex>
           <Url>{appdlpage}</Url>
           <Name>version</Name>
         </UrlVariable>
       </value>
     </item>
     <item>
       <key>
         <string>download</string>
       </key>
       <value>
         <UrlVariable>
           <RegexRightToLeft>false</RegexRightToLeft>
           <VariableType>RegularExpression</VariableType>
           <Regex>click <a href="(http://\S+?)"</Regex>
           <Url>http://cleansofts.org/download/{appid}.html</Url>
           <Name>download</Name>
         </UrlVariable>
       </value>
     </item>
   </Variables>
 </ApplicationJob>
</Jobs>

 

DonationCoder (Windows)

<?xml version="1.0" encoding="utf-8"?>
<Jobs>
 <ApplicationJob xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" guid="3ea1d8e7-8874-46f5-9eeb-698e933b96aa">
   <Name>
     <placeholder name="What is the name of this application?" value="" />
   </Name>
   <CanBeShared>true</CanBeShared>
   <Category>
     <placeholder name="How should this application be categorized?" value="" options="|Business|Development|Drivers|Education|Games|Graphic Design|Internet|Multimedia|Security|Utilities" />
   </Category>
   <CheckForUpdatesOnly>false</CheckForUpdatesOnly>
   <DeletePreviousFile>true</DeletePreviousFile>
   <DownloadBeta>Default</DownloadBeta>
   <Enabled>true</Enabled>
   <ExclusiveDownload>false</ExclusiveDownload>
   <ExecuteCommand />
   <ExecutePreCommand />
   <FileHippoId />
   <FixedDownloadUrl>{appdlpage}/{download}</FixedDownloadUrl>
   <HttpReferer />
   <PreviousLocation />
   <ShareApplication>false</ShareApplication>
   <SourceType>FixedUrl</SourceType>
   <TargetPath>{category}\{subcategory}\{appname}\{appname} ({version}).{url:ext}</TargetPath>
   <VariableChangeIndicator />
   <Variables>
     <item>
       <key>
         <string>subcategory</string>
       </key>
       <value>
         <UrlVariable>
           <RegexRightToLeft>false</RegexRightToLeft>
           <VariableType>Textual</VariableType>
           <Regex />
           <TextualContent>
             <placeholder name="What subcategory should this application go in?" value="" />
           </TextualContent>
           <Name>subcategory</Name>
         </UrlVariable>
       </value>
     </item>
     <item>
       <key>
         <string>appid</string>
       </key>
       <value>
         <UrlVariable>
           <RegexRightToLeft>false</RegexRightToLeft>
           <VariableType>Textual</VariableType>
           <Regex />
           <TextualContent>
             <placeholder name="What is the ID of this application?" value="" />
           </TextualContent>
           <Name>appid</Name>
         </UrlVariable>
       </value>
     </item>
     <item>
       <key>
         <string>google</string>
       </key>
       <value>
         <UrlVariable>
           <RegexRightToLeft>false</RegexRightToLeft>
           <VariableType>Textual</VariableType>
           <Regex />
           <TextualContent>http://www.google.com/search?q=site%3Adonationcoder.com%20inurl%3A%2FSoftware%2F%20inurl%3A%2F{appid}%2F&btnI=I%27m+Feeling+Lucky</TextualContent>
           <Name>google</Name>
         </UrlVariable>
       </value>
     </item>
     <item>
       <key>
         <string>appdlpage</string>
       </key>
       <value>
         <UrlVariable>
           <RegexRightToLeft>false</RegexRightToLeft>
           <VariableType>RegularExpression</VariableType>
           <Regex>(http://(|www.)donationcoder.com/\S*?{appid})</Regex>
           <Url>{google}</Url>
           <TextualContent />
           <Name>appdlpage</Name>
         </UrlVariable>
       </value>
     </item>
     <item>
       <key>
         <string>version</string>
       </key>
       <value>
         <UrlVariable>
           <RegexRightToLeft>false</RegexRightToLeft>
           <VariableType>RegularExpression</VariableType>
           <Regex>v\s*(\d+\.\d+[\.\w]*)</Regex>
           <Url>{appdlpage}</Url>
           <Name>version</Name>
         </UrlVariable>
       </value>
     </item>
     <item>
       <key>
         <string>download</string>
       </key>
       <value>
         <UrlVariable>
           <RegexRightToLeft>false</RegexRightToLeft>
           <VariableType>RegularExpression</VariableType>
           <Regex>"\S*(downloads/\S+?)"</Regex>
           <Url>{appdlpage}</Url>
           <Name>download</Name>
         </UrlVariable>
       </value>
     </item>
   </Variables>
 </ApplicationJob>
</Jobs>

 

Firefox Addons (Cross-Platform)

<?xml version="1.0" encoding="utf-8"?>
<Jobs>
 <ApplicationJob xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" guid="f00beefe-5336-4900-bc94-9ec4336304a5">
   <Name>
     <placeholder name="What is the name of this extension?" value="" />
   </Name>
   <CanBeShared>true</CanBeShared>
   <Category>Internet</Category>
   <CheckForUpdatesOnly>false</CheckForUpdatesOnly>
   <DeletePreviousFile>true</DeletePreviousFile>
   <DownloadBeta>Default</DownloadBeta>
   <Enabled>true</Enabled>
   <ExclusiveDownload>false</ExclusiveDownload>
   <ExecuteCommand />
   <ExecutePreCommand />
   <FileHippoId />
   <FixedDownloadUrl>https://addons.mozilla.org{download}</FixedDownloadUrl>
   <HttpReferer />
   <PreviousLocation />
   <ShareApplication>false</ShareApplication>
   <SourceType>FixedUrl</SourceType>
   <TargetPath>Internet\Web Browsers\(Browser Extensions)\Mozilla Firefox\{appname} ({version}).{url:ext}</TargetPath>
   <VariableChangeIndicator />
   <Variables>
     <item>
       <key>
         <string>subcategory</string>
       </key>
       <value>
         <UrlVariable>
           <RegexRightToLeft>false</RegexRightToLeft>
           <VariableType>Textual</VariableType>
           <Regex />
           <TextualContent>
             <placeholder name="What subcategory should this extension go in?" value="Web Browsers (Extensions)" />
           </TextualContent>
           <Name>subcategory</Name>
         </UrlVariable>
       </value>
     </item>
     <item>
       <key>
         <string>appdlpage</string>
       </key>
       <value>
         <UrlVariable>
           <RegexRightToLeft>false</RegexRightToLeft>
           <VariableType>Textual</VariableType>
           <Regex />
           <TextualContent>
             <placeholder name="What is the URL of this extension?" value="https://addons.mozilla.org/en-US/firefox/addon/xxxx/" />
           </TextualContent>
           <Name>appdlpage</Name>
         </UrlVariable>
       </value>
     </item>
     <item>
       <key>
         <string>version</string>
       </key>
       <value>
         <UrlVariable>
           <RegexRightToLeft>false</RegexRightToLeft>
           <VariableType>RegularExpression</VariableType>
           <Regex><h2 class="addon">.*?<span class="version">\s*(.*?)\s*</span></Regex>
           <Url>{appdlpage}</Url>
           <Name>version</Name>
         </UrlVariable>
       </value>
     </item>
     <item>
       <key>
         <string>download</string>
       </key>
       <value>
         <UrlVariable>
           <RegexRightToLeft>false</RegexRightToLeft>
           <VariableType>RegularExpression</VariableType>
           <Regex>href="(\S+?.xpi)</Regex>
           <Url>{appdlpage}</Url>
           <Name>download</Name>
         </UrlVariable>
       </value>
     </item>
   </Variables>
 </ApplicationJob>
</Jobs>

 

Google Chrome Addons (Cross-Platform)

<?xml version="1.0" encoding="utf-8"?>
<Jobs>
 <ApplicationJob xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" guid="53c6fb50-365d-477d-be64-e546dcbcc446">
   <Name>
     <placeholder name="What is the name of this extension?" value="" />
   </Name>
   <CanBeShared>true</CanBeShared>
   <Category>Internet</Category>
   <CheckForUpdatesOnly>false</CheckForUpdatesOnly>
   <DeletePreviousFile>true</DeletePreviousFile>
   <DownloadBeta>Default</DownloadBeta>
   <Enabled>true</Enabled>
   <ExclusiveDownload>false</ExclusiveDownload>
   <ExecuteCommand />
   <ExecutePreCommand />
   <FileHippoId />
   <FixedDownloadUrl>{download}</FixedDownloadUrl>
   <HttpReferer />
   <PreviousLocation />
   <ShareApplication>false</ShareApplication>
   <SourceType>FixedUrl</SourceType>
   <TargetPath>Internet\Web Browsers\(Browser Extensions)\Google Chrome\{appname} ({version}).{url:ext}</TargetPath>
   <VariableChangeIndicator />
   <Variables>
     <item>
       <key>
         <string>subcategory</string>
       </key>
       <value>
         <UrlVariable>
           <RegexRightToLeft>false</RegexRightToLeft>
           <VariableType>Textual</VariableType>
           <Regex />
           <TextualContent>
             <placeholder name="What subcategory should this extension go in?" value="Web Browsers (Extensions)" />
           </TextualContent>
           <Name>subcategory</Name>
         </UrlVariable>
       </value>
     </item>
     <item>
       <key>
         <string>appid</string>
       </key>
       <value>
         <UrlVariable>
           <RegexRightToLeft>false</RegexRightToLeft>
           <VariableType>Textual</VariableType>
           <Regex />
           <TextualContent>
             <placeholder name="What is the ID of this extension?" value="" />
           </TextualContent>
           <Name>appid</Name>
         </UrlVariable>
       </value>
     </item>
     <item>
       <key>
         <string>appdlpage</string>
       </key>
       <value>
         <UrlVariable>
           <RegexRightToLeft>false</RegexRightToLeft>
           <VariableType>Textual</VariableType>
           <Regex />
           <TextualContent>https://chrome.google.com/extensions/detail/{appid}</TextualContent>
           <Name>appdlpage</Name>
         </UrlVariable>
       </value>
     </item>
     <item>
       <key>
         <string>version</string>
       </key>
       <value>
         <UrlVariable>
           <RegexRightToLeft>false</RegexRightToLeft>
           <VariableType>RegularExpression</VariableType>
           <Regex><div class="cx-version-info">.*?Version\s+(\d+\.\d+[\.\w]*)</Regex>
           <Url>{appdlpage}</Url>
           <Name>version</Name>
         </UrlVariable>
       </value>
     </item>
     <item>
       <key>
         <string>download</string>
       </key>
       <value>
         <UrlVariable>
           <RegexRightToLeft>false</RegexRightToLeft>
           <VariableType>Textual</VariableType>
           <Regex />
           <TextualContent>https://clients2.google.com/service/update2/crx?response=redirect&x=id%3D{appid}%26uc%26lang%3Den-US∏=chrome</TextualContent>
           <Name>download</Name>
         </UrlVariable>
       </value>
     </item>
   </Variables>
 </ApplicationJob>
</Jobs>

 

Greasemonkey Userscripts (Cross-Platform)

<?xml version="1.0" encoding="utf-8"?>
<Jobs>
 <ApplicationJob xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" guid="4c073d8f-59f9-4d78-8719-d12139150eef">
   <Name>
     <placeholder name="What is the name of this script?" value="" />
   </Name>
   <CanBeShared>true</CanBeShared>
   <Category>Internet</Category>
   <CheckForUpdatesOnly>false</CheckForUpdatesOnly>
   <DeletePreviousFile>true</DeletePreviousFile>
   <DownloadBeta>Default</DownloadBeta>
   <Enabled>true</Enabled>
   <ExclusiveDownload>false</ExclusiveDownload>
   <ExecuteCommand />
   <ExecutePreCommand />
   <FileHippoId />
   <FixedDownloadUrl>{download}</FixedDownloadUrl>
   <HttpReferer />
   <PreviousLocation />
   <ShareApplication>false</ShareApplication>
   <SourceType>FixedUrl</SourceType>
   <TargetPath>Internet\Web Browsers\(Greasemonkey Scripts)\{appname}.user.{url:ext}</TargetPath>
   <VariableChangeIndicator />
   <Variables>
     <item>
       <key>
         <string>subcategory</string>
       </key>
       <value>
         <UrlVariable>
           <RegexRightToLeft>false</RegexRightToLeft>
           <VariableType>Textual</VariableType>
           <Regex />
           <TextualContent>
             <placeholder name="What subcategory should this script go in?" value="Web Browsers (Greasemonkey Scripts)" />
           </TextualContent>
           <Name>subcategory</Name>
         </UrlVariable>
       </value>
     </item>
     <item>
       <key>
         <string>appdlpage</string>
       </key>
       <value>
         <UrlVariable>
           <RegexRightToLeft>false</RegexRightToLeft>
           <VariableType>Textual</VariableType>
           <Regex />
           <TextualContent>
             <placeholder name="What is the URL of this script?" value="http://userscripts.org/scripts/show/xxxxx" />
           </TextualContent>
           <Name>appdlpage</Name>
         </UrlVariable>
       </value>
     </item>
     <item>
       <key>
         <string>download</string>
       </key>
       <value>
         <UrlVariable>
           <RegexRightToLeft>false</RegexRightToLeft>
           <VariableType>RegularExpression</VariableType>
           <Regex>(http://\S+.user.js)</Regex>
           <Url>{appdlpage}</Url>
           <Name>download</Name>
         </UrlVariable>
       </value>
     </item>
   </Variables>
 </ApplicationJob>
</Jobs>

 

MacUpdate (Apple) Note: Does not work with apps redirected through SourceForge.

<?xml version="1.0" encoding="utf-8"?>
<Jobs>
 <ApplicationJob xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" guid="a67a7e93-33af-4c3b-a3dc-1dabb8b86793">
   <Name>
     <placeholder name="What is the name of this application?" value="" />
   </Name>
   <CanBeShared>true</CanBeShared>
   <Category>
     <placeholder name="How should this application be categorized?" value="" options="|Business|Development|Drivers|Education|Games|Graphic Design|Internet|Multimedia|Security|Utilities" />
   </Category>
   <CheckForUpdatesOnly>false</CheckForUpdatesOnly>
   <DeletePreviousFile>true</DeletePreviousFile>
   <DownloadBeta>Default</DownloadBeta>
   <Enabled>true</Enabled>
   <ExclusiveDownload>false</ExclusiveDownload>
   <ExecuteCommand />
   <ExecutePreCommand />
   <FileHippoId />
   <FixedDownloadUrl>{download}</FixedDownloadUrl>
   <HttpReferer>http://www.macupdate.com/info.php/id/{projectid}/</HttpReferer>
   <PreviousLocation />
   <ShareApplication>false</ShareApplication>
   <SourceType>FixedUrl</SourceType>
   <TargetPath>{category}\{subcategory}\{appname}\{appname} ({version}).{url:ext}</TargetPath>
   <VariableChangeIndicator />
   <Variables>
     <item>
       <key>
         <string>subcategory</string>
       </key>
       <value>
         <UrlVariable>
           <RegexRightToLeft>false</RegexRightToLeft>
           <VariableType>Textual</VariableType>
           <Regex />
           <TextualContent>
             <placeholder name="What subcategory should this application go in?" value="" />
           </TextualContent>
           <Name>subcategory</Name>
         </UrlVariable>
       </value>
     </item>
     <item>
       <key>
         <string>projectid</string>
       </key>
       <value>
         <UrlVariable>
           <RegexRightToLeft>false</RegexRightToLeft>
           <VariableType>Textual</VariableType>
           <Regex />
           <TextualContent>
             <placeholder name="What is this application's ID?" value="" />
           </TextualContent>
           <Name>projectid</Name>
         </UrlVariable>
       </value>
     </item>
     <item>
       <key>
         <string>version</string>
       </key>
       <value>
         <UrlVariable>
           <RegexRightToLeft>false</RegexRightToLeft>
           <VariableType>RegularExpression</VariableType>
           <Regex><a href='\S*/info.php/id/{projectid}/\S*?>.*?(\d+[\.\w]*).*?<</Regex>
           <Url>http://www.macupdate.com/info.php/id/{projectid}/</Url>
           <Name>version</Name>
         </UrlVariable>
       </value>
     </item>
     <item>
       <key>
         <string>download</string>
       </key>
       <value>
         <UrlVariable>
           <RegexRightToLeft>false</RegexRightToLeft>
           <VariableType>RegularExpression</VariableType>
           <Regex>href='(\S*download.php/{projectid}/.*?)'</Regex>
           <Url>http://www.macupdate.com/info.php/id/{projectid}/</Url>
           <Name>download</Name>
         </UrlVariable>
       </value>
     </item>
   </Variables>
 </ApplicationJob>
</Jobs>

 

MajorGeeks (Apple)

<?xml version="1.0" encoding="utf-8"?>
<Jobs>
 <ApplicationJob xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" guid="0a2d1859-a746-413f-956e-740b95a86579">
   <Name>
     <placeholder name="What is the name of this application?" value="" />
   </Name>
   <CanBeShared>true</CanBeShared>
   <Category>
     <placeholder name="How should this application be categorized?" value="" options="|Business|Development|Drivers|Education|Games|Graphic Design|Internet|Multimedia|Security|Utilities" />
   </Category>
   <CheckForUpdatesOnly>false</CheckForUpdatesOnly>
   <DeletePreviousFile>true</DeletePreviousFile>
   <DownloadBeta>Default</DownloadBeta>
   <Enabled>true</Enabled>
   <ExclusiveDownload>false</ExclusiveDownload>
   <ExecuteCommand />
   <ExecutePreCommand />
   <FileHippoId />
   <FixedDownloadUrl>http://mac.majorgeeks.com/{download}</FixedDownloadUrl>
   <HttpReferer />
   <PreviousLocation />
   <ShareApplication>false</ShareApplication>
   <SourceType>FixedUrl</SourceType>
   <TargetPath>{category}\{subcategory}\{appname}\{appname} ({version}).{url:ext}</TargetPath>
   <VariableChangeIndicator />
   <Variables>
     <item>
       <key>
         <string>subcategory</string>
       </key>
       <value>
         <UrlVariable>
           <RegexRightToLeft>false</RegexRightToLeft>
           <VariableType>Textual</VariableType>
           <Regex />
           <TextualContent>
             <placeholder name="What subcategory should this application go in?" value="" />
           </TextualContent>
           <Name>subcategory</Name>
         </UrlVariable>
       </value>
     </item>
     <item>
       <key>
         <string>appdlpage</string>
       </key>
       <value>
         <UrlVariable>
           <RegexRightToLeft>false</RegexRightToLeft>
           <VariableType>Textual</VariableType>
           <Regex />
           <TextualContent>
             <placeholder name="What is the URL of this application?" value="http://mac.majorgeeks.com/downloadxxxxx.html" />
           </TextualContent>
           <Name>appdlpage</Name>
         </UrlVariable>
       </value>
     </item>
     <item>
       <key>
         <string>version</string>
       </key>
       <value>
         <UrlVariable>
           <RegexRightToLeft>false</RegexRightToLeft>
           <VariableType>RegularExpression</VariableType>
           <Regex><title>.*?(\d+\.\d+[\.\w]*).*?</title></Regex>
           <Url>{appdlpage}</Url>
           <Name>version</Name>
         </UrlVariable>
       </value>
     </item>
     <item>
       <key>
         <string>appredirect</string>
       </key>
       <value>
         <UrlVariable>
           <RegexRightToLeft>false</RegexRightToLeft>
           <VariableType>RegularExpression</VariableType>
           <Regex>href="(http://mac.majorgeeks.com/downloadget.php\?.*?)"</Regex>
           <Url>{appdlpage}</Url>
           <Name>appredirect</Name>
         </UrlVariable>
       </value>
     </item>
     <item>
       <key>
         <string>download</string>
       </key>
       <value>
         <UrlVariable>
           <RegexRightToLeft>false</RegexRightToLeft>
           <VariableType>RegularExpression</VariableType>
           <Regex>URL=.*?(downloadget.+?)"</Regex>
           <Url>{appredirect}</Url>
           <Name>download</Name>
         </UrlVariable>
       </value>
     </item>
   </Variables>
 </ApplicationJob>
</Jobs>

Edited by Reformed Pirate
Link to comment
Share on other sites

I assume you exported an application made from a template rather than give us the template here, given some of the values being pre-defined even if you have placeholders for them.

 

Some of those values really shouldn't be in a template though like LastFileSize and LastFileDate as those values aren't applicable to anything created with the template.

 

Also most templates are created for a specific website i.e. Sourceforge or CNET, you can of course make a more generic template as such for filling in basic information but you'll find yourself tweaking the defaults too often when you come across a site like sourceforge.

Link to comment
Share on other sites

Thanks, guys. I removed those fields and added a GUID. For some reason, exporting as a template seems to be putting the lastfilesize and lastfiledate in there if I've ever tested it with static values. That said, this seems to be working for me as a template -- please let me know if you spot anything else wrong (as I'm pretty much just trying to get used to this template thing).

Link to comment
Share on other sites

Works great.

Download.com delivers the version as value.

Changing the Regex for version in:

name="productVersion" value="(.*?)"

will help for other Apps like Java JRE which does not run with your code correctly ;-)

 

The application name is delivered in the same way too, so it can be automated like Filehippo by ketarin.

Thats the piece of HTML Code from Download.com for DEAMON Tools Net in the same line

..... name="productName" value="DAEMON Tools Net" .... 

Link to comment
Share on other sites

The application name is delivered in the same way too, so it can be automated like Filehippo by ketarin.

Thats the piece of HTML Code from Download.com for DEAMON Tools Net in the same line

..... name="productName" value="DAEMON Tools Net" .... 

 

I, personally, don't care about changing the name to an automated value simply because I disagree with the capitalization of some software packages and it'd but me. An example is "Mp3Tag" -- who writes "MP3" as "Mp3"?! :o </OCD>

Link to comment
Share on other sites

Thought you might appreciate a piece of code

 

This is a variable that will identify the name for you, just tweak the regex depending on the template. For example i've made the regex below code automatically extract the name from download.com pages.

 

    <item>
       <key>
         <string>name</string>
       </key>
       <value>
         <UrlVariable>
           <RegexRightToLeft>false</RegexRightToLeft>
           <VariableType>RegularExpression</VariableType>
           <Regex><title>(.*?) -</Regex>
           <Url><placeholder name="Download URL"/></Url>
           <Name>name</Name>
         </UrlVariable>
       </value>
     </item>     

 

Only thing regarding the above piece of code, I didn't see a placeholder for the download URL in your download.com however if you had a placeholder with the same name "Download URL" you would only need to enter the value once as you can extract the name and the file both from the download.com app page.

 

This below piece of code will just automatically name your app without having to manually enter anything, if it doesn't find anything it will give you the option of manually naming it.

 

<Name><placeholder name="Name of application" variable="name" /></Name>

Link to comment
Share on other sites

Thought I would share a template to demonstrate. When you add an app from a sourceforge page, it will automatically name the program for you amongst other things. Note the Regex may need to be tweaked if you want an .exe

 

<?xml version='1.0' encoding='utf-8'?>
<Jobs>
 <ApplicationJob xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
   <WebsiteUrl />
   <UserNotes />
   <IgnoreFileInformation>false</IgnoreFileInformation>
   <DownloadBeta>Default</DownloadBeta>
   <CheckForUpdatesOnly>false</CheckForUpdatesOnly>
   <VariableChangeIndicator />
   <CanBeShared>true</CanBeShared>
   <ShareApplication>false</ShareApplication>
   <ExclusiveDownload>false</ExclusiveDownload>
   <UserAgent>(!)</UserAgent>
   <HttpReferer>http://sourceforge.net</HttpReferer>
   <Variables>
     <item>
       <key>
         <string>download</string>
       </key>
       <value>
         <UrlVariable>
           <RegexRightToLeft>false</RegexRightToLeft>
           <VariableType>RegularExpression</VariableType>
           <Regex>(http[^"']+[^"']+(\.zip|\.rar|\.7z))</Regex>
           <Url><placeholder name="Application Page URL"/></Url>
           <Name>download</Name>
         </UrlVariable>
       </value>
     </item>
     <item>
       <key>
         <string>name</string>
       </key>
       <value>
         <UrlVariable>
           <RegexRightToLeft>false</RegexRightToLeft>
           <VariableType>RegularExpression</VariableType>
           <Regex>content="get (.*?) at</Regex>
           <Url><placeholder name="Application Page URL"/></Url>
           <Name>name</Name>
         </UrlVariable>
       </value>
     </item>     
   </Variables>
   <ExecuteCommand>/*This is a comment line, the line below is the C# script. It will run the instructions found in the Setup Tab*/
app.Install(null);</ExecuteCommand>
   <ExecutePreCommand />
   <ExecuteCommandType>CS</ExecuteCommandType>
   <ExecutePreCommandType>Batch</ExecutePreCommandType>
   <SetupInstructions />
   <Category><placeholder name="Category" /></Category>
   <SourceType>FixedUrl</SourceType>
   <DeletePreviousFile>true</DeletePreviousFile>
   <Enabled>true</Enabled>
   <FileHippoId />
   <TargetPath><placeholder name="Download To"/></TargetPath>
   <FixedDownloadUrl>{download}</FixedDownloadUrl>
   <Name><placeholder name="Name of application" variable="name" /></Name>
 </ApplicationJob>
</Jobs>

Link to comment
Share on other sites

SnapFiles added.

 

Omni: I may have to give this another shot. I'd tried to have the names auto-populate previously, but the app names from that source then just showed up as {appname} which did me no good. Since you're populating it in a variable {name} and, I assume, then reading that into {appname} perhaps you're having better results. I'll try this out tomorrow. It's bedtime for me, now that I've officially got all of the download sites that I'd need to redownload my entire application library. :)

Link to comment
Share on other sites

  • 2 months later...
  • 1 month later...

@UksusoFF: looks like the app ID would just be "gimp-animation-package" for Brothersoft. It looks like I was nervous about them changing those numbers at the end, so I put

<Regex>/({appid}-\d+?.html)"</Regex>

in there to look for "gimp-animation-package" in this case followed by a hyphen, set of more than one numbers and ".html". Lemme know if that doesn't work or doesn't make sense. Thanks...

Link to comment
Share on other sites

@UksusoFF: looks like the app ID would just be "gimp-animation-package" for Brothersoft. It looks like I was nervous about them changing those numbers at the end, so I put
<Regex>/({appid}-\d+?.html)"</Regex>

in there to look for "gimp-animation-package" in this case followed by a hyphen, set of more than one numbers and ".html". Lemme know if that doesn't work or doesn't make sense. Thanks...

thanks. it's work :)

Link to comment
Share on other sites

  • 2 weeks later...

stinf: Macrium Reflect Free seems to be working just fine for me with the current template. The app ID is "macrium-reflect-free". The app ID is always that dashed name of the application in the URL on this template. Lemme know if you're still having problems...

Edited by Reformed Pirate
Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.