Jump to content
Ketarin forum

CybTekSol's AnalogX Template


CybTekSol
 Share

Recommended Posts

My AnalogX Template:

 

After a four year hiatus, AnalogX is back! I used to use their applications on a regular basis and now that they are updating all their apps and promising new development I decided to create a template to use with their site.

 

I have tested the template with 50+ AnalogX apps and it has a 100% reliability as of today, March 24th, 2009. Try some of their apps and see if you like them.

 

1) Ketarin (1.0.3) released February 23, 2009 or later is required as this template uses the

'placeholder' feature.

 

2) The template follows:

<?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">
   <DownloadBeta>Default</DownloadBeta>
   <DownloadDate xsi:nil="true" />
   <CheckForUpdatesOnly>false</CheckForUpdatesOnly>
   <VariableChangeIndicator>{version}</VariableChangeIndicator>
   <CanBeShared>true</CanBeShared>
   <ShareApplication>false</ShareApplication>
   <ExclusiveDownload>false</ExclusiveDownload>
   <HttpReferer><placeholder name="App Info and Download Page URL from AnalogX?" value="http://www.analogx.com/" /></HttpReferer>
   <Variables>
     <item>
       <key>
         <string>version</string>
       </key>
       <value>
         <UrlVariable>
           <RegexRightToLeft>false</RegexRightToLeft>
           <VariableType>RegularExpression</VariableType>
           <Regex>(?:version\s)(Beta.+?|Build.+?|\d.*?)(?:<|&)</Regex>
           <Url><placeholder name="App Info and Download Page URL from AnalogX?" value="http://www.analogx.com/" /></Url>
           <Name>version</Name>
         </UrlVariable>
       </value>
     </item>
     <item>
       <key>
         <string>truncated_url</string>
       </key>
       <value>
         <UrlVariable>
           <RegexRightToLeft>false</RegexRightToLeft>
           <VariableType>RegularExpression</VariableType>
           <Regex>(?:a href=")(/files/.*?)(?:")</Regex>
           <Url><placeholder name="App Info and Download Page URL from AnalogX?" value="http://www.analogx.com/" /></Url>
           <Name>truncated_url</Name>
         </UrlVariable>
       </value>
     </item>
   </Variables>
   <ExecuteCommand />
   <ExecutePreCommand />
   <Category><placeholder name="Category?" value="AnalogX" /></Category>
   <SourceType>FixedUrl</SourceType>
   <PreviousLocation />
   <DeletePreviousFile>true</DeletePreviousFile>
   <Enabled>true</Enabled>
   <FileHippoId />
   <LastUpdated xsi:nil="true" />
   <TargetPath><placeholder name="TargetPath?" value="{target}\{category}\{appname}_v{version}.{url:ext}" /></TargetPath>
   <FixedDownloadUrl>http://www.analogx.com{truncated_url}</FixedDownloadUrl>
   <Name><placeholder name="Application Name?" value="AnalogX App" /></Name>
 </ApplicationJob>
</Jobs>

 

It is a simple 'no frills' template as that was all that was needed. If you are not familiar with templates see this post. Modify the template for YOUR needs. I hope someone finds this useful. ;)

 

Updated April 8th, 2009: Small regex tweak due to site changes...

 

CybTekSol

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