floele Posted September 18, 2010 Report Share Posted September 18, 2010 New release: Please play a bit with the "Install" button. The application selection dialog is almost finished, only the "Add", "Remove" and "Selection" buttons are not yet implemented. Does it "feel" right? Also, is the "Install" button still misaligned? Apart from that, I made the following changes: +Custom user agents (per application) *Made application dialog resizable !Fixed: Uri parser removes "." incorrectly http://ketarin.org/downloads/Ketarin/Ketarin-1.5.0.a2.zip Link to comment Share on other sites More sharing options...
Omniferum Posted September 19, 2010 Report Share Posted September 19, 2010 Install button is misaligned, only when old jobs.db is put into the folder. If you export old jobs.db to an .xml and then drag and drop it into the new Ketarin the install button doesn't change. If you then move the jobs.db generated in the appdata to the Ketarin program folder Install button is still fine. My setup is running ketarin as a portable app so the db is in the program folder, moving it straight to the new ketarin program folder is what causes the problem. Workaround is simple. The install dialogue is perfectly fine, the ability to create a new 'list' to pre-define installs is a nice touch. Would like the ability to just use batch script for the setup instructions Will the new 'list' function be something we can sort programs by with custom column function? I would assume so. Link to comment Share on other sites More sharing options...
CybTekSol Posted September 19, 2010 Report Share Posted September 19, 2010 Install-button is misaligned as I toggle the 'status bar' on/off Flo... but all else is lookin' good! Link to comment Share on other sites More sharing options...
floele Posted September 19, 2010 Author Report Share Posted September 19, 2010 Oh...the status bar. OK, that makes sense now Thanks. The lists are so far only available for setup purposes, but they might be used elsewhere in the future. Link to comment Share on other sites More sharing options...
Tomorrow Posted September 19, 2010 Report Share Posted September 19, 2010 (edited) The install button is misaligned only if i enable status bar.If not then it's exactly where it should be. This happens with empty/fresh jobs.db Btw:Totally love that app window is now resizeable.Thank you for implementing this EDIT2: Moving beta versions to first tab in app window seems more logical indeed. Wondering about specifying user agents - where could this be useful?.I can almost remember but not quite. EDIT3: Help-About still shows version number as 1.1.4.344 for me. Edited September 19, 2010 by Tomorrow Link to comment Share on other sites More sharing options...
floele Posted September 19, 2010 Author Report Share Posted September 19, 2010 appyface has a problem with the Java website. It seems to check for some WOW64 string in the UA I believe and displays varying contents. Link to comment Share on other sites More sharing options...
CybTekSol Posted September 19, 2010 Report Share Posted September 19, 2010 !Fixed: Uri parser removes "." incorrectly YES... YES... YES... I have just verified that Ketarin WILL download Firefox Portable and Thunderbird Portable successfully without corruption. GOOD WORK FLO!! Link to comment Share on other sites More sharing options...
Tomorrow Posted September 19, 2010 Report Share Posted September 19, 2010 appyface has a problem with the Java website. It seems to check for some WOW64 string in the UA I believe and displays varying contents. I see.I use Filehippo for Java but Sun website certanly has more downloads so i can understand why someone would use it. How did Ketarin appear until this?.Did it use some generic UA? Link to comment Share on other sites More sharing options...
CybTekSol Posted September 19, 2010 Report Share Posted September 19, 2010 appyface has a problem with the Java website. 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. Link to comment Share on other sites More sharing options...
shawn Posted September 19, 2010 Report Share Posted September 19, 2010 re: user-agents, some sites behave very differently depending on the user-agent. All Adobe sites under get.adobe.com, for example, but I, too, change output on some of my sites based on the user-agent. Flo - can you add a checkbox/feature to return empty string when there isn't a match in a variable assignment? Link to comment Share on other sites More sharing options...
floele Posted September 19, 2010 Author Report Share Posted September 19, 2010 Did it use some generic UA? More or less random, yep. Flo - can you add a checkbox/feature to return empty string when there isn't a match in a variable assignment? Hm...would be difficult to implement. In what kind of situation would you need that? Link to comment Share on other sites More sharing options...
Omniferum Posted September 19, 2010 Report Share Posted September 19, 2010 !Fixed: Uri parser removes "." incorrectly YES... YES... YES... I have just verified that Ketarin WILL download Firefox Portable and Thunderbird Portable successfully without corruption. GOOD WORK FLO!! Really? I still get corruption using this new alpha build with a straight URL and the refer. Nothing else placed in the Ketarin. Care to share your setup? i've been dying to get those last two bastards working Link to comment Share on other sites More sharing options...
CybTekSol Posted September 20, 2010 Report Share Posted September 20, 2010 Care to share your setup? i've been dying to get those last two bastards working 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> Link to comment Share on other sites More sharing options...
Omniferum Posted September 20, 2010 Report Share Posted September 20, 2010 Ah, found the problem. It is my mirror that gives me the corrupt file, changing it to anything else and it works fine. Yay for silly mirror, the mirror was transact if anyone cares for the knowledge. jaist or surfnet work fine. Link to comment Share on other sites More sharing options...
shawn Posted September 20, 2010 Report Share Posted September 20, 2010 Flo - can you add a checkbox/feature to return empty string when there isn't a match in a variable assignment? Hm...would be difficult to implement. In what kind of situation would you need that For example, if there isn't a regex match for a {version} check, instead of returning an empty string, it returns the entire content of the page. If I use the version variable in my filenames (as I always do), then the download fails because of forbidden characters (<!DOCTYPE ...) in the filename. Link to comment Share on other sites More sharing options...
floele Posted September 20, 2010 Author Report Share Posted September 20, 2010 So you actually refer to the Regex matching the content, not the fact whether or not a variable exists? Link to comment Share on other sites More sharing options...
CybTekSol Posted September 20, 2010 Report Share Posted September 20, 2010 How would one know that the app entry needs to be tweaked if this is implemented other than logs or apps saved without version info? Link to comment Share on other sites More sharing options...
floele Posted September 21, 2010 Author Report Share Posted September 21, 2010 How would one know that the app entry needs to be tweaked if this is implemented other than logs or apps saved without version info? At what is that question directed? I don't quite understand what you are trying to tell (me?). Link to comment Share on other sites More sharing options...
CybTekSol Posted September 21, 2010 Report Share Posted September 21, 2010 How would one know that the app entry needs to be tweaked if this is implemented other than logs or apps saved without version info? At what is that question directed? I don't quite understand what you are trying to tell (me?). It is in reference to this: Flo - can you add a checkbox/feature to return empty string when there isn't a match in a variable assignment? For example' date=' if there isn't a regex match for a {version} check, instead of returning an empty string, it returns the entire content of the page. If I use the version variable in my filenames (as I always do), then the download fails because of forbidden characters (<!DOCTYPE ...) in the filename.[/quote'] Link to comment Share on other sites More sharing options...
floele Posted September 22, 2010 Author Report Share Posted September 22, 2010 Ah, I see. This behaviour has already been changed in alpha 3. Link to comment Share on other sites More sharing options...
CybTekSol Posted September 23, 2010 Report Share Posted September 23, 2010 Ah, I see. This behaviour has already been changed in alpha 3. So... Ketarin will download an app without version info if the version scrape fails without complaining? Link to comment Share on other sites More sharing options...
josh Posted September 23, 2010 Report Share Posted September 23, 2010 +Custom user agents (per application) Exactly what strings can we use / what is string format, thanks... Link to comment Share on other sites More sharing options...
floele Posted September 23, 2010 Author Report Share Posted September 23, 2010 So... Ketarin will download an app without version info if the version scrape fails without complaining? Nope, it will only return an empty string instead of the full website if the regex does not match. Exactly what strings can we use / what is string format, thanks... Anything. Choose one: http://www.user-agents.org/ Link to comment Share on other sites More sharing options...
shawn Posted September 26, 2010 Report Share Posted September 26, 2010 So you actually refer to the Regex matching the content, not the fact whether or not a variable exists? Yes. I haven't had a chance to test it yet, but what you describe above is exactly what I'm after. Link to comment Share on other sites More sharing options...
shawn Posted September 26, 2010 Report Share Posted September 26, 2010 How would one know that the app entry needs to be tweaked if this is implemented other than logs or apps saved without version info? I have {version} as a custom column indicator, so even before the errors are raised for a job, I can tell immediately that those returning "<!DOCTYPE..." are broken, one way or another. Under the "blank" option, these fields would return empty, so the {version} column would be blank. Simple enough to find and resolve. Assuming resolution is possible. 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