Jump to content
Ketarin forum

u2111

Members
  • Posts

    16
  • Joined

  • Last visited

u2111's Achievements

Newbie

Newbie (1/14)

  1. Update to use variable in website field (require 1.6) and correct version detection.
  2. Thank you Will you document this property / is there other properties like this ?
  3. So .. I'm not sure to understand the change :/
  4. 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).
  5. Does your solution rely on a single & defined mirror ?
  6. You should probably always use start "" /wait [...] This solve problemes with path having spaces and/or quotes.
  7. My way only require the app name, and will also populate the entire thing itself . So I'm keeping mine.
  8. 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.
  9. The idea is to have an editable global User Agent, not a per application User Agent. Like the DownloadBeta option.
  10. 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 ?
  11. 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 ?
  12. 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.
  13. 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.
×
×
  • 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.