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> <DownloadDate xsi:nil="true" /> <CheckForUpdatesOnly><placeholder name="Check for updates only ?" value="false" options="true|false" /></CheckForUpdatesOnly> <VariableChangeIndicator /> <CanBeShared>true</CanBeShared> <ShareApplication>false</ShareApplication> <ExclusiveDownload>false</ExclusiveDownload> <HttpReferer /> <Variables> <item> <key> <string>filenamestart</string> </key> <value> <UrlVariable> <RegexRightToLeft>false</RegexRightToLeft> <VariableType>Textual</VariableType> <Regex /> <TextualContent><placeholder name="Filename Start (for 'npp.5.3.1.bin.7z' use 'npp\.')" /></TextualContent> <Name>filenamestart</Name> </UrlVariable> </value> </item> <item> <key> <string>version</string> </key> <value> <UrlVariable> <RegexRightToLeft>false</RegexRightToLeft> <VariableType>RegularExpression</VariableType> <Regex>(?-s:{filenamestart:regexreplace:[^0-9a-z?()\\:!<>]:.?}(<placeholder name="Regex for Version (for 'npp.5.3.1.bin.7z' use only '\d+(?:\.\d+)+')" value="\d+(?:\.\d+)+" />)(?:<placeholder name="Filename End (for 'npp.5.3.1.bin.7z' use '\.bin\.7z')" />))</Regex> <Url><placeholder name="'Browse All Files' URL (Go to: Project page > View all files)" /></Url> <Name>version</Name> </UrlVariable> </value> </item> <item> <key> <string>redir</string> </key> <value> <UrlVariable> <RegexRightToLeft>false</RegexRightToLeft> <VariableType>RegularExpression</VariableType> <Regex>(?-s:href="([^"]+)">{filenamestart:regexreplace:[^0-9a-z?()\\:!<>]:.?}(?:<placeholder name="Regex for Version (for 'npp.5.3.1.bin.7z' use only '\d+(?:\.\d+)+')" value="\d+(?:\.\d+)+" />)<placeholder name="Filename End (for 'npp.5.3.1.bin.7z' use '\.bin\.7z')" />)</Regex> <Url><placeholder name="'Browse All Files' URL (Go to: Project page > View all files)" /></Url> <Name>redir</Name> </UrlVariable> </value> </item> </Variables> <ExecuteCommand /> <ExecutePreCommand /> <Category><placeholder name="Category" value="Test" options="Backup|Backup\Test|Clean|Clean\Registry|Clean\Uninstall|Database|Grep|Internet|Internet\Misc|Internet\Plugins|Internet\Test|Multimedia|Multimedia\Graphics|Multimedia\ScreenCapture|Office|Office\Diagramming|Office\Notepad|Office\PDF|Office\Scrapbook|Security|Security\AS|Security\Misc|Security\USB|Test|Utils\Benchmark|Utils\Compression|Utils\Hash|Utils\Misc|Utils\Recovery|Virtualization" /></Category> <SourceType>FixedUrl</SourceType> <DeletePreviousFile>false</DeletePreviousFile> <Enabled>true</Enabled> <FileHippoId /> <TargetPath>{target}\{category}\<placeholder name="Rename convention" value="{appname:replace:SF_:}_{version}.{url:ext}" options="|{appname}.{url:ext}|{appname}_{url:basefile}.{url:ext}|{appname}_{url:basefile}_{version}.{url:ext}|{appname}_{version:regexreplace:([0-9.]+)( [a-z]+ )(\d+):$1b$3}.{url:ext}|{appname}_{version:regexreplace:([a-z0-9.]+)(Portable)(\d+)?:$1$3}.{url:ext}|{appname}_{version:replace: :.}.{url:ext}|{appname}_{version:replace: :_}.{url:ext}|{appname}_{version:replace: :_}_{f:dd}-{f:MM}.{url:ext}|{appname}_{version:replace:/:-}.{url:ext}|{appname}_{version}.{url:ext}|{appname:regexreplace:(\w+)( \w+):$1}_{version:replace: build :b}.{url:ext}|{appname:replace: :_}_{version}.{url:ext}|{appname:replace: :}_{version:regexreplace:([a-z]+) +(\d+),? +(\d+):$2-$1-$3}.{url:ext}|{appname:replace: :}_{version}.{url:ext}|{appname:replace:FH_:}_{version:replace: :}.{url:ext}|{appname:replace:FH_:}_{version}.{url:ext}|{appname:replace:MG_:}_{version:regexreplace:([0-9.]+)( [a-z]+ )(\d+):$1b$3}.{url:ext}|{appname:replace:MG_:}_{version:replace: :}.{url:ext}|{appname:replace:MG_:}_{version}.{url:ext}|{appname:replace:SF_:}_{version}.{url:ext}|{appname:replace:SN_:}_{version}.{url:ext}|{appname:replace:SP_:}_{version:regexreplace:([0-9.]+)( [a-z]+ )(\d+):$1b$3}.{url:ext}|{appname:replace:SP_:}_{version:regexreplace:([0-9.]+)([a-z ]+)([0-9]+):$1b$3}.{url:ext}|{appname:replace:SP_:}_{version:replace: :}.{url:ext}|{appname:replace:SP_:}_{version}.{url:ext}|{url:basefile}.{url:ext}|{url:basefile}_{f:dd}-{f:MM}.{url:ext}|{url:basefile}_{version}.{url:ext}" /></TargetPath> <FixedDownloadUrl>{redir:regexreplace:/projects/([^/]+)/files/[^"]+/([^/]+):http\\://downloads.sourceforge.net/sourceforge/$1/$2?use_mirror=auto-select}</FixedDownloadUrl> <Name>SF_<placeholder name="Application Name" /></Name> </ApplicationJob> </Jobs> Note: this template is updated to support the new Sourceforge UI, see notice here. As previous versions, requires users to edit regular expressions. Insert data as prompted. Edited July 7, 2009 by FranciscoR Link to comment Share on other sites More sharing options...
szucsati Posted April 18, 2009 Report Share Posted April 18, 2009 Thanks for this xml! Although there are two problems: * version doesn't work (it shows the full html source) * it won't download the latest if there are more builds, like here: http://sourceforge.net/project/showfiles.php?group_id=151884&package_id=169195&release_id=668436 Link to comment Share on other sites More sharing options...
FranciscoR Posted April 18, 2009 Author Report Share Posted April 18, 2009 (edited) You're welcome. The easy fix for this DL is to use RTL to capture stable (or rc) releases, but you have to edit regex. <?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" /> <CheckForUpdatesOnly>false</CheckForUpdatesOnly> <VariableChangeIndicator /> <CanBeShared>true</CanBeShared> <ShareApplication>false</ShareApplication> <ExclusiveDownload>false</ExclusiveDownload> <HttpReferer /> <Variables> <item> <key> <string>version</string> </key> <value> <UrlVariable> <RegexRightToLeft>true</RegexRightToLeft> <VariableType>RegularExpression</VariableType> <Regex>MediaCoder-(?\d+[\.\d+]+)(?:\.exe))(?=")</Regex> <Url>http://sourceforge.net/project/showfiles.php?group_id=151884&package_id=169195&release_id=668436</Url> <Name>version</Name> </UrlVariable> </value> </item> <item> <key> <string>mirror</string> </key> <value> <UrlVariable> <RegexRightToLeft>false</RegexRightToLeft> <VariableType>RegularExpression</VariableType> <Regex>(?<=MediaCoder-{version}.*?"init_download\('http://downloads.sourceforge.net/)([^\s]+(?:\.exe)[^\s]*)'\)</Regex> <Url>http://sourceforge.net/project/showfiles.php?group_id=151884&package_id=169195&release_id=668436</Url> <Name>mirror</Name> </UrlVariable> </value> </item> </Variables> <ExecuteCommand /> <ExecutePreCommand /> <Category>Test</Category> <SourceType>FixedUrl</SourceType> <DeletePreviousFile>false</DeletePreviousFile> <Enabled>true</Enabled> <FileHippoId /> <LastUpdated xsi:nil="true" /> <TargetPath>{target}\{category}\</TargetPath> <FixedDownloadUrl>http://downloads.sourceforge.net/{mirror}</FixedDownloadUrl> <Name>MediaCoder</Name> </ApplicationJob> </Jobs> Edited April 19, 2009 by FranciscoR Link to comment Share on other sites More sharing options...
CybTekSol Posted April 28, 2009 Report Share Posted April 28, 2009 Excellent job on the visual tutorial FranciscoR. Link to comment Share on other sites More sharing options...
shelichrg Posted July 2, 2009 Report Share Posted July 2, 2009 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? Link to comment Share on other sites More sharing options...
FranciscoR Posted July 2, 2009 Author Report Share Posted July 2, 2009 (edited) Hello shelichrg, no probs here but if you are using my older template i advise you to update to the new version. 02-07-2009 23:51:36: Update started with 1 application(s)02-07-2009 23:51:39: SF_MediaCoder: Replacing {filenamestart} in '(?-s:href="([^"]+)">{filenamestart:regexreplace:[^0-9a-z]:.?}(?:\d+(?:\.\d+)+)\.exe)' with 'MediaCoder-PSP-' 02-07-2009 23:51:39: SF_MediaCoder: Replacing {redir} in 'http://sourceforge.net{redir}' with '/projects/mediacoder/files/Device%20Editions/MediaCoder-PSP-0.7.1.4450.exe' 02-07-2009 23:51:40: SF_MediaCoder: Replacing {mirror} in '{mirror}' with 'http://downloads.sourceforge.net/sourceforge/mediacoder/MediaCoder-PSP-0.7.1.4450.exe?use_mirror=ovh' 02-07-2009 23:51:40: SF_MediaCoder: Using referer: (none) 02-07-2009 23:51:41: SF_MediaCoder: Server source file: /sourceforge/mediacoder/MediaCoder-PSP-0.7.1.4450.exe 02-07-2009 23:51:43: SF_MediaCoder: Replacing {filenamestart} in '(?-s:{filenamestart:regexreplace:[^0-9a-z]:.?}(\d+(?:\.\d+)+)(?:\.exe))' with 'MediaCoder-PSP-' 02-07-2009 23:51:43: SF_MediaCoder: Replacing {version} in '{target}\Test\MediaCoder_{version}.exe' with '0.7.1.4450' 02-07-2009 23:51:43: SF_MediaCoder: Determined target file name: D:\Programas\Test\MediaCoder_0.7.1.4450.exe 02-07-2009 23:51:43: SF_MediaCoder: Checking if update is required... 02-07-2009 23:51:43: SF_MediaCoder: Update required, 'D:\Programas\Test\MediaCoder_0.7.1.4450.exe' does not yet exist 02-07-2009 23:51:45: SF_MediaCoder: Replacing {filenamestart} in '(?-s:{filenamestart:regexreplace:[^0-9a-z]:.?}(\d+(?:\.\d+)+)(?:\.exe))' with 'MediaCoder-PSP-' 02-07-2009 23:51:45: SF_MediaCoder: Replacing {version} in '{version}' with '0.7.1.4450' 02-07-2009 23:51:46: Update finished <?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="7b5db17c-862d-4bae-aad2-1a0eafbed558"> <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>filenamestart</string> </key> <value> <UrlVariable> <RegexRightToLeft>false</RegexRightToLeft> <VariableType>Textual</VariableType> <Regex /> <TextualContent>MediaCoder-PSP-</TextualContent> <Name>filenamestart</Name> </UrlVariable> </value> </item> <item> <key> <string>version</string> </key> <value> <UrlVariable> <RegexRightToLeft>false</RegexRightToLeft> <VariableType>RegularExpression</VariableType> <Regex>(?-s:{filenamestart:regexreplace:[^0-9a-z]:.?}(\d+(?:\.\d+)+)(?:\.exe))</Regex> <Url>http://sourceforge.net/projects/mediacoder/files/</Url> <Name>version</Name> </UrlVariable> </value> </item> <item> <key> <string>redir</string> </key> <value> <UrlVariable> <RegexRightToLeft>false</RegexRightToLeft> <VariableType>RegularExpression</VariableType> <Regex>(?-s:href="([^"]+)">{filenamestart:regexreplace:[^0-9a-z]:.?}(?:\d+(?:\.\d+)+)\.exe)</Regex> <Url>http://sourceforge.net/projects/mediacoder/files/</Url> <Name>redir</Name> </UrlVariable> </value> </item> <item> <key> <string>mirror</string> </key> <value> <UrlVariable> <RegexRightToLeft>false</RegexRightToLeft> <VariableType>RegularExpression</VariableType> <Regex>Problems[^"]+"([^"]*)"</Regex> <Url>http://sourceforge.net{redir}</Url> <Name>mirror</Name> </UrlVariable> </value> </item> </Variables> <ExecuteCommand /> <ExecutePreCommand /> <Category>Test</Category> <SourceType>FixedUrl</SourceType> <DeletePreviousFile>false</DeletePreviousFile> <Enabled>true</Enabled> <FileHippoId /> <LastUpdated xsi:nil="true" /> <TargetPath>{target}\{category}\{appname:replace:SF_:}_{version}.{url:ext}</TargetPath> <FixedDownloadUrl>{mirror}</FixedDownloadUrl> <Name>SF_MediaCoder</Name> </ApplicationJob> </Jobs> Edited July 2, 2009 by FranciscoR Link to comment Share on other sites More sharing options...
shelichrg Posted July 2, 2009 Report Share Posted July 2, 2009 @ 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. Link to comment Share on other sites More sharing options...
CybTekSol Posted July 3, 2009 Report Share Posted July 3, 2009 Thanks for the update FranciscoR. Link to comment Share on other sites More sharing options...
bytedead Posted July 3, 2009 Report Share Posted July 3, 2009 Where is the url that is supposed to contain the package ID? Link to comment Share on other sites More sharing options...
FranciscoR Posted July 3, 2009 Author Report Share Posted July 3, 2009 You have to click 'View all files' (white, small button) and insert that URL into placeholder. Link to comment Share on other sites More sharing options...
bytedead Posted July 3, 2009 Report Share Posted July 3, 2009 Thanks Link to comment Share on other sites More sharing options...
FranciscoR Posted July 3, 2009 Author Report Share Posted July 3, 2009 If some of you are experiencing issues with the new sf.net site, see this thread before discarding template, look for another source, etc. This was a major rework, SF is currently suggesting to send feedback, questions or concerns to our support team as detailed @ http://sourceforge.net/support Link to comment Share on other sites More sharing options...
ttheill Posted July 7, 2009 Report Share Posted July 7, 2009 Hi FranciscoR... Can you explain to me what to put in the boxes when I want to download Vistumbler from SourceForge's new site? I cannot seem to get it right :/ Regards, Thomas Link to comment Share on other sites More sharing options...
FranciscoR Posted July 7, 2009 Author Report Share Posted July 7, 2009 (edited) None of my sf.net dl are working today. Flo, do you mind looking at this ? File (source code url) is there alright but Ketarin doesn't see it http://i32.tinypic.com/6i9yfs.png Edited July 7, 2009 by FranciscoR Link to comment Share on other sites More sharing options...
CybTekSol Posted July 7, 2009 Report Share Posted July 7, 2009 Hi FranciscoR...Can you explain to me what to put in the boxes when I want to download Vistumbler from SourceForge's new site? I cannot seem to get it right :/ Regards, Thomas The regex value used for the 'version placeholder' has to be tweaked during import for the template to work with Vistumbler... try \d+(?:-\d+)+ instead of \d+(?:\.\d+)+ If you are a regex geek... it can be corrected afterwards in the {version} and {redir} regexs... although... unfortunately, the site has changed something that has broken the template in the last few hours for me though as FranciscoR has just noted while I was typing this... Link to comment Share on other sites More sharing options...
CybTekSol Posted July 7, 2009 Report Share Posted July 7, 2009 None of my sf.net dl are working today.I discovered this a few hours ago FranciscoR and as a result have developed a working template (prelim... not finished) that uses a different strategy with SF... Link to comment Share on other sites More sharing options...
FranciscoR Posted July 7, 2009 Author Report Share Posted July 7, 2009 (edited) something (...) has broken the template Hey there, long time no see =), problem is Ketarin cannot load any sf.net download page properly (test it without template). I bet problem is COOKIES. Edited July 7, 2009 by FranciscoR Link to comment Share on other sites More sharing options...
CybTekSol Posted July 7, 2009 Report Share Posted July 7, 2009 Hey there, long time no see =) Yea... I've only been able to sneak into the forum for a short period every few days due to workload. I bet problem is COOKIES.Yes... I believe it may be related to cookies that have to do with doubleclick revenue... bummer. The template I'm testing avoids that issue by not using that download page. Too soon to make an accurate assessment of its reliability. Link to comment Share on other sites More sharing options...
FranciscoR Posted July 7, 2009 Author Report Share Posted July 7, 2009 Yeah, the old method is still working... i'll update template when i got time. No worries ttheill. Link to comment Share on other sites More sharing options...
FranciscoR Posted July 7, 2009 Author Report Share Posted July 7, 2009 (edited) Done =) (i hope). 07-07-2009 13:38:29: Update started with 1 application(s) 07-07-2009 13:38:32: SF_Vistumbler: Replacing {filenamestart} in '(?-s:href="([^"]+)">{filenamestart:regexreplace:[^0-9a-z]:.?}(?:[-0-9]+)\.exe)' with 'Vistumbler_v' 07-07-2009 13:38:32: SF_Vistumbler: Replacing {redir} in '{redir:regexreplace:/projects/([^/]+)/files/[^"]+/([^/]+):http\\://downloads.sourceforge.net/sourceforge/$1/$2?use_mirror=auto-select}' with '/projects/vistumbler/files/Vistumbler%20MDB/Vistumbler_v9-6.exe' 07-07-2009 13:38:32: SF_Vistumbler: Using referer: (none) 07-07-2009 13:38:33: SF_Vistumbler: Server source file: /sourceforge/vistumbler/Vistumbler_v9-6.exe 07-07-2009 13:38:34: SF_Vistumbler: Replacing {filenamestart} in '(?-s:{filenamestart:regexreplace:[^0-9a-z]:.?}([-0-9]+)(?:\.exe))' with 'Vistumbler_v' 07-07-2009 13:38:34: SF_Vistumbler: Replacing {version} in '{target}\Test\Vistumbler_{version}.exe' with '9-6' 07-07-2009 13:38:34: SF_Vistumbler: Determined target file name: D:\Programas\Test\Vistumbler_9-6.exe 07-07-2009 13:38:34: SF_Vistumbler: Checking if update is required... 07-07-2009 13:38:34: SF_Vistumbler: Update required, 'D:\Programas\Test\Vistumbler_9-6.exe' does not yet exist 07-07-2009 13:38:34: SF_Vistumbler: Skipped downloading updates 07-07-2009 13:38:35: SF_Vistumbler: Replacing {filenamestart} in '(?-s:{filenamestart:regexreplace:[^0-9a-z]:.?}([-0-9]+)(?:\.exe))' with 'Vistumbler_v' 07-07-2009 13:38:35: SF_Vistumbler: Replacing {version} in '{version}' with '9-6' 07-07-2009 13:38:35: Update finished <?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" /> <CheckForUpdatesOnly>false</CheckForUpdatesOnly> <VariableChangeIndicator /> <CanBeShared>true</CanBeShared> <ShareApplication>false</ShareApplication> <ExclusiveDownload>false</ExclusiveDownload> <HttpReferer /> <Variables> <item> <key> <string>filenamestart</string> </key> <value> <UrlVariable> <RegexRightToLeft>false</RegexRightToLeft> <VariableType>Textual</VariableType> <Regex /> <TextualContent>Vistumbler_v</TextualContent> <Name>filenamestart</Name> </UrlVariable> </value> </item> <item> <key> <string>version</string> </key> <value> <UrlVariable> <RegexRightToLeft>false</RegexRightToLeft> <VariableType>RegularExpression</VariableType> <Regex>(?-s:{filenamestart:regexreplace:[^0-9a-z]:.?}([-0-9]+)(?:\.exe))</Regex> <Url>http://sourceforge.net/projects/vistumbler/files/</Url> <Name>version</Name> </UrlVariable> </value> </item> <item> <key> <string>redir</string> </key> <value> <UrlVariable> <RegexRightToLeft>false</RegexRightToLeft> <VariableType>RegularExpression</VariableType> <Regex>(?-s:href="([^"]+)">{filenamestart:regexreplace:[^0-9a-z]:.?}(?:[-0-9]+)\.exe)</Regex> <Url>http://sourceforge.net/projects/vistumbler/files/</Url> <Name>redir</Name> </UrlVariable> </value> </item> </Variables> <ExecuteCommand \> <ExecutePreCommand \> <Category>Test</Category> <SourceType>FixedUrl</SourceType> <DeletePreviousFile>false</DeletePreviousFile> <Enabled>true</Enabled> <FileHippoId /> <LastUpdated xsi:nil="true" /> <TargetPath>{target}\{category}\{appname:replace:SF_:}_{version}.{url:ext}</TargetPath> <FixedDownloadUrl>{redir:regexreplace:/projects/([^/]+)/files/[^"]+/([^/]+):http\\://downloads.sourceforge.net/sourceforge/$1/$2?use_mirror=auto-select}</FixedDownloadUrl> <Name>SF_Vistumbler</Name> </ApplicationJob> </Jobs> Edited July 7, 2009 by FranciscoR Link to comment Share on other sites More sharing options...
FranciscoR Posted July 7, 2009 Author Report Share Posted July 7, 2009 (edited) If you are a regex geek... Only regex geeks dl from sf.net using Ketarin. Edited July 7, 2009 by FranciscoR Link to comment Share on other sites More sharing options...
FranciscoR Posted July 7, 2009 Author Report Share Posted July 7, 2009 Bad news folks, template is broken again and i'm not updating it anymore. =( Link to comment Share on other sites More sharing options...
CybTekSol Posted July 9, 2009 Report Share Posted July 9, 2009 I just may have stumbled upon something with SF FranciscoR. Try this out... is it possible that the solution can be this easy? <?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" /> <CheckForUpdatesOnly>false</CheckForUpdatesOnly> <VariableChangeIndicator>{version}</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>(?<=\>Newest Files\<.*?)(?:\:\s|_v)(Beta.+?|Build.+?|\d.*?)(?\sreleased)|<|&)</Regex> <Url>http://sourceforge.net/projects/pdfmerge/files/</Url> <Name>version</Name> </UrlVariable> </value> </item> </Variables> <ExecuteCommand /> <ExecutePreCommand /> <Category>Test</Category> <SourceType>FixedUrl</SourceType> <PreviousLocation /> <DeletePreviousFile>false</DeletePreviousFile> <Enabled>true</Enabled> <FileHippoId /> <LastUpdated xsi:nil="true" /> <TargetPath>{target}\{category}\{appname:replace: :_}_v{version:replace: :_}.{url:ext}</TargetPath> <FixedDownloadUrl>http://sourceforge.net/projects/pdfmerge/files/pdfmerge/PdfMerge_{version}.zip/download</FixedDownloadUrl> <Name>PdfMerge</Name> </ApplicationJob> </Jobs> Pay close attention to the fixed download url... I have not tried this approach with my other SF apps as I don't have the time right now, but it would be marvelous if this works with ALL of them. Link to comment Share on other sites More sharing options...
FranciscoR Posted July 9, 2009 Author Report Share Posted July 9, 2009 (edited) If i were you i would use the url: 'http://downloads.sourceforge.net/sourceforge/portableapps/OpenOfficePortable_3.1.0_English.paf.exe' just before that. But dl paths seem more easy then ever, so i would say a sf.net template is no longer needed. From now on we can use Flo's procedure Example 3: Monitor Firefox to download and update SF jobs. Expect this to work for 90% of jobs - changes in filename are not supported as obvious. Edited July 10, 2009 by FranciscoR Link to comment Share on other sites More sharing options...
shawn Posted May 30, 2010 Report Share Posted May 30, 2010 I was using a very similar method to the "url: 'http://downloads.sourceforge.net/....exe'" method detailed above, but the problem is that it only publishes this information for the most recent download, which might be a beta. If you don't want the betas, this is bad. 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