I am creating an eBook that will have regular updates. Not all updates will concern every section of the eBook.
The customer would see either see a flashing notice of the update or the word update would change color to denote that there is an update.
They would click on the button and the update would start.
But how do I make sure all file updates go to the proper sections of the eBook.
Thank you, kerby
Posted on: 5:50 pm on November 13, 2002
Alaska
Kerby -
Replacing code chunks within an .exe file is difficult, but you have 3 alternatives that I can think of...
1. Replace the entire .exe file with each update.
2. Keep the 'updatable' topics in a separate .js or text file outside of the .exe. An update would mean replacing the external file(s). The new information would display in the books the next time they're opened.
If you choose to update specific files on the user machine, you will need to keep track of what topics need updating, perhaps in an .ini file.
Your ebooks will go online to compare the existing topic version with the topics latest_version_number. If the latest_version number is larger than your existing_topic_version, you see the flashing update notice. Click the icon, and you pull the new data down from the server. The process then resets the existing_topic_version to the latest values.
3. Keep the updatable topics in a separate .js or text file on a web server. Users would have to be online to see the new content.
Perhaps this would be a more manageable solution. Include the external web file in the book, and when you edit that file on the server, the changes display in all the books when they go online.
There might be some other ways to accomplish this as well...
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.