Jump to content
Ketarin forum

Omniferum

Members
  • Posts

    304
  • Joined

  • Last visited

Everything posted by Omniferum

  1. Hm, think I have narrowed it down to the exit 2 code being the reason for the odd behaviour. My usual battery of tests has now resulted in perfect behaviour when before without fail it would 'lock', all I had to do was delete the exit 2 code. If it stuffs up again i'll post, but my .db has now gone to 5mb where before it couldn't exceed the 1mb mark.
  2. http://www.mediafire.com/?0jm2h84yk8wsgrg Didn't know how to attach anything to our posts (assuming we even can) so i just uploaded it to mediafire. Appreciate the assistance
  3. The only 'new' thing that I utilize that may be aiding in causing this odd behavior is the 'exit 2' command. If nobody has had 'monitor variable for change' command cause any issues before this is the only other thing i've used that hasn't been around for as long as that function. Just trying to help.
  4. Seems to be the most likely case, my .db just keeps growing with each new 'variable change'. I suppose nobody has found this bug before because they've never had their variable change go through so many iterations yet. Nothing to do but the odd .xml export/import and wait for floele to give some insight
  5. Perhaps a per app limit then? or a limit to the variable detection specific?
  6. Think i've identified the problem, everytime there is a variable indicator change my jobs.db increases in size until about 1mb (I want to say 1024kb but it isn't specifically that) and then it stops being able to store anymore so I assume it is just the SQL database size limit. I'm sort of curious because that would suggest that Ketarin stores EVERY variable change which leads to the .db getting full. If this is the case is there a special reason as to why it does this? I wouldn't have thought there to be much value in us retaining every variable change as we would really only need a limited number wouldn't we? between 1 and 5, is there some function in Ketarin that even allows us to access old stored variable changes?
  7. I did do testing with other sites, and to now yes there is difficulty with any site after ~10 variable changes until it becomes 'locked' However i've used another page update checker before with slashdot and it worked perfectly fine regardless of any manual refresh. Worked in the same way, scraped the page source.
  8. Hm, it just happened again on me. I thought i'd try to narrow the issue down slightly and it seems that if the variable changes about 10 times or more for that app it becomes 'locked' to perpetually thinking it is always different. Manually forcing downloads and using a few high traffic sites that changes every couple of minutes confirm this. Can anyone else confirm this for me? Was fixed with an export/import, still a bit annoying to have to do that.
  9. Thought I would share some sites i've done for monitoring web pages. The basics of all this stuff can be found in this thread http://ketarin.canne...opic.php?id=611 DailyTech <?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="3d8b8845-0460-4b5e-9a25-a67dca1cc81d"> <Category>Technology</Category> <WebsiteUrl>http://www.dailytech.com/</WebsiteUrl> <UserAgent /> <UserNotes /> <LastFileSize>0</LastFileSize> <LastFileDate /> <IgnoreFileInformation>true</IgnoreFileInformation> <DownloadBeta>Default</DownloadBeta> <DownloadDate xsi:nil="true" /> <CheckForUpdatesOnly>false</CheckForUpdatesOnly> <VariableChangeIndicator>monitor</VariableChangeIndicator> <CanBeShared>true</CanBeShared> <ShareApplication>false</ShareApplication> <ExclusiveDownload>false</ExclusiveDownload> <HttpReferer /> <SetupInstructions /> <Variables> <item> <key> <string>monitor</string> </key> <value> <UrlVariable> <RegexRightToLeft>false</RegexRightToLeft> <VariableType>RegularExpression</VariableType> <Regex>Latest Headlines.*?([^"']+\.htm)</Regex> <Url>http://www.dailytech.com/</Url> <Name>monitor</Name> </UrlVariable> </value> </item> <item> <key> <string>name</string> </key> <value> <UrlVariable> <RegexRightToLeft>false</RegexRightToLeft> <VariableType>RegularExpression</VariableType> <Regex><title>.*?(\S.*?)\s*</title></Regex> <Url>http://www.dailytech.com/</Url> <Name>name</Name> </UrlVariable> </value> </item> </Variables> <ExecuteCommand /> <ExecutePreCommand>start "{property:WebsiteUrl}" & exit 3</ExecutePreCommand> <ExecuteCommandType>Batch</ExecuteCommandType> <ExecutePreCommandType>Batch</ExecutePreCommandType> <SourceType>FixedUrl</SourceType> <PreviousLocation /> <DeletePreviousFile>true</DeletePreviousFile> <Enabled>true</Enabled> <FileHippoId /> <LastUpdated /> <TargetPath>Web Page Monitoring\{appname:regexreplace:([^a-zA-Z0-9\_]+):-}</TargetPath> <FixedDownloadUrl>https://www.google.com/images/logos/mail_logo.png</FixedDownloadUrl> <Name>DailyTech </Name> </ApplicationJob> </Jobs> Slashdot <?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="558731ba-f774-4785-bf2b-93c089da3193"> <Category>Technology</Category> <WebsiteUrl>http://slashdot.org/</WebsiteUrl> <UserAgent /> <UserNotes /> <LastFileSize>0</LastFileSize> <LastFileDate /> <IgnoreFileInformation>true</IgnoreFileInformation> <DownloadBeta>Default</DownloadBeta> <DownloadDate xsi:nil="true" /> <CheckForUpdatesOnly>false</CheckForUpdatesOnly> <VariableChangeIndicator>monitor</VariableChangeIndicator> <CanBeShared>true</CanBeShared> <ShareApplication>false</ShareApplication> <ExclusiveDownload>false</ExclusiveDownload> <HttpReferer /> <SetupInstructions /> <Variables> <item> <key> <string>monitor</string> </key> <value> <UrlVariable> <RegexRightToLeft>false</RegexRightToLeft> <VariableType>RegularExpression</VariableType> <Regex><h2.*?</span</Regex> <Url>http://slashdot.org/</Url> <Name>monitor</Name> </UrlVariable> </value> </item> <item> <key> <string>name</string> </key> <value> <UrlVariable> <RegexRightToLeft>false</RegexRightToLeft> <VariableType>RegularExpression</VariableType> <Regex><title>.*?(\S.*?)\s*</title></Regex> <Url>http://slashdot.org/</Url> <Name>name</Name> </UrlVariable> </value> </item> </Variables> <ExecuteCommand /> <ExecutePreCommand>start "{property:WebsiteUrl}" & exit 3</ExecutePreCommand> <ExecuteCommandType>Batch</ExecuteCommandType> <ExecutePreCommandType>Batch</ExecutePreCommandType> <SourceType>FixedUrl</SourceType> <PreviousLocation /> <DeletePreviousFile>true</DeletePreviousFile> <Enabled>true</Enabled> <FileHippoId /> <LastUpdated /> <TargetPath>Web Page Monitoring\{appname:regexreplace:([^a-zA-Z0-9\_]+):-}</TargetPath> <FixedDownloadUrl>https://www.google.com/images/logos/mail_logo.png</FixedDownloadUrl> <Name>Slashdot: News for nerds, stuff that matters</Name> </ApplicationJob> </Jobs> HardOCP <?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="c544d164-fdab-46f4-8781-7c4c06d562a4"> <Category>Technology</Category> <WebsiteUrl>http://www.hardocp.com/</WebsiteUrl> <UserAgent /> <UserNotes /> <LastFileSize>0</LastFileSize> <LastFileDate /> <IgnoreFileInformation>true</IgnoreFileInformation> <DownloadBeta>Default</DownloadBeta> <DownloadDate xsi:nil="true" /> <CheckForUpdatesOnly>false</CheckForUpdatesOnly> <VariableChangeIndicator>monitor</VariableChangeIndicator> <CanBeShared>true</CanBeShared> <ShareApplication>false</ShareApplication> <ExclusiveDownload>false</ExclusiveDownload> <HttpReferer /> <SetupInstructions /> <Variables> <item> <key> <string>monitor</string> </key> <value> <UrlVariable> <RegexRightToLeft>false</RegexRightToLeft> <VariableType>RegularExpression</VariableType> <Regex>\[H\]ard News.*?news(.*?)</</Regex> <Url>http://www.hardocp.com/</Url> <Name>monitor</Name> </UrlVariable> </value> </item> <item> <key> <string>name</string> </key> <value> <UrlVariable> <RegexRightToLeft>false</RegexRightToLeft> <VariableType>RegularExpression</VariableType> <Regex><title>.*?(\S.*?)\s*</title></Regex> <Url>http://www.hardocp.com/</Url> <Name>name</Name> </UrlVariable> </value> </item> </Variables> <ExecuteCommand /> <ExecutePreCommand>start "{property:WebsiteUrl}" & exit 3</ExecutePreCommand> <ExecuteCommandType>Batch</ExecuteCommandType> <ExecutePreCommandType>Batch</ExecutePreCommandType> <SourceType>FixedUrl</SourceType> <PreviousLocation /> <DeletePreviousFile>true</DeletePreviousFile> <Enabled>true</Enabled> <FileHippoId /> <LastUpdated /> <TargetPath>Web Page Monitoring\{appname:regexreplace:([^a-zA-Z0-9\_]+):-}</TargetPath> <FixedDownloadUrl>https://www.google.com/images/logos/mail_logo.png</FixedDownloadUrl> <Name>[H]ard|OCP</Name> </ApplicationJob> </Jobs> PennyArcade <?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="a05ccfb6-a2c4-4ede-8637-8373683757d4"> <Category>Web Comics</Category> <WebsiteUrl>http://www.penny-arcade.com/comic/</WebsiteUrl> <UserAgent /> <UserNotes /> <LastFileSize>0</LastFileSize> <LastFileDate /> <IgnoreFileInformation>true</IgnoreFileInformation> <DownloadBeta>Default</DownloadBeta> <DownloadDate xsi:nil="true" /> <CheckForUpdatesOnly>false</CheckForUpdatesOnly> <VariableChangeIndicator>monitor</VariableChangeIndicator> <CanBeShared>true</CanBeShared> <ShareApplication>false</ShareApplication> <ExclusiveDownload>false</ExclusiveDownload> <HttpReferer /> <SetupInstructions /> <Variables> <item> <key> <string>monitor</string> </key> <value> <UrlVariable> <RegexRightToLeft>false</RegexRightToLeft> <VariableType>RegularExpression</VariableType> <Regex>src="([^"']+art\.[^"']+(\....))</Regex> <Url>http://www.penny-arcade.com/comic/</Url> <Name>monitor</Name> </UrlVariable> </value> </item> <item> <key> <string>name</string> </key> <value> <UrlVariable> <RegexRightToLeft>false</RegexRightToLeft> <VariableType>RegularExpression</VariableType> <Regex><title>.*?(\S.*?)\s*</title></Regex> <Url>http://www.penny-arcade.com/comic/</Url> <Name>name</Name> </UrlVariable> </value> </item> </Variables> <ExecuteCommand /> <ExecutePreCommand>start "{property:WebsiteUrl}" & exit 3</ExecutePreCommand> <ExecuteCommandType>Batch</ExecuteCommandType> <ExecutePreCommandType>Batch</ExecutePreCommandType> <SourceType>FixedUrl</SourceType> <PreviousLocation /> <DeletePreviousFile>true</DeletePreviousFile> <Enabled>true</Enabled> <FileHippoId /> <LastUpdated /> <TargetPath>Web Page Monitoring\{appname:regexreplace:([^a-zA-Z0-9\_]+):-}</TargetPath> <FixedDownloadUrl>https://www.google.com/images/logos/mail_logo.png</FixedDownloadUrl> <Name>Penny Arcade!</Name> </ApplicationJob> </Jobs> XKCD <?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="3b7d1eec-b51d-4f86-a82d-8806e6f5fc8e"> <Category>Web Comics</Category> <WebsiteUrl>http://xkcd.com/</WebsiteUrl> <UserAgent /> <UserNotes /> <LastFileSize>0</LastFileSize> <LastFileDate /> <IgnoreFileInformation>true</IgnoreFileInformation> <DownloadBeta>Default</DownloadBeta> <DownloadDate xsi:nil="true" /> <CheckForUpdatesOnly>false</CheckForUpdatesOnly> <VariableChangeIndicator>monitor</VariableChangeIndicator> <CanBeShared>true</CanBeShared> <ShareApplication>false</ShareApplication> <ExclusiveDownload>false</ExclusiveDownload> <HttpReferer /> <SetupInstructions /> <Variables> <item> <key> <string>monitor</string> </key> <value> <UrlVariable> <RegexRightToLeft>false</RegexRightToLeft> <VariableType>RegularExpression</VariableType> <Regex>([^"']+comics[^"']+(\....))</Regex> <Url>http://xkcd.com/</Url> <Name>monitor</Name> </UrlVariable> </value> </item> <item> <key> <string>name</string> </key> <value> <UrlVariable> <RegexRightToLeft>false</RegexRightToLeft> <VariableType>RegularExpression</VariableType> <Regex><title>.*?(\S.*?)\s*</title></Regex> <Url>http://xkcd.com/</Url> <Name>name</Name> </UrlVariable> </value> </item> </Variables> <ExecuteCommand /> <ExecutePreCommand>start "{property:WebsiteUrl}" & exit 3</ExecutePreCommand> <ExecuteCommandType>Batch</ExecuteCommandType> <ExecutePreCommandType>Batch</ExecutePreCommandType> <SourceType>FixedUrl</SourceType> <PreviousLocation /> <DeletePreviousFile>true</DeletePreviousFile> <Enabled>true</Enabled> <FileHippoId /> <LastUpdated /> <TargetPath>Web Page Monitoring\{appname:regexreplace:([^a-zA-Z0-9\_]+):-}</TargetPath> <FixedDownloadUrl>https://www.google.com/images/logos/mail_logo.png</FixedDownloadUrl> <Name>xkcd</Name> </ApplicationJob> </Jobs> Saturday Morning Breakfast Cereal <?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="ee4a21b3-c0bf-4a75-9c57-862854784e5d"> <Category>Web Comics</Category> <WebsiteUrl>http://www.smbc-comics.com/</WebsiteUrl> <UserAgent /> <UserNotes /> <LastFileSize>0</LastFileSize> <LastFileDate /> <IgnoreFileInformation>true</IgnoreFileInformation> <DownloadBeta>Default</DownloadBeta> <DownloadDate xsi:nil="true" /> <CheckForUpdatesOnly>false</CheckForUpdatesOnly> <VariableChangeIndicator>monitor</VariableChangeIndicator> <CanBeShared>true</CanBeShared> <ShareApplication>false</ShareApplication> <ExclusiveDownload>false</ExclusiveDownload> <HttpReferer /> <SetupInstructions /> <Variables> <item> <key> <string>monitor</string> </key> <value> <UrlVariable> <RegexRightToLeft>false</RegexRightToLeft> <VariableType>RegularExpression</VariableType> <Regex><!--FANBASEONLINE-->.*?(comics.*?<br>)</Regex> <Url>http://www.smbc-comics.com/</Url> <Name>monitor</Name> </UrlVariable> </value> </item> <item> <key> <string>name</string> </key> <value> <UrlVariable> <RegexRightToLeft>false</RegexRightToLeft> <VariableType>RegularExpression</VariableType> <Regex><title>.*?(\S.*?)\s*</title></Regex> <Url>http://www.smbc-comics.com/</Url> <Name>name</Name> </UrlVariable> </value> </item> </Variables> <ExecuteCommand /> <ExecutePreCommand>start "{property:WebsiteUrl}" & exit 3</ExecutePreCommand> <ExecuteCommandType>Batch</ExecuteCommandType> <ExecutePreCommandType>Batch</ExecutePreCommandType> <SourceType>FixedUrl</SourceType> <PreviousLocation /> <DeletePreviousFile>true</DeletePreviousFile> <Enabled>true</Enabled> <FileHippoId /> <LastUpdated /> <TargetPath>Web Page Monitoring\{appname:regexreplace:([^a-zA-Z0-9\_]+):-}</TargetPath> <FixedDownloadUrl>https://www.google.com/images/logos/mail_logo.png</FixedDownloadUrl> <Name>Saturday Morning Breakfast Cereal</Name> </ApplicationJob> </Jobs> EDIT Updated the example templates with more recent stuff, the old one's i'm sure still worked but i'd like to see people enjoy ketamon like I do You can even use it to monitor torrent/nzb sites for new stuff. NZBMatrix is compatible with this if you use it, just need your API key (you can find that in your profile and read up on it at the site)
  10. To fix my problem I had to export the entire .db as XML and then delete all the apps in Ketarin and re-import the entire .xml back into Ketarin. However i'm not sure if it isn't going to crap itself again and will have to do this again, does anyone else have any similar problems? I've had problems like this before that I solved just by deleting/re-importing but that seems an odd way to fix things. Could it be .db corruption of some sort?
  11. I'm getting rather strange behaviours from my Ketamon apps in regards to the variable change indicator. For all my other apps this does happen every now and then, it loads when there isn't actually any changes. However slashdot is now continuously saying that the variable is changing everytime I check. Tried adding a User Agent for shits n' giggles but that didn't change much. I don't believe it would actually change page content but what the variable keeps scraping stays consistent. I can load the page in the variable screen ten times and get the same value. I just do a regular update and this keeps going "Yep, it's different". I've even changed the regex around to make it look at other things but it keeps treating it like it has changed. If anyone could give me a hint as to why it keeps going "Yes! This variable value has changed so I will continue with loading everything" I would love ya'll forever. For reference sake this was working fine, with only slight intermittent problems (like with all apps) until today. The site doesn't seem to be having any difficulties. <?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="2862ded8-7f6d-4f6c-821d-f65ba0256e8f"> <SourceTemplate><![CDATA[<?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"> <SourceTemplate><![CDATA[]]]]><![CDATA[></SourceTemplate> <LastFileDate xsi:nil="true" /> <IgnoreFileInformation>false</IgnoreFileInformation> <DownloadBeta>Default</DownloadBeta> <DownloadDate xsi:nil="true" /> <CheckForUpdatesOnly>false</CheckForUpdatesOnly> <VariableChangeIndicator>page</VariableChangeIndicator> <CanBeShared>true</CanBeShared> <ShareApplication>false</ShareApplication> <ExclusiveDownload>false</ExclusiveDownload> <HttpReferer /> <SetupInstructions /> <Variables> <item> <key> <string>monitor</string> </key> <value> <UrlVariable> <RegexRightToLeft>false</RegexRightToLeft> <VariableType>RegularExpression</VariableType> <Regex>.*</Regex> <Url><placeholder name="URL" value="http://slashdot.org/" /></Url> <Name>monitor</Name> </UrlVariable> </value> </item> <item> <key> <string>name</string> </key> <value> <UrlVariable> <RegexRightToLeft>false</RegexRightToLeft> <VariableType>RegularExpression</VariableType> <Regex>title>(.*?)</</Regex> <Url><placeholder name="URL" value="http://slashdot.org/" /></Url> <Name>name</Name> </UrlVariable> </value> </item> <item> <key> <string>page</string> </key> <value> <UrlVariable> <RegexRightToLeft>false</RegexRightToLeft> <VariableType>Textual</VariableType> <Regex /> <Url /> <TextualContent><placeholder name="URL" value="http://slashdot.org/" /></TextualContent> <Name>page</Name> </UrlVariable> </value> </item> </Variables> <ExecuteCommand /> <ExecutePreCommand>start {page} & exit 2</ExecutePreCommand> <ExecuteCommandType>Batch</ExecuteCommandType> <ExecutePreCommandType>Batch</ExecutePreCommandType> <Category>Web Page Monitoring</Category> <SourceType>FixedUrl</SourceType> <PreviousLocation /> <DeletePreviousFile>true</DeletePreviousFile> <Enabled>true</Enabled> <FileHippoId /> <LastUpdated xsi:nil="true" /> <TargetPath>:</TargetPath> <FixedDownloadUrl>https://www.google.com/images/logos/mail_logo.png</FixedDownloadUrl> <Name><placeholder name="Name of application" variable="name" value="Slashdot: News for nerds, stuff that matters" /></Name> </ApplicationJob> </Jobs>]]></SourceTemplate> <WebsiteUrl /> <UserAgent /> <UserNotes /> <LastFileSize>0</LastFileSize> <LastFileDate xsi:nil="true" /> <IgnoreFileInformation>true</IgnoreFileInformation> <DownloadBeta>Default</DownloadBeta> <DownloadDate xsi:nil="true" /> <CheckForUpdatesOnly>false</CheckForUpdatesOnly> <VariableChangeIndicator>monitor</VariableChangeIndicator> <CanBeShared>true</CanBeShared> <ShareApplication>false</ShareApplication> <ExclusiveDownload>false</ExclusiveDownload> <HttpReferer /> <SetupInstructions /> <Variables> <item> <key> <string>monitor</string> </key> <value> <UrlVariable> <RegexRightToLeft>false</RegexRightToLeft> <VariableType>RegularExpression</VariableType> <Regex>datitle">(.*?)</</Regex> <Url>http://slashdot.org/</Url> <Name>monitor</Name> </UrlVariable> </value> </item> <item> <key> <string>name</string> </key> <value> <UrlVariable> <RegexRightToLeft>false</RegexRightToLeft> <VariableType>RegularExpression</VariableType> <Regex><title>.*?(\S.*?)\s*</title></Regex> <Url>http://slashdot.org/</Url> <Name>name</Name> </UrlVariable> </value> </item> <item> <key> <string>page</string> </key> <value> <UrlVariable> <RegexRightToLeft>false</RegexRightToLeft> <VariableType>Textual</VariableType> <Regex /> <Url /> <TextualContent>http://slashdot.org/</TextualContent> <Name>page</Name> </UrlVariable> </value> </item> </Variables> <ExecuteCommand /> <ExecutePreCommand>start {page} & exit 2</ExecutePreCommand> <ExecuteCommandType>Batch</ExecuteCommandType> <ExecutePreCommandType>Batch</ExecutePreCommandType> <Category>Technology</Category> <SourceType>FixedUrl</SourceType> <PreviousLocation /> <DeletePreviousFile>false</DeletePreviousFile> <Enabled>true</Enabled> <FileHippoId /> <LastUpdated xsi:nil="true" /> <TargetPath>,</TargetPath> <FixedDownloadUrl>https://www.google.com/images/logos/mail_logo.png</FixedDownloadUrl> <Name>Slashdot: News for nerds, stuff that matters</Name> </ApplicationJob> </Jobs>
  12. Would be a handy little thing that would help greatly. Could just be a popup saying "You sure you want this? Ketarin has determined it to be an older/very different filename" In the case of the MS search downloads topic in the templates forum it would stop minor errors like that causing any serious trouble.
  13. I didn't look too deeply into this as I never had a problem, however the string provided by the template already includes quotation marks. I remember only having one problem and just added my own without checking if they were included, but i've still been fine to this day except for just right now. But as soon as I update just after the botched attempt it finds the original file fine, google/ms search regardless the results are the same. I believe is a problem with the MS download site more than the search.
  14. Admittedly my previous regex post was a tad long and can be a bit daunting. Regardless this one is a bit simpler. If you want to find the LAST thing that regex can find with its match you need to do the following. .*(allyourregexgoeshere) So using my regex it would look like .*(http[^"'=]+(\.zip|\.rar|\.7z)) This is for web pages that list there downloads with the latest release starting at the bottom rather than the top.
  15. I remember having this problem but putting quotation marks around my mssearch worked fine. Not sure why it isn't working for you, mine is still returning the latest.
  16. I just meant it can indirectly have other benefits as well, my previous suggestion of this was purely for backup purposes. Thought i'd toss other benefits into the ring is all.
  17. Already suggested this, floele wasn't too keen on the idea as such however I do think it is still a decent idea. Would make sharing apps easier if there was a dialogue upon adding an app with global variables etc. etc.
  18. I'm aware some things change wildly by default, I don't use version number checks except for one app (winrar, for reference sake). I mean for other variables that you don't expect to change much, a periodical "This might be wrong, check it out" wouldn't be so bad and makes for troubleshooting easier. That's why it was a per variable/per app type suggestion so not ALL variables are subject to it, just some. Still if it could just be applied to filename, i.e. filename is wildly different from previous one are you sure that it is correct? Y/N? That sort of scenario I think would cover most things whilst being hte simplest implementation.
  19. Here is my DirectX redist app, using shawns awesome template. Works fine, returns the june easily. <?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="b1110941-dbba-4de2-ae7d-e3e70d9e40ca"> <SourceTemplate><![CDATA[<?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"> <Name><placeholder name="Application Name?" value="DirectX Redist" /></Name> <Category><placeholder name="Application Category?" value="" /></Category> <SourceType>FixedUrl</SourceType> <DeletePreviousFile><placeholder name="Delete Previous Version?" value="true" options="false|true" /></DeletePreviousFile> <WebsiteUrl></WebsiteUrl> <UserNotes /> <IgnoreFileInformation>false</IgnoreFileInformation> <DownloadBeta>Default</DownloadBeta> <DownloadDate xsi:nil="true" /> <CheckForUpdatesOnly>false</CheckForUpdatesOnly> <VariableChangeIndicator /> <CanBeShared>true</CanBeShared> <ShareApplication>false</ShareApplication> <ExclusiveDownload>false</ExclusiveDownload> <HttpReferer /> <Variables> <item> <key> <string>mssearch</string> </key> <value> <UrlVariable> <RegexRightToLeft>false</RegexRightToLeft> <VariableType>Textual</VariableType> <Regex /> <TextualContent><placeholder name="What is the search term on MS/Downloads?" value="DirectX Redist" /></TextualContent> <Name>mssearch</Name> </UrlVariable> </value> </item> <item> <key> <string>mskey</string> </key> <value> <UrlVariable> <RegexRightToLeft>false</RegexRightToLeft> <VariableType>RegularExpression</VariableType> <Regex>FamilyID=([a-z\d\-]+)['"&]</Regex> <Url>http://www.microsoft.com/downloads/en/results.aspx?freetext=%22{mssearch}%22&displaylang=en&stype=ss_rr&nr=10&sortCriteria=Date&sortOrder=Descending</Url> <Name>mskey</Name> </UrlVariable> </value> </item> <item> <key> <string>version</string> </key> <value> <UrlVariable> <RegexRightToLeft>false</RegexRightToLeft> <VariableType>RegularExpression</VariableType> <Regex>Version:</div>\s+<div[^>]+>([^<>]+)</div></Regex> <Url>http://www.microsoft.com/downloads/en/details.aspx?displayLang=en&FamilyID={mskey}</Url> <Name>version</Name> </UrlVariable> </value> </item> <item> <key> <string>sdownload</string> </key> <value> <UrlVariable> <RegexRightToLeft>false</RegexRightToLeft> <VariableType>RegularExpression</VariableType> <Regex>onclick="openDownloadWindow\('([^'"]+download[^'"]+)['"]</Regex> <Url>http://www.microsoft.com/downloads/en/details.aspx?displayLang=en&FamilyID={mskey}</Url> <TextualContent>onclick="openDownloadWindow\('([^'"]+download[^'"]+)['"]</TextualContent> <Name>sdownload</Name> </UrlVariable> </value> </item> <item> <key> <string>swebsite</string> </key> <value> <UrlVariable> <RegexRightToLeft>false</RegexRightToLeft> <VariableType>Textual</VariableType> <Regex /> <TextualContent>http://www.microsoft.com/downloads/details.aspx?displaylang=en&FamilyID={mskey}</TextualContent> <Name>swebsite</Name> </UrlVariable> </value> </item> <item> <key> <string>schangelog</string> </key> <value> <UrlVariable> <RegexRightToLeft>false</RegexRightToLeft> <VariableType>Textual</VariableType> <Regex /> <TextualContent /> <Name>schangelog</Name> </UrlVariable> </value> </item> <item> <key> <string>snotes</string> </key> <value> <UrlVariable> <RegexRightToLeft>false</RegexRightToLeft> <VariableType>Textual</VariableType> <Regex /> <Name>snotes</Name> </UrlVariable> </value> </item> </Variables> <ExecuteCommand /> <ExecutePreCommand /> <Enabled>true</Enabled> <FileHippoId /> <TargetPath>.\{category}\{appname:regexreplace:([\s\t\r\n\-\\&]+):_}-{version}.{url:ext}</TargetPath> <FixedDownloadUrl>{sdownload}</FixedDownloadUrl> </ApplicationJob> </Jobs>]]></SourceTemplate> <WebsiteUrl /> <UserAgent /> <UserNotes /> <LastFileSize>0</LastFileSize> <LastFileDate xsi:nil="true" /> <IgnoreFileInformation>false</IgnoreFileInformation> <DownloadBeta>Default</DownloadBeta> <DownloadDate xsi:nil="true" /> <CheckForUpdatesOnly>false</CheckForUpdatesOnly> <VariableChangeIndicator /> <CanBeShared>true</CanBeShared> <ShareApplication>false</ShareApplication> <ExclusiveDownload>false</ExclusiveDownload> <HttpReferer /> <SetupInstructions> <SetupInstruction xsi:type="CustomSetupInstruction"> <Code>{ue} "{file}" "{temppath}{appname:regexreplace: \(.*\):}" "{temppath}{appname:regexreplace: \(.*\):}\dxsetup.exe" /silent</Code> <Type>Batch</Type> </SetupInstruction> </SetupInstructions> <Variables> <item> <key> <string>mssearch</string> </key> <value> <UrlVariable> <RegexRightToLeft>false</RegexRightToLeft> <VariableType>Textual</VariableType> <Regex /> <TextualContent>DirectX Redist</TextualContent> <Name>mssearch</Name> </UrlVariable> </value> </item> <item> <key> <string>mskey</string> </key> <value> <UrlVariable> <RegexRightToLeft>false</RegexRightToLeft> <VariableType>RegularExpression</VariableType> <Regex>FamilyID=([a-z\d\-]+)['"&]</Regex> <Url>http://www.microsoft.com/downloads/en/results.aspx?freetext=%22{mssearch}%22&displaylang=en&stype=ss_rr&nr=10&sortCriteria=Date&sortOrder=Descending</Url> <Name>mskey</Name> </UrlVariable> </value> </item> <item> <key> <string>version</string> </key> <value> <UrlVariable> <RegexRightToLeft>false</RegexRightToLeft> <VariableType>RegularExpression</VariableType> <Regex>Version:</div>\s+<div[^>]+>([^<>]+)</div></Regex> <Url>http://www.microsoft.com/downloads/en/details.aspx?displayLang=en&FamilyID={mskey}</Url> <Name>version</Name> </UrlVariable> </value> </item> <item> <key> <string>sdownload</string> </key> <value> <UrlVariable> <RegexRightToLeft>false</RegexRightToLeft> <VariableType>RegularExpression</VariableType> <Regex>onclick="openDownloadWindow\('([^'"]+download[^'"]+)['"]</Regex> <Url>http://www.microsoft.com/downloads/en/details.aspx?displayLang=en&FamilyID={mskey}</Url> <TextualContent>onclick="openDownloadWindow\('([^'"]+download[^'"]+)['"]</TextualContent> <Name>sdownload</Name> </UrlVariable> </value> </item> <item> <key> <string>swebsite</string> </key> <value> <UrlVariable> <RegexRightToLeft>false</RegexRightToLeft> <VariableType>Textual</VariableType> <Regex /> <TextualContent>http://www.microsoft.com/downloads/details.aspx?displaylang=en&FamilyID={mskey}</TextualContent> <Name>swebsite</Name> </UrlVariable> </value> </item> <item> <key> <string>schangelog</string> </key> <value> <UrlVariable> <RegexRightToLeft>false</RegexRightToLeft> <VariableType>Textual</VariableType> <Regex /> <TextualContent /> <Name>schangelog</Name> </UrlVariable> </value> </item> <item> <key> <string>snotes</string> </key> <value> <UrlVariable> <RegexRightToLeft>false</RegexRightToLeft> <VariableType>Textual</VariableType> <Regex /> <Name>snotes</Name> </UrlVariable> </value> </item> </Variables> <ExecuteCommand>/*This is a comment line, the line below is the C# script. It will run the instructions found in the Setup Tab*/ app.Install(null);</ExecuteCommand> <ExecutePreCommand /> <ExecuteCommandType>CS</ExecuteCommandType> <ExecutePreCommandType>Batch</ExecutePreCommandType> <Category>System</Category> <SourceType>FixedUrl</SourceType> <PreviousLocation>D:\Software\Programs\System\directx_Jun2010_redist.exe</PreviousLocation> <DeletePreviousFile>true</DeletePreviousFile> <Enabled>true</Enabled> <FileHippoId /> <LastUpdated xsi:nil="true" /> <TargetPath>{downloadpath}{category}\</TargetPath> <FixedDownloadUrl>{sdownload}</FixedDownloadUrl> <Name>DirectX Redist</Name> </ApplicationJob> </Jobs>
  20. http://ketarin.canneverbe.com/forum/viewtopic.php?id=607
  21. I've just found a lot of my variables changed wildly and ketarin still returned "Update ok", again I didn't know anything until I went hunting to fix 'one' program and went through every single one to find little faults that stuffed 75% of my apps. However thinking about it now since the variables i'm referencing to are all related to downloading perhaps just a different approach to error handling in that fashion? The problem I was experiencing was basically I wasn't getting the URL due to page changes. Either empty variables returning 'OK' or downloading the wrong file entirely, so perhaps just a filename check? If it is vastly different from the previous stored give a little "something might be wrong" error. That way you can check it out and go "all is well". Less complicated and I believe achieves the same result.
  22. Just because of some recent web page changes I was curious if some sort of 'threshold' warning could be implemented. i.e. if the value the variable returns goes from v.123 to </b>This is the best way to eat pudding</b> It would then pop up a warning with the returned value going "some drastic changes may have been made, would you like to go to the variable pages to check?" if the change was 90% different or something along those lines. It could just be an extra tab like "global variables" where you put in the variables you want to keep an eye on and the desired threshold check. Could also make the value allowable to be empty so it returns a true empty for download links.
  23. I believe Ketarin can't, whether it be the website or the programs fault, actually do this. Every attempt I either get a truncated regex value or when it does give me the correct URL it goes "URI undetermined" or some such error. Might be how it handles post data? Or how this website utilizes it? If I paste the URL directly the download starts so i'm sorta confused.
  24. It works perfectly fine for me, captures 10.11 CAP4 from the URL you just gave me Ketarin doesn't auto-refresh if you just copy and paste it into the regex bar. So you will have to put it in, click 'ok' then go back into variables to check. Or just type an extra character into the regex bar then delete it to force Ketarin to refresh.
×
×
  • 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.