caribou
-
Posts
2 -
Joined
-
Last visited
Content Type
Profiles
Forums
Applications
Posts posted by caribou
-
-
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.
CNET Download.com template
in Templates
Posted · Edited by caribou
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.