caribou Posted January 23, 2010 Report Share Posted January 23, 2010 (edited) Because the one by CybTekSol doesn't work anymore i made mine, this is my first template. I'm not using regex i didn't dig that much the thing so that's a "raw" version, it works for the tries i made. <?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="f7c17eb6-ff11-454e-8f59-0426d00eeffc"> <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>redirect</string> </key> <value> <UrlVariable> <RegexRightToLeft>false</RegexRightToLeft> <VariableType>StartEnd</VariableType> <Regex /> <Url>http://download.cnet.com/<placeholder name="Enter the name part of your link. ie for : http://download.cnet.com/Fileaze-Lite/3000-2248_4-10657156.html enter [Fileaze-Lite]" />/<placeholder name="Enter the id part of your link. ie for : http://download.cnet.com/Fileaze-Lite/3000-2248_4-10657156.html enter [3000-2248_4-10657156]" />.html</Url> <StartText> </style> <a href="</StartText> <EndText>" class="dlNowIcon"><img </EndText> <Name>redirect</Name> </UrlVariable> </value> </item> <item> <key> <string>url</string> </key> <value> <UrlVariable> <RegexRightToLeft>false</RegexRightToLeft> <VariableType>StartEnd</VariableType> <Regex /> <Url>{redirect}</Url> <StartText>If it doesn't, <a href="</StartText> <EndText>" style="text-decoration</EndText> <Name>url</Name> </UrlVariable> </value> </item> </Variables> <ExecuteCommand /> <ExecutePreCommand /> <Category>[CATEGORY]</Category> <SourceType>FixedUrl</SourceType> <DeletePreviousFile>true</DeletePreviousFile> <Enabled>true</Enabled> <FileHippoId /> <LastUpdated xsi:nil="true" /> <TargetPath>{root}\[{category}] {appname}\</TargetPath> <FixedDownloadUrl>{url}</FixedDownloadUrl> <Name><placeholder name="Software name" /></Name> </ApplicationJob> </Jobs> Don't forget to change the target path Edit : Forget it, since the ID randomly change my template will not make it for a long term use. Edited January 23, 2010 by caribou Link to comment Share on other sites More sharing options...
CybTekSol Posted January 23, 2010 Report Share Posted January 23, 2010 This will work until they randomly change their ID for the app as they do with subsequent releases. Since this ID is volatile, and they do not remove the page associated with the earlier version, you will think that you have the latest version when in reality the newer version is on a different page. I use their own search engine for my current template to defeat this madness. I just haven't found the time to post it yet... soon I hope. Link to comment Share on other sites More sharing options...
caribou Posted January 23, 2010 Author Report Share Posted January 23, 2010 (edited) Ohhhh! Understood, i didn't know that ! Actually that makes sense now, it looked weird to me that you had some "kind-of-problems" with this template. Edited January 23, 2010 by caribou 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