Jump to content
Ketarin forum

Ketarin 1.5 alpha 2


floele
 Share

Recommended Posts

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

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

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 :D

 

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 by Tomorrow
Link to comment
Share on other sites

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

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

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

!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

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

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

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

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

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

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • 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.