FranciscoR Posted February 28, 2009 Report Share Posted February 28, 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><placeholder name="Check for updates only ?" value="false" options="true" /></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>(?-s:(\d+(?:\.\d+)+.*?|\d b[a-z]* ?\d+|\d+ sp\w+|r\d+)(?= ?(?:download|[<\[\]]))|(?-s:20\d\d-\d\d-\d\d))</Regex> <Url><placeholder name="Application Page URL" /></Url> <Name>version</Name> </UrlVariable> </value> </item> <item> <key> <string>redir</string> </key> <value> <UrlVariable> <RegexRightToLeft>false</RegexRightToLeft> <VariableType>RegularExpression</VariableType> <Regex>(?-s:(http://[^"]+|href="downloadget[^"]+)".+{value:regexreplace:(USA ?\d?):\|$1\|})</Regex> <Url><placeholder name="Application Page URL" /></Url> <Name>redir</Name> </UrlVariable> </value> </item> <item> <key> <string>value</string> </key> <value> <UrlVariable> <RegexRightToLeft>false</RegexRightToLeft> <VariableType>Textual</VariableType> <Regex /> <TextualContent><placeholder name="Choose a mirror (enter one of the available options)" value="USA" options="Author's Site|USA|USA 2|Internode|Authors Site" /></TextualContent> <Name>value</Name> </UrlVariable> </value> </item> <item> <key> <string>durl</string> </key> <value> <UrlVariable> <RegexRightToLeft>false</RegexRightToLeft> <VariableType>RegularExpression</VariableType> <Regex>((?:URL\=downloadget\d|files\d\.majorgeeks\.com/files/|(?:www\.)?majorgeeks\.com/downloadget)[^"]+)"</Regex> <Url>{redir:regexreplace:href="downloadget([^"]+):http\\://majorgeeks.com/downloadget$1}</Url> <Name>durl</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> <PreviousLocation /> <DeletePreviousFile>false</DeletePreviousFile> <Enabled>true</Enabled> <FileHippoId /> <TargetPath>{target}\{category}\<placeholder name="Rename convention" value="{appname:replace:MG_:}_{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>http://{durl:replace:URL=downloadget:majorgeeks.com/downloadget}</FixedDownloadUrl> <Name>MG_<placeholder name="Application Name" /></Name> </ApplicationJob> </Jobs> Note: Insert info as prompted. Known limitations: I was unable to DL Kaspersky AVP. How to import a template. Edited December 28, 2011 by floele Link to comment Share on other sites More sharing options...
CybTekSol Posted March 3, 2009 Report Share Posted March 3, 2009 @CybTekSol: for me MG {redir} is tricky, increases update timmings and has the major limitation of allowing you to use only 1 mirror/app. So yeah, I choose to use a different method.You don't have to apologize to me for YOUR personal preferences... that's the beauty of Ketarin... it is powerful enough to give one freedom in how a task is accomplished! I DO LIKE your regex for the {version} scrape... it worked better than mine in my existing apps, so I have already implemented it in my local template. Do you mind if I add this regex to my posted MajorGeeks.com template if I give you credit for it within the post as I believe it would be more reliable a scrape for future users of my template? BTW... THANKS for your input and participation in the forum while I was away! Link to comment Share on other sites More sharing options...
FranciscoR Posted March 3, 2009 Author Report Share Posted March 3, 2009 I'm not apologizing, footnote for me is more a template "memo". Go ahead, fine by me. I'm happy you're doing well again. Link to comment Share on other sites More sharing options...
CybTekSol Posted March 4, 2009 Report Share Posted March 4, 2009 Go ahead, fine by me. I'm happy you're doing well again. THANKS... on BOTH counts! I have updated my MajorGeeks.com template to reflect your improvement of the {version} scrape and a few other minor tweaks. BTW... I'm about half way mended which is enough to get me back to work! WoooHooo! Link to comment Share on other sites More sharing options...
Stalker Posted April 29, 2009 Report Share Posted April 29, 2009 You have a typo in the template. > is missing after / to close placeholder tag in the following line: <TargetPath><placeholder name="TargetPath" value="{target}\{category}\{appname}_{version}.{url:ext}" /</TargetPath> Link to comment Share on other sites More sharing options...
FranciscoR Posted April 29, 2009 Author Report Share Posted April 29, 2009 Thanks, I fixed it. Link to comment Share on other sites More sharing options...
JedMeister Posted May 18, 2009 Report Share Posted May 18, 2009 Thanks for this template. The Internode (Australian) mirror works really well for me! Link to comment Share on other sites More sharing options...
FranciscoR Posted May 19, 2009 Author Report Share Posted May 19, 2009 You're welcome, if i recall the specifics, i had problems updating using the FTP mirror. But after the latest incident with MG server and until they catchup all apps (site is a complete mess for the moment), i'm not sure if i would use this template. Personally i have disabled all my MG jobs, looking forward to see how they are going to manage this issue and update template if necessary. See details on problem here: http://ketarin.canneverbe.com/forum/viewtopic.php?id=307 Link to comment Share on other sites More sharing options...
JedMeister Posted May 20, 2009 Report Share Posted May 20, 2009 Oh that sucks I've only been using the Internode mirror as I'm in Aust and looking to swap ISP to Internode very soon. As all Internode mirrored content doesn't count towards download quota I was really happy to get this template working and have been in the process of swapping almost all available app downloads to MG using your template. Wish I'd saved my settings from before I did that! Oh well. Hopefully they get it all back up to speed real soon! Thanks for the heads up FrancisoR! Link to comment Share on other sites More sharing options...
Guest Stephen Posted December 26, 2011 Report Share Posted December 26, 2011 Can anyone verify that this still works? I just tried to upload it and it failed due to a "\" in position 93 on line 21. I'm probably doing something wrong. I've never tried a template before, but it would be really helpful to have one for MajorGeeks.Thanks. Link to comment Share on other sites More sharing options...
floele Posted December 28, 2011 Report Share Posted December 28, 2011 Just fixed the XML. Link to comment Share on other sites More sharing options...
Etz Posted May 14, 2013 Report Share Posted May 14, 2013 Wont work anymore, they rebuilt whole website... Link to comment Share on other sites More sharing options...
Guest cg Posted May 22, 2013 Report Share Posted May 22, 2013 Wont work anymore, they rebuilt whole website... Oh NO! This was a great template and I have a bunch of MajorGeeks items in Ketarin... Link to comment Share on other sites More sharing options...
shawn Posted May 23, 2013 Report Share Posted May 23, 2013 That's the beauty of Ketarin templates though - as soon as someone is able to update the template to work with the new layout, it'll fix all the MG apps just by importing the new template. Wish I had the time to do it myself. Link to comment Share on other sites More sharing options...
Etz Posted May 26, 2013 Report Share Posted May 26, 2013 You can probably forget about that site ketarin wise. They are using PHP session id´s now... Link to comment Share on other sites More sharing options...
Etz Posted October 11, 2013 Report Share Posted October 11, 2013 ... 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