Jump to content
Ketarin forum

shelichrg

Members
  • Posts

    8
  • Joined

  • Last visited

shelichrg's Achievements

Newbie

Newbie (1/14)

  1. Thanks Shawn, it does work perfectly when used as a new variable with the textual content. I was just wondering if I was doing something wrong with the global variable.
  2. Is there a way for it to be used as a global variable instead of having to put the function in each app? Maybe I'm doing it wrong but when I try to use it as a global variable I get a 404 error, for example, the app I'm downloading is xmedia-recode. I get "xmedia recode The remote server returned an error: (404) Not Found. (http://www.xmedia-recode.de/download/XMediaRecode{version:regexreplace:[/.]+:}_setup.exe)" where the expression would be the version number. I hope that makes sense.
  3. @ FranciscoR Ah I see where you used {redir} to go to the hivelocity direct link. Nice. Ok I'm off to play with it now, thanks.
  4. There's a new issue with sourceforge since they've updated the site. They've added a space in the url and that's messing up the downloads with ketarin. For example this is the link to download mediacoder http://sourceforge.net/projects/mediacoder/files/Device%20http://Editions/MediaCoder-PSP-0.7.1.4450.exe. I have been messing with it but although I get the url right, I still get a 404 file not found error. Maybe I'm missing something. Any ideas?
  5. @FranciscoR - I'm going to try the xml from the link you provided. I can see where you specifically mentioned not putting the release id in the download url which I did and the <end text> for both Xampp and Perl is the same and contained version numbers. I'll let you know the result after I import the xml and do the regex changes. Edit to report results of import The import template seems to have worked FranciscoR. I'll keep running it for a while and report if I have any problems. Thanks for all your help.
  6. Do you mean this part CybTekSol? <StartText>http://hivelocity.dl.sourceforge.net/sourceforge/xampp</StartText> I'm getting used to using regular expressions again since I haven't had to use them since university . So I should use the regex exclusively for the url? I hadn't thought of that. Can you show me an example of what you have?
  7. Hi FranciscoR, thanks for the speedy reply. I sort of figured it had nothing to do with sourceforge, but as that was my only example, I used it . What I noticed from your definitions is that your previous location for both is the same but mine are different. I do believe I also copied the job from Xampp to Perl, maybe there's something we missed. Here are my xml definitions: For Perl <?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="0179df2a-2e90-45a3-acaa-c521d05f69d5"> <DownloadBeta>Default</DownloadBeta> <DownloadDate xsi:nil="true" /> <CheckForUpdatesOnly>false</CheckForUpdatesOnly> <VariableChangeIndicator>{version}</VariableChangeIndicator> <CanBeShared>true</CanBeShared> <ShareApplication>false</ShareApplication> <ExclusiveDownload>true</ExclusiveDownload> <HttpReferer /> <Variables> <item> <key> <string>version</string> </key> <value> <UrlVariable> <RegexRightToLeft>false</RegexRightToLeft> <VariableType>RegularExpression</VariableType> <Regex>([0-9].[0-9].[0-9]-[0-9].[0-9].[0-9][0-9])</Regex> <Url>http://sourceforge.net/project/showfiles.php?group_id=61776&package_id=113693</Url> <StartText>http://hivelocity.dl.sourceforge.net/sourceforge/xampp</StartText> <EndText>/xampp-win32-1.7.1-installer.exe</EndText> <Name>version</Name> </UrlVariable> </value> </item> <item> <key> <string>url</string> </key> <value> <UrlVariable> <RegexRightToLeft>false</RegexRightToLeft> <VariableType>RegularExpression</VariableType> <Regex>http://downloads.sourceforge.net/xampp/</Regex> <Url>https://sourceforge.net/project/showfiles.php?group_id=61776&package_id=113693&release_id=272434</Url> <StartText>http://downloads.sourceforge.net/xampp/</StartText> <Name>url</Name> </UrlVariable> </value> </item> <item> <key> <string>updated</string> </key> <value> <UrlVariable> <RegexRightToLeft>false</RegexRightToLeft> <VariableType>StartEnd</VariableType> <Regex /> <Url>http://sourceforge.net/project/showfiles.php?group_id=61776&package_id=113693&release_id=272434</Url> <StartText><small>(</StartText> <EndText> 06:37) </EndText> <Name>updated</Name> </UrlVariable> </value> </item> </Variables> <ExecuteCommand /> <ExecutePreCommand /> <Category>Development</Category> <SourceType>FixedUrl</SourceType> <PreviousLocation>C:\Downloads\ketarin updates\xampp-perl-addon-5.8.6-2.0.54-installer.exe</PreviousLocation> <DeletePreviousFile>true</DeletePreviousFile> <Enabled>true</Enabled> <FileHippoId /> <LastUpdated>2009-05-14T10:48:21.210827</LastUpdated> <TargetPath>C:\Downloads\ketarin updates\</TargetPath> <FixedDownloadUrl>{url}xampp-perl-addon-{version}-installer.exe</FixedDownloadUrl> <Name>Xampp-Perl</Name> </ApplicationJob> </Jobs> for Xampp <?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="cd893188-9951-4862-8580-8ef4a67daf56"> <DownloadBeta>Default</DownloadBeta> <DownloadDate xsi:nil="true" /> <CheckForUpdatesOnly>false</CheckForUpdatesOnly> <VariableChangeIndicator>{version}</VariableChangeIndicator> <CanBeShared>true</CanBeShared> <ShareApplication>false</ShareApplication> <ExclusiveDownload>true</ExclusiveDownload> <HttpReferer /> <Variables> <item> <key> <string>version</string> </key> <value> <UrlVariable> <RegexRightToLeft>false</RegexRightToLeft> <VariableType>RegularExpression</VariableType> <Regex>(?<=win32-)\d*\.\d\.\d(?=\.exe)</Regex> <Url>http://sourceforge.net/project/showfiles.php?group_id=61776&package_id=89552#</Url> <StartText>http://hivelocity.dl.sourceforge.net/sourceforge/xampp</StartText> <EndText>/xampp-win32-1.7.1-installer.exe</EndText> <Name>version</Name> </UrlVariable> </value> </item> <item> <key> <string>url</string> </key> <value> <UrlVariable> <RegexRightToLeft>false</RegexRightToLeft> <VariableType>RegularExpression</VariableType> <Regex>http://downloads.sourceforge.net/xampp/</Regex> <Url>http://sourceforge.net/project/showfiles.php?group_id=61776&package_id=89552#</Url> <StartText>http://downloads.sourceforge.net/xampp/</StartText> <Name>url</Name> </UrlVariable> </value> </item> <item> <key> <string>updated</string> </key> <value> <UrlVariable> <RegexRightToLeft>false</RegexRightToLeft> <VariableType>StartEnd</VariableType> <Regex /> <Url>http://sourceforge.net/project/showfiles.php?group_id=61776&package_id=89552#</Url> <StartText>> <small>(</StartText> <EndText> 18:50) </small></td></EndText> <Name>updated</Name> </UrlVariable> </value> </item> </Variables> <ExecuteCommand /> <ExecutePreCommand /> <Category>Development</Category> <SourceType>FixedUrl</SourceType> <PreviousLocation>C:\Downloads\ketarin updates\xampp-win32-1.7.1-installer.exe</PreviousLocation> <DeletePreviousFile>true</DeletePreviousFile> <Enabled>true</Enabled> <FileHippoId /> <LastUpdated>2009-04-28T01:25:12.660775</LastUpdated> <TargetPath>C:\Downloads\ketarin updates\</TargetPath> <FixedDownloadUrl>{url}xampp-win32-{version}-installer.exe</FixedDownloadUrl> <Name>xampp</Name> </ApplicationJob> </Jobs>
  8. First of all, I'd like to say thanks to Flo for making this awesome product, I've been looking for something like this for ages. Got some others hooked on it too . I've read through the forum and haven't seen anyone with a problem quite like mine so I thought I should ask. I'm using Ketarin 1.0.5.254 The issue I'm having with sourceforge is that when I download different packages from the same group it overwrites the first package. For example, I use Xampp and the Perl addon. I download the xampp installer first from here then the Perl addon from here. The addon always overwrites the Xampp installer. The download path I use is {url}xampp-perl-addon-{version}-installer.exe for Perl and {url}xampp-win32-{version}-installer.exe for xampp {url} for both = http://downloads.sourceforge.net/xampp/ and I get the versions from the specific packages. Am I doing something wrong or is the way the program is supposed to work? If needs be I can export the definitions I'm using for both to help clear this up.
×
×
  • 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.