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

readfile: Difference between revisions

From MoodleDocs
(New page: Readfile.php is a simple script 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...)
 
No edit summary
Line 1: Line 1:
Readfile.php is a simple script 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.
Readfile.php is a simple script [http://tracker.moodle.org/secure/attachment/17679/readfile.zip| 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.
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.

Revision as of 18:32, 16 June 2009

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.