Topic: A template without steroids: Portablefreeware.com
<?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" />
<VariableChangeIndicator />
<CanBeShared>true</CanBeShared>
<ShareApplication>false</ShareApplication>
<HttpReferer />
<Variables>
<item>
<key>
<string>ID</string>
</key>
<value>
<UrlVariable>
<VariableType>Textual</VariableType>
<Regex />
<TextualContent><placeholder name="Portablefreeware ID" /></TextualContent>
<Name>ID</Name>
</UrlVariable>
</value>
</item>
<item>
<key>
<string>version</string>
</key>
<value>
<UrlVariable>
<VariableType>RegularExpression</VariableType>
<Regex>/icon.gif"></a>.*?<p>.*?([\d]+?.[\d]+?\sBeta|\d+?.Beta|Beta.+?|Build.+?|[\d]+-[\d]+-[\d]+|[\d.]+|[\d]+)[&|<]</Regex>
<Url>http://www.portablefreeware.com/?id={ID}</Url>
<Name>version</Name>
</UrlVariable>
</value>
</item>
<item>
<key>
<string>ref</string>
</key>
<value>
<UrlVariable>
<VariableType>RegularExpression</VariableType>
<Regex>download.php.(?:d|i)d=</Regex>
<Url>http://www.portablefreeware.com/?id={ID}</Url>
<Name>ref</Name>
</UrlVariable>
</value>
</item>
</Variables>
<ExecuteCommand />
<Category>Test</Category>
<SourceType>FixedUrl</SourceType>
<DeletePreviousFile>true</DeletePreviousFile>
<Enabled>true</Enabled>
<FileHippoId />
<LastUpdated xsi:nil="true" />
<TargetPath>{target}\{category}\{appname}_{version}.{url:ext}</TargetPath>
<FixedDownloadUrl>http://www.portablefreeware.com/{ref}{ID}</FixedDownloadUrl>
<Name><placeholder name="Application Name" /></Name>
</ApplicationJob>
</Jobs>Usage:
1. Import XML into Ketarin;
2. Go to http://www.portablefreeware.com/ and locate the app you want to download. Click on Permalink;
3. Copy-paste ?id= value in the first Information box;
4. Copy-paste app name in the second Information box;
5. Customize all the rest at will.
Example:
2. Permalink: http://www.portablefreeware.com/?id=1245
3. Portablefreeware ID: 1245

4. Application name: SysExporter

Note: it doesn't work when there's no direct download link (neither Ketarin); other than that, it's a speed demon ! ![]()
@CybTekSol: sorry, it's not complicated. ![]()
@floele: It would be nice and time-saving to insert only the ?id= value, maybe we could add a PortableFreeware_ID box below Filehippo_ID ? In the future...?
(this is not needed anymore)
Last edited by FranciscoR (2009-01-23 21:12:21)