Jump to content
Ketarin forum

CybTekSol

Members
  • Posts

    729
  • Joined

  • Last visited

Everything posted by CybTekSol

  1. These are based on what I am doing... and they worked tonight... your 'mileage may vary'. Make sure you are using Ketarin version 1.5.0.a2... Both are English versions... modify to suit your needs. Mozilla Firefox Portable (English): <?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"> <IgnoreFileInformation>false</IgnoreFileInformation> <DownloadBeta>Default</DownloadBeta> <DownloadDate xsi:nil="true" /> <CheckForUpdatesOnly>false</CheckForUpdatesOnly> <VariableChangeIndicator>{version}</VariableChangeIndicator> <CanBeShared>true</CanBeShared> <ShareApplication>false</ShareApplication> <ExclusiveDownload>false</ExclusiveDownload> <HttpReferer>http://sourceforge.net</HttpReferer> <Variables> <item> <key> <string>version</string> </key> <value> <UrlVariable> <RegexRightToLeft>false</RegexRightToLeft> <VariableType>RegularExpression</VariableType> <Regex>(?<=\>English\<.*?)(?:\>)(\d.*?\d)(?:<)</Regex> <Url>http://portableapps.com/apps/internet/firefox_portable/localization</Url> <Name>version</Name> </UrlVariable> </value> </item> </Variables> <ExecuteCommand /> <ExecutePreCommand /> <Category>Portable\Internet\Web Browsers</Category> <SourceType>FixedUrl</SourceType> <DeletePreviousFile>true</DeletePreviousFile> <Enabled>true</Enabled> <FileHippoId /> <TargetPath>{target}\{category}\Mozilla_Firefox_Portable_v{version:replace: :_}_English.paf.{url:ext}</TargetPath> <FixedDownloadUrl>http://hivelocity.dl.sourceforge.net/project/portableapps/Mozilla%20Firefox%2C%20Portable%20Ed./Mozilla%20Firefox%2C%20Portable%20Edition%20{version}/FirefoxPortable_{version}_English.paf.exe</FixedDownloadUrl> <Name>Mozilla Firefox Portable Edition (PortableApps.com)</Name> </ApplicationJob> </Jobs> and Mozilla Thunderbird Portable (English): <?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="fc8bd305-2651-4ca5-bb63-56265e0e880a"> <IgnoreFileInformation>false</IgnoreFileInformation> <DownloadBeta>Default</DownloadBeta> <DownloadDate xsi:nil="true" /> <CheckForUpdatesOnly>false</CheckForUpdatesOnly> <VariableChangeIndicator>{version}</VariableChangeIndicator> <CanBeShared>true</CanBeShared> <ShareApplication>false</ShareApplication> <ExclusiveDownload>false</ExclusiveDownload> <HttpReferer>http://sourceforge.net</HttpReferer> <Variables> <item> <key> <string>version</string> </key> <value> <UrlVariable> <RegexRightToLeft>false</RegexRightToLeft> <VariableType>RegularExpression</VariableType> <Regex>(?<=\>Download.*?)(?:\s)(\d.*?\d)(?:<)</Regex> <Url>http://portableapps.com/apps/internet/thunderbird_portable</Url> <Name>version</Name> </UrlVariable> </value> </item> </Variables> <ExecuteCommand /> <ExecutePreCommand /> <Category>Portable\Internet\E-Mail Clients</Category> <SourceType>FixedUrl</SourceType> <DeletePreviousFile>true</DeletePreviousFile> <Enabled>true</Enabled> <FileHippoId /> <TargetPath>{target}\{category}\Mozilla_Thunderbird_Portable_v{version:replace: :_}_English.paf.{url:ext}</TargetPath> <FixedDownloadUrl>http://surfnet.dl.sourceforge.net/project/portableapps/Mozilla%20Thunderbird%2C%20P.E./Mozilla%20Thunderbird%2C%20Portable%20Edition%20{version}/ThunderbirdPortable_{version}_English.paf.exe</FixedDownloadUrl> <Name>Mozilla Thunderbird Portable Edition (PortableApps.com)</Name> </ApplicationJob> </Jobs>
  2. Stay safe and HAVE A GREAT TIME Flo!! As busy as you have been... you've definitely earned it.
  3. Mine were left over from early last year Flo before we decided on the version regex for Ketarin code, just haven't bothered to edit them and had forgotten that it compensates for the avoid vs. download always selection. As a result, all Tomorrow will have to do is delete the start/end selection and the erroneously versioned download and all should be well... eeh?
  4. Yes indeed... a template could be developed rather easily I believe to do exactly what you are describing. I'll do some experimenting this week as time permits. The best option would be if Flo could address this issue in Ketarin's code though. Addendum: A QUICK FIX would be to make sure you have them both set to AVOID beta versions and capture the stable version's {version} variable using these regex strings: (?<=Old\sVersions.*?uTorrent\s)(\d+[\.\d+]+?\sBuild\s\d+)(?=\<) (?<=Old\sVersions.*?Flash\sPlayer\s)(\d+[\.\d+]+?)(?=\s\(Non-IE\)) I think you will have to delete the latest downloads that are betas and try to see if this is a solution.
  5. I researched the problem, changed and tested my SP template... then selected all 87 of my SP apps through search and exported their XML, performed a global search and replace, manually inspected the altered XML, imported the altered XML and kept on 'gettin up'. Yes Flo, that mechanism would be more convenient... in due time... in due time. lol
  6. There is another site that presents a 'user-agent' issue as well. I stumbled upon it months ago and gave up... rare but it does occur.
  7. YES... YES... YES... I have just verified that Ketarin WILL download Firefox Portable and Thunderbird Portable successfully without corruption. GOOD WORK FLO!!
  8. @Shawn, I believe Zane is asking you to adjust your template to catch DVDFlick as well as the other apps he downloads from SF as he rejected my adjustment to your template above. Notice the reference to your final SF template in the post above... although I am well aware there is no such thing as a final template for any site. As sites change, so must templates!
  9. @allanc, This is a working version of the SoftPedia template you posted which incorporates a redirect to accommodate their site changes: <?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" /></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>(??<=\<title\>Download.*?(?:.*?\/){<placeholder name="Version match group ? (for 'Firefox 3.5 Beta 4 / 3.0.10 / 2.0.0.20 / 1.5.0.12' use 0 for '3.5 Beta 4', 1 for '3.0.10' and so on)" value="0" options="0|1|2|3" />}\s)(\d+(?:\.\d+)+?(?:.*?){<placeholder name="Version format is 1.x.x ? (0 will exclude 'Trials','Betas' and 'Builds' from capture)" value="1" options="0|1" />})(?=\s[\-\/\[]{<placeholder name="Version format is 1.x.x ? (0 will exclude 'Trials','Betas' and 'Builds' from capture)" />})<placeholder name="Capture date ? (usually not necessary, just delete it)" value="|(?:[a-z]+?\s\d{1,2}[a-z]{2}\,\s\d{4}\,\s\d{2}\:\d{2})(?:\sGMT)?" />)</Regex> <Url><placeholder name="Info Page URL" /></Url> <Name>version</Name> </UrlVariable> </value> </item> <item> <key> <string>linktext</string> </key> <value> <UrlVariable> <RegexRightToLeft>false</RegexRightToLeft> <VariableType>Textual</VariableType> <Regex /> <TextualContent><placeholder name="Download link TEXT (escape ANY regular expressions constructs => 'Softpedia Mirror \(RO\)')" value="External Mirror 1" options="Softpedia Secure Download \(US\)|Softpedia Secure Download \(RO\)|Softpedia Mirror \(US\)|Softpedia Mirror \(RO\)|External Mirror 1|External Mirror 2|External Mirror 3|External Mirror 4|Softpedia Secure Download \(US\) - Beta|Softpedia Secure Download \(RO\) - Beta|Softpedia Mirror \(US\) - Beta|Softpedia Mirror \(RO\) - Beta|External Mirror 1 - Beta|External Mirror 2 - Beta|External Mirror 3 - Beta|External Mirror 4 - Beta" /></TextualContent> <Name>linktext</Name> </UrlVariable> </value> </item> <item> <key> <string>redirect</string> </key> <value> <UrlVariable> <RegexRightToLeft>true</RegexRightToLeft> <VariableType>RegularExpression</VariableType> <Regex>(?<=href\=")(\w+\:\/\/[\w][\w\-?\w.:]+\/?[\w\s\.?=%&=\-/,\)\(]*)(?:".*?{linktext:replace: :[\s]*?}\<)</Regex> <Url><placeholder name="Download Page URL" /></Url> <Name>redirect</Name> </UrlVariable> </value> </item> <item> <key> <string>download_url</string> </key> <value> <UrlVariable> <RegexRightToLeft>false</RegexRightToLeft> <VariableType>RegularExpression</VariableType> <Regex>(?<=\<meta\shttp-equiv="refresh"\scontent="\d;\surl=)[a-z]+://.+?(?=">)</Regex> <Url>{redirect}</Url> <Name>download_url</Name> </UrlVariable> </value> </item> </Variables> <ExecuteCommand /> <ExecutePreCommand /> <Category><placeholder name="Category" value="Test" options="Backup|Benchmark|Clean|Compression|Grep|Internet|Multimedia|Misc|Office|PDF|Recovery|Registry|Scrapbook|Security|Test|Virtualization" /></Category> <SourceType>FixedUrl</SourceType> <DeletePreviousFile>false</DeletePreviousFile> <Enabled>true</Enabled> <FileHippoId /> <LastUpdated xsi:nil="true" /> <TargetPath>{target}\{category}\<placeholder name="Class" options="Diagramming\|Download\|Extensions\|Graphics\|Network\|Notepad\|Plugins\|ScreenCapture\|Test\|Uninstall\|USB\" /><placeholder name="Rename" value="{appname:replace:SP_:}_{version}.{url:ext}" /></TargetPath> <FixedDownloadUrl>{download_url}</FixedDownloadUrl> <Name>SP_<placeholder name="AppName" /></Name> </ApplicationJob> </Jobs> BTW... I believe this is based on FranciscoR's SoftPedia template posted in the 'Templates section'... so if any one else is using that template, this is a working update of it since FranciscoR is not maintaining it.
  10. I need BOTH Flo until I can hone my C# skills as I have been 'batch scripting' a looooonnnnngggg time and much stronger at it. What I would love to see is the the ability to customize the population of the right-click drop-down over the pre and post download windows with pre-defined user batch scripts. They could be under a single cascading entry such as 'Custom' for example. This would be the best of both worlds IMHO.
  11. Install-button is misaligned as I toggle the 'status bar' on/off Flo... but all else is lookin' good!
  12. @appyface, Yes indeed... I recall that thread and have since started using a 'workaround'. I do not edit the regex without first placing a couple of (( or )) depending on whether I am editing the beginning or ending of the regex. This places the regex in an 'unbalanced state' which suspends parsing until I refine and double-check the regex. Then I place the regex back in a 'balanced state'. It works but there has to be a better solution... hopefully Flo can develop one.
  13. Haven't had time to check it out completely Flo... forgive me for being a little behind the power curve on this one.
  14. @allanc, Softpedia is in the process of redesigning their site which includes a redirect for their downloads... it has already broken 81 of my 87 downloads from there today. I have already figured it out and am in the process of correcting my template for SoftPedia and I will post back as soon as it is vetted. Update: Can you post your broken template allanc? If so I will fix it with what I have discovered in testing...
  15. 'Install-button' is out of alignment on my PCs also Flo... no biggie.
  16. Yes... please and maybe 7zip scripts to extract in various ways with/without folder structure... even empty folders, etc. and Universal Extractor scripts... maybe? They could be disabled if paths for the exe are not provided... eeh?
  17. Please address it if you can Flo and maybe I can get FF and TB portable apps downloading.
  18. I just wish my C# skills were on par with my regex skills Flo... this may force me to new horizons.
  19. I've been testing Shawn's SF template Zane to potentially incorporate a few of his ideas into my SF template and it appears the template has run into the infamous '%20' conundrum at SF... so I tweaked your export to adjust for it. Also, remember to always use the actual SF app site to glean info for the template. Try this... <?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="cfb5ced9-48d0-442c-8cb2-67443f19ef1c"> <WebsiteUrl>{swebsite}</WebsiteUrl> <UserNotes /> <LastFileSize>0</LastFileSize> <LastFileDate xsi:nil="true" /> <IgnoreFileInformation>false</IgnoreFileInformation> <DownloadBeta>Default</DownloadBeta> <DownloadDate xsi:nil="true" /> <CheckForUpdatesOnly>false</CheckForUpdatesOnly> <VariableChangeIndicator>{version}</VariableChangeIndicator> <CanBeShared>true</CanBeShared> <ShareApplication>false</ShareApplication> <ExclusiveDownload>false</ExclusiveDownload> <HttpReferer>http://sourceforge.net/</HttpReferer> <Variables> <item> <key> <string>sftag</string> </key> <value> <UrlVariable> <RegexRightToLeft>false</RegexRightToLeft> <VariableType>Textual</VariableType> <Regex /> <TextualContent>dvdflick</TextualContent> <Name>sftag</Name> </UrlVariable> </value> </item> <item> <key> <string>version</string> </key> <value> <UrlVariable> <RegexRightToLeft>false</RegexRightToLeft> <VariableType>RegularExpression</VariableType> <Regex>/projects?/[^\s]+%20v?([\d\.]+)[_\./\s]</Regex> <Url>http://sourceforge.net/projects/{sftag}/files/</Url> <Name>version</Name> </UrlVariable> </value> </item> <item> <key> <string>filepath</string> </key> <value> <UrlVariable> <RegexRightToLeft>false</RegexRightToLeft> <VariableType>Textual</VariableType> <Regex /> <TextualContent>DVD%20Flick</TextualContent> <Name>filepath</Name> </UrlVariable> </value> </item> <item> <key> <string>filestart</string> </key> <value> <UrlVariable> <RegexRightToLeft>false</RegexRightToLeft> <VariableType>Textual</VariableType> <Regex /> <TextualContent>dvdflick</TextualContent> <Name>filestart</Name> </UrlVariable> </value> </item> <item> <key> <string>filemiddle</string> </key> <value> <UrlVariable> <RegexRightToLeft>false</RegexRightToLeft> <VariableType>Textual</VariableType> <Regex /> <TextualContent>setup</TextualContent> <Name>filemiddle</Name> </UrlVariable> </value> </item> <item> <key> <string>fileend</string> </key> <value> <UrlVariable> <RegexRightToLeft>false</RegexRightToLeft> <VariableType>Textual</VariableType> <Regex /> <TextualContent>{version}</TextualContent> <Name>fileend</Name> </UrlVariable> </value> </item> <item> <key> <string>fileext</string> </key> <value> <UrlVariable> <RegexRightToLeft>false</RegexRightToLeft> <VariableType>Textual</VariableType> <Regex /> <TextualContent>exe</TextualContent> <Name>fileext</Name> </UrlVariable> </value> </item> <item> <key> <string>filepattern</string> </key> <value> <UrlVariable> <RegexRightToLeft>false</RegexRightToLeft> <VariableType>RegularExpression</VariableType> <Regex>/projects?/{sftag}/([^'"]*{filepath}[^'"]*[^'"/\?&]*({version}/)?{filestart}[^'"/]+{filemiddle}[^'"/]+{fileend}[^'"/\?&]*\.{fileext}[^'"/\?&]*)['"/\?&]</Regex> <Url>http://sourceforge.net/projects/{sftag}/files/{filepath}</Url> <TextualContent /> <Name>filepattern</Name> </UrlVariable> </value> </item> <item> <key> <string>sdownload</string> </key> <value> <UrlVariable> <RegexRightToLeft>false</RegexRightToLeft> <VariableType>Textual</VariableType> <Regex /> <TextualContent>http://downloads.sourceforge.net/{sftag}/{filepattern}?download</TextualContent> <Name>sdownload</Name> </UrlVariable> </value> </item> <item> <key> <string>groupid</string> </key> <value> <UrlVariable> <RegexRightToLeft>false</RegexRightToLeft> <VariableType>RegularExpression</VariableType> <Regex>\?group_id=([\d]+)</Regex> <Url>http://sourceforge.net/projects/{sftag}/</Url> <Name>groupid</Name> </UrlVariable> </value> </item> <item> <key> <string>swebsite</string> </key> <value> <UrlVariable> <RegexRightToLeft>false</RegexRightToLeft> <VariableType>Textual</VariableType> <Regex /> <TextualContent>http://sourceforge.net/projects/{sftag}/</TextualContent> <Name>swebsite</Name> </UrlVariable> </value> </item> <item> <key> <string>schangelog</string> </key> <value> <UrlVariable> <RegexRightToLeft>false</RegexRightToLeft> <VariableType>Textual</VariableType> <Regex /> <TextualContent>http://sourceforge.net/news/?group_id={groupid}</TextualContent> <Name>schangelog</Name> </UrlVariable> </value> </item> <item> <key> <string>snotes</string> </key> <value> <UrlVariable> <RegexRightToLeft>false</RegexRightToLeft> <VariableType>Textual</VariableType> <Regex /> <TextualContent /> <Name>snotes</Name> </UrlVariable> </value> </item> </Variables> <ExecuteCommand /> <ExecutePreCommand /> <Category>ripping</Category> <SourceType>FixedUrl</SourceType> <PreviousLocation /> <DeletePreviousFile>true</DeletePreviousFile> <Enabled>true</Enabled> <FileHippoId /> <LastUpdated xsi:nil="true" /> <TargetPath>{root}Software\[CAT] Multimedia\DVD Flick\DVD Flick.{url:ext}</TargetPath> <FixedDownloadUrl>{sdownload}</FixedDownloadUrl> <Name>DVD Flick (32-64 bit) from templates</Name> </ApplicationJob> </Jobs> This may not be the approach for tweaking and inputs that Shawn would have advised... but it works in the interim.
  20. Hey shawn... I'm going to play around with SyncAid if you don't mind. I may have an occasion to use it. Do you have any other configuration files for 'unrepentant technogeeks' like me? BTW... I use to capture all Nirsoft and Sysinternals apps until I found 'Windows System Control Center' from KLS Soft. It is a portable gui for them and keeps them updated for you. It has become one of my favorites... give it a try.
  21. It is strange indeed that these two PortableApps.com apps at SF seem to be the ONLY ones that are give me problems. I am getting tired of manually downloading them for clients.
  22. I'm salivating Flo... my 'Custom Ketarin Tech-Tools Thumb Drive' will be the first 'redo' project on my agenda!!
  23. You know I'm a "context menu junkie" Flo and use it all the time... how about a context menu entry for both 'Update selected' and 'Update all' and name the bottom button 'Update all'. That's my vote anyway.
  24. I can hardly wait to see what you come up with Flo.
×
×
  • 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.