Jump to content
Ketarin forum

UBUNTU Template v1.0


Gozi
 Share

Recommended Posts

Hi all,

 

with this template you can download various versions of ubuntu. Just set the details and let it run :-)

 

{2DIR} is my own variable to set the download directory. Set or change it!

 

 

Have fun

Gozi

 

<?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="1395ddfe-359f-40b1-8df1-7af3ea115e20">
   <WebsiteUrl />
   <UserAgent />
   <UserNotes />
   <LastFileSize>0</LastFileSize>
   <LastFileDate xsi:nil="true" />
   <IgnoreFileInformation>false</IgnoreFileInformation>
   <DownloadBeta>Default</DownloadBeta>
   <DownloadDate xsi:nil="true" />
   <CheckForUpdatesOnly>false</CheckForUpdatesOnly>
   <VariableChangeIndicator />
   <CanBeShared>true</CanBeShared>
   <ShareApplication>false</ShareApplication>
   <ExclusiveDownload>false</ExclusiveDownload>
   <HttpReferer />
   <SetupInstructions />
   <Variables>
     <item>
       <key>
         <string>Release</string>
       </key>
       <value>
         <UrlVariable>
           <RegexRightToLeft>false</RegexRightToLeft>
           <VariableType>Textual</VariableType>
           <Regex />
           <TextualContent><placeholder name="Release?" value="New" options="maverick|lucid|jaunty|hardy" /></TextualContent>
           <Name>Release</Name>
         </UrlVariable>
       </value>
     </item>
     <item>
       <key>
         <string>Plattform</string>
       </key>
       <value>
         <UrlVariable>
           <RegexRightToLeft>false</RegexRightToLeft>
           <VariableType>Textual</VariableType>
           <Regex />
           <TextualContent><placeholder name="i386/amd64?" value="New" options="i386|amd64|" /></TextualContent>
           <Name>Plattform</Name>
         </UrlVariable>
       </value>
     </item>
     <item>
       <key>
         <string>Distri</string>
       </key>
       <value>
         <UrlVariable>
           <RegexRightToLeft>false</RegexRightToLeft>
           <VariableType>Textual</VariableType>
           <Regex />
           <TextualContent><placeholder name="Distribution?" value="New" options="netbook|alternate|desktop|server" /></TextualContent>
           <Name>Distri</Name>
         </UrlVariable>
       </value>
     </item>
     <item>
       <key>
         <string>url</string>
       </key>
       <value>
         <UrlVariable>
           <RegexRightToLeft>false</RegexRightToLeft>
           <VariableType>Textual</VariableType>
           <Regex><a href="(ubuntu-[\S]*-{Distri}-{Plattform}.iso)</Regex>
           <Url>http://ftp.halifax.rwth-aachen.de/ubuntu-releases/{ISO}</Url>
           <TextualContent>http://ftp.halifax.rwth-aachen.de/ubuntu-releases/{Release}/{ISO}</TextualContent>
           <Name>url</Name>
         </UrlVariable>
       </value>
     </item>
     <item>
       <key>
         <string>ISO</string>
       </key>
       <value>
         <UrlVariable>
           <RegexRightToLeft>false</RegexRightToLeft>
           <VariableType>RegularExpression</VariableType>
           <Regex><a href="(ubuntu-[\S]*-{Distri}-{Plattform}.iso)</Regex>
           <Url>http://ftp.halifax.rwth-aachen.de/ubuntu-releases/{Release}</Url>
           <Name>ISO</Name>
         </UrlVariable>
       </value>
     </item>
     <item>
       <key>
         <string>version</string>
       </key>
       <value>
         <UrlVariable>
           <RegexRightToLeft>false</RegexRightToLeft>
           <VariableType>RegularExpression</VariableType>
           <Regex><a href="ubuntu-([\S]*)-{Distri}-{Plattform}.iso</Regex>
           <Url>http://ftp.halifax.rwth-aachen.de/ubuntu-releases/{Release}</Url>
           <Name>version</Name>
         </UrlVariable>
       </value>
     </item>
   </Variables>
   <ExecuteCommand />
   <ExecutePreCommand />
   <ExecuteCommandType>Batch</ExecuteCommandType>
   <ExecutePreCommandType>Batch</ExecutePreCommandType>
   <Category> Tools</Category>
   <SourceType>FixedUrl</SourceType>
   <PreviousLocation />
   <DeletePreviousFile>true</DeletePreviousFile>
   <Enabled>true</Enabled>
   <FileHippoId />
   <LastUpdated xsi:nil="true" />
   <TargetPath>{2DIR}\</TargetPath>
   <FixedDownloadUrl>{url}</FixedDownloadUrl>
   <Name><placeholder name="Name" value="Ubuntu-{Release}"/></Name>
 </ApplicationJob>
</Jobs>

Edited by Gozi
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.