u2111
Members-
Posts
16 -
Joined
-
Last visited
u2111's Achievements
Newbie (1/14)
-
Update to use variable in website field (require 1.6) and correct version detection.
-
Thank you Will you document this property / is there other properties like this ?
-
So .. I'm not sure to understand the change :/
-
I'm not sure about this, but I already noticed (and someone else on the forum) that all files are not on all mirors, that's why I left this solution (and for the reliability).
-
Not included (?)
-
Support variable as a website for application.
u2111 replied to Tomorrow's topic in Feature requests
+1 http://www.piriform.com/{appname:tolower} -
Does your solution rely on a single & defined mirror ?
-
Easiest way to install Binaries or Executables
u2111 replied to Omniferum's topic in Tips and Tutorials
You should probably always use start "" /wait [...] This solve problemes with path having spaces and/or quotes. -
My way only require the app name, and will also populate the entire thing itself . So I'm keeping mine.
-
Global&Default UserAgent (+ketarin-version variable)
u2111 replied to u2111's topic in Feature requests
But I'm already using template, and I don't think that's their role. Empty User Agent in app = use the default global User agent Empty User agent in global settings = use the default internal User agent That should be the behaviour IMHO. -
Global&Default UserAgent (+ketarin-version variable)
u2111 replied to u2111's topic in Feature requests
The idea is to have an editable global User Agent, not a per application User Agent. Like the DownloadBeta option. -
Here's a template to keep updated Piriform portable apps, which only require app name and 7zip/7za somewhere to extract application. Website URL field require v1.6, else you can use this instead : <WebsiteUrl>http://www.piriform.com/<placeholder name="Lowercase appname" variable="appname:tolower" /></WebsiteUrl> It include a Guid (prototype template).* Globals : ketarin-version=1.6.0.400 7za=..\7-Zip\7za.exe Template : <?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="dffa70a5-b3bf-4cc6-8d1c-18ee1a8790e2"> <SourceTemplate><![CDATA[]]></SourceTemplate> <WebsiteUrl>http://www.piriform.com/{appname:tolower}</WebsiteUrl> <UserAgent>Ketarin/{ketarin-version}</UserAgent> <UserNotes /> <LastFileSize>0</LastFileSize> <LastFileDate xsi:nil="true" /> <IgnoreFileInformation>true</IgnoreFileInformation> <DownloadBeta>Default</DownloadBeta> <CheckForUpdatesOnly>false</CheckForUpdatesOnly> <VariableChangeIndicator>version</VariableChangeIndicator> <CanBeShared>true</CanBeShared> <ShareApplication>false</ShareApplication> <ExclusiveDownload>false</ExclusiveDownload> <HttpReferer /> <SetupInstructions /> <Variables> <item> <key> <string>version</string> </key> <value> <UrlVariable> <RegexRightToLeft>false</RegexRightToLeft> <VariableType>RegularExpression</VariableType> <Regex>Version\s+([0-9.]{2,})</Regex> <Url>http://www.piriform.com/{appname:tolower}/download</Url> <Name>version</Name> </UrlVariable> </value> </item> </Variables> <ExecuteCommand>pushd "{file:directory}" {7za} e -y "{file:filename}" del "{file:filename}" popd</ExecuteCommand> <ExecutePreCommand /> <ExecuteCommandType>Batch</ExecuteCommandType> <ExecutePreCommandType>Batch</ExecutePreCommandType> <Category /> <SourceType>FixedUrl</SourceType> <DeletePreviousFile>true</DeletePreviousFile> <Enabled>true</Enabled> <FileHippoId /> <TargetPath>{root-soft}\{appname}\</TargetPath> <FixedDownloadUrl>http://www.piriform.com/{appname:tolower}/download/portable/downloadfile</FixedDownloadUrl> <Name><placeholder name="Piriform application" /></Name> </ApplicationJob> </Jobs> *: Any way to differentiate topic templates with and without Guid ?
-
Hi, Can we have a new global option that allow to set and replace the default "Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1)" User Agent ? And maybe use "Ketarin/{ketarin-version}" as default User Agent (which works with the largely used SF.net and should with with most website) ? Regards, Alexandre Edit: and {ketarin-version} as new variable ?
-
Yep, actually when you know it, it is really simple. This case is even in the troubleshooting page of the wiki, but maybe it should explicitly point out SF.net.
-
Thanks ! I only tried on this app, but using "Ketarin/{ketarin-version}" with ketarin-version as 1.6.0.400 works too. Is there any way to set a global user agent (not using templates) ? Shouldn't Ketarin prefer this solution (if not already) ? There were a lot of complicated and (most of them) not working solutions, and I missed the simple user agent solution . "Real" UserAgent like "Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.13 (KHTML, like Gecko) Chrome/9.0.597.47 Safari/534.13" isn't working though (that's what I tried). Edit: Tomorrow thanks too.