Jump to content
Ketarin forum

Silent error (per application setting)


Sphinx
 Share

Recommended Posts

Hello

 

I was wondering if it would be possible to get a silent error setting, as per application

 

For instance i have two newspapers I download with ketarin, but one is only released on fridays and one is only released on wednesdays

 

so everytime I run ketarin in normal mode (with windows) I get annoying errors, so this setting would be useful for me

 

or perhaps another setting, like only update this if it's wednesday, or only update on monday to friday

 

 

if anyone else knows of another workaround for this in the current version of ketarin, please let me know

Edited by Sphinx
Link to comment
Share on other sites

  • 2 months later...

I have several sites where similar behaviors are required, so I coded a way around them using my own site as the version checker. I coded up a page in PHP that determines the 'rules' for the incrementation, then increment it on those events. For your situation, I would use a date_add to get the same functionality. The version doesn't really have to mean anything, just be consistent with previous versioning, so it would effectively allow you to get the content correctly only when the specific dates have changed.

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.