eBook authors eBook Software - create and publish your own ebooks
Create your own eBooks
Learn How To Create, Publish & Market E-Books
E-Book Creation Software
Add sophisticated multimedia to your E-Books
Create E-Book covers in minutes
E-Book Marketing & Promotion made easy
Search engine for E-Books
Interviews with eBook authors
Tools for building better eBooks
Archived Message:

Countdown for expiry

unify Hello everybody,
I have a couple of ebooks that have some password protected content. I am thinking about setting an expiration date for the "free" content.

What I would like to have is a countdown script on the home page of the ebook. It would say something like...
"Your free preview expires in 3 Days, 17 Hours and 32 Seconds (it would count down). To permanently gain access to all the valuable information inside, please purchase a password."

The time until expiry would be related to the first time they opened the eBook. I would like to have the message disappear when they purchase a password.

Any ideas?
Keith Livingston

Posted on: 10:36 pm on April 21, 2003
KC *

(Edited by KC at 3:14 am on June 8, 2003)

Posted on: 12:20 am on April 22, 2003
EBookCompiler I don't think there is a way to get this, although I agree it would be nice addition to have

One trick might be to calculate your own expiry.  e.g. First time ebook is run store the date/time in say an INI.  Subsequent times get the date/time from the INI and calc the different from current time.  If you know how long the expiry is set for, your calculation could closely match the ebook's internal counter.  You can detected i the password is entered (there is a variable for this), so whether expiry is still applicable or not would be able to be calculated.

Posted on: 1:48 am on April 22, 2003
KC *

(Edited by KC at 3:15 am on June 8, 2003)

Posted on: 11:18 am on April 22, 2003
KC *

(Edited by KC at 3:15 am on June 8, 2003)

Posted on: 11:06 am on April 23, 2003
KC *

(Edited by KC at 3:16 am on June 8, 2003)

Posted on: 4:58 pm on April 23, 2003
EBookCompiler It's timed from the time, not from midnight

All recent versions (definitely 4.2x and possibly 4.0x or possibly even 3.x ). It actually adds 0.1 of a day (8640 seconds) to the time to expire.  The reason is because people got very confused if this was not added

e.g. old way - you make an ebook, let it have 10 days to expire, so as soon as it starts you have like 9 days 23 hours, 59 minutes, 59 seconds till expire - i.e. it will expire in 9 days, which is confusing if you just asked for 10 days.

e.g. new way - you make an ebook, let it have 10 day to expire, so as it starts you have 0.1 days + 9 days 23 hours, 59 minutes, 59 seconds till expire, e.g. about 10.09 days. So the message says 10 days.

I think this was in the README when it was first introduced, possibly a 4.0x or even 3.x version.  But anyway that's how it behaves now.

Posted on: 11:13 pm on April 23, 2003
KC *

(Edited by KC at 3:16 am on June 8, 2003)

Posted on: 12:24 pm on April 24, 2003


List All Archived Forums

Copyright © 2000-2018, Answers 2000 Limited.

With any business, it is up to the individual owner of said business to ensure the success of the business. You may make more or less than any sample figures or results that might be quoted on our web sites or other publications. All business involves risk, and many businesses do not succeed. Further, Answers 2000 Limited does NOT represent that any particular individual or business is typical, or that any results or experiences achieved by any particular individual/business is necessarily typical.

Disclosure: Our company's websites' content (including this website's content) includes advertisements for our own company's websites, products, and services, and for other organization's websites, products, and services. In the case of links to other organization's websites, our company may receive a payment, (1) if you purchase products or services, or (2) if you sign-up for third party offers, after following links from this website. Unless specifically otherwise stated, information about other organization's products and services, is based on information provided by that organization, the product/service vendor, and/or publicly available information - and should not be taken to mean that we have used the product/service in question. Additionally, our company's websites contain some adverts which we are paid to display, but whose content is not selected by us, such as Google AdSense ads. For more detailed information, please see Advertising/Endorsements Disclosures

Our sites use cookies, some of which may already be set on your computer. Use of our site constitutes consent for this. For details, please see Privacy.

Click privacy for information about our company's privacy, data collection and data retention policies, and your rights.

Contact Us    About and Terms Of Use    Privacy    Advertising/Endorsements Disclosures