FranciscoR Posted April 17, 2009 Report Share Posted April 17, 2009 (edited) <?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> <CheckForUpdatesOnly>false</CheckForUpdatesOnly> <VariableChangeIndicator /> <CanBeShared>true</CanBeShared> <ShareApplication>false</ShareApplication> <ExclusiveDownload>false</ExclusiveDownload> <HttpReferer /> <Variables> <item> <key> <string>version</string> </key> <value> <UrlVariable> <RegexRightToLeft>false</RegexRightToLeft> <VariableType>RegularExpression</VariableType> <Regex>(?<=href="/node/.+?\>)(\d+[\.\d+]+)(?=[^\d|^\.])</Regex> <Url><placeholder name="Info Page URL" /></Url> <Name>version</Name> </UrlVariable> </value> </item> <item> <key> <string>durl</string> </key> <value> <UrlVariable> <RegexRightToLeft>false</RegexRightToLeft> <VariableType>RegularExpression</VariableType> <Regex>(?<=URL\=http://extensions.services.openoffice.org/files/)([^\s]+)"</Regex> <Url><placeholder name="Download URL" /></Url> <Name>durl</Name> </UrlVariable> </value> </item> </Variables> <ExecuteCommand /> <ExecutePreCommand /> <Category>OpenOffice</Category> <SourceType>FixedUrl</SourceType> <DeletePreviousFile>false</DeletePreviousFile> <Enabled>true</Enabled> <FileHippoId /> <TargetPath>{target}\Office\Addons\{appname}_{version}.{url:ext}</TargetPath> <FixedDownloadUrl>http://extensions.services.openoffice.org/files/{durl}</FixedDownloadUrl> <Name><placeholder name="Application Name" /></Name> </ApplicationJob> </Jobs> Edited April 17, 2009 by FranciscoR 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