Note: This documentation is for Moodle 2.7. For up-to-date documentation see readfile.

readfile

From MoodleDocs
Revision as of 18:32, 16 June 2009 by Marc Grober (talk | contribs)

Readfile.php is a simple script found here developed by the Project Gutenberg webmaster for paginating PG texts. It will provide constant absolute pagination as long as yur text does not change, and of course you can add header and footer links as your heart desires. While there are a number of much more sophisticated applications for accomplishing such tasks now available, this elegant little script may be just what you are looking for

Of course, the script was intended to target texts in a database, so you can use it to target texts already in PG's database (fk_files is the primary key of the files table in the PG catalog database and the files table contains all files' path, last changed date, size, checksums etc.), you can alter to target some other db, or you could modify to target material in moodledata or elsewhere.