Jump to content
Ketarin forum

UksusoFF

Members
  • Posts

    108
  • Joined

  • Last visited

Posts posted by UksusoFF

  1. sample template for get latest files:

    <?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="99a223e4-5a83-4268-9e22-53795eb9ac7a">
    <WebsiteUrl />
    <UserAgent>Mozilla/5.0 (Windows NT 6.1; WOW64; rv:6.0.2) Gecko/20100101 Firefox/6.0.2</UserAgent>
    <UserNotes />
    <IgnoreFileInformation>false</IgnoreFileInformation>
    <DownloadBeta>Default</DownloadBeta>
    <DownloadDate xsi:nil="true" />
    <CheckForUpdatesOnly>false</CheckForUpdatesOnly>
    <VariableChangeIndicator />
    <CanBeShared>true</CanBeShared>
    <ShareApplication>false</ShareApplication>
    <ExclusiveDownload>false</ExclusiveDownload>
    <HttpReferer>http://sourceforge.net/</HttpReferer>
    <SetupInstructions />
    <Variables>
      <item>
    	<key>
    	  <string>getfile</string>
    	</key>
    	<value>
    	  <UrlVariable>
    		<RegexRightToLeft>false</RegexRightToLeft>
    		<VariableType>RegularExpression</VariableType>
    		<Regex>project/{sftag}/[^"'=]+\.{fileext}</Regex>
    		<Url>http://sourceforge.net/projects/{sftag}/files/latest/download</Url>
    		<Name>getfile</Name>
    	  </UrlVariable>
    	</value>
      </item>
      <item>
    	<key>
    	  <string>sftag</string>
    	</key>
    	<value>
    	  <UrlVariable>
    		<RegexRightToLeft>false</RegexRightToLeft>
    		<VariableType>Textual</VariableType>
    		<Regex />
    		<TextualContent><placeholder name="What is the SF application tag?" value="" /></TextualContent>
    		<Name>sftag</Name>
    	  </UrlVariable>
    	</value>
      </item>
      <item>
    	<key>
    	  <string>fileext</string>
    	</key>
    	<value>
    	  <UrlVariable>
    		<RegexRightToLeft>false</RegexRightToLeft>
    		<VariableType>Textual</VariableType>
    		<Regex />
    		<TextualContent><placeholder name="Which is file extension, e.g. zip?" value="zip" /></TextualContent>
    		<Name>fileext</Name>
    	  </UrlVariable>
    	</value>
      </item>
    </Variables>
    <ExecuteCommand />
    <ExecutePreCommand />
    <ExecuteCommandType>Batch</ExecuteCommandType>
    <ExecutePreCommandType>Batch</ExecutePreCommandType>
    <Category><placeholder name="Application Category?" value="sourceforge" options="{categories}" /></Category>
    <SourceType>FixedUrl</SourceType>
    <DeletePreviousFile><placeholder name="Delete Previous Version?" value="true" options="true|false" /></DeletePreviousFile>
    <Enabled>true</Enabled>
    <FileHippoId />
    <TargetPath><placeholder name="Which is TargetPath?" value=".\{category}\{appname:regexreplace:([\s\t\r\n\-\\&]+):_}-{version}.{url:ext}" /></TargetPath>
    <FixedDownloadUrl>http://jaist.dl.sourceforge.net/{getfile}</FixedDownloadUrl>
    <Name><placeholder name="Application Name?" value="" /></Name>
     </ApplicationJob>
    </Jobs>
    

×
×
  • 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.