Linking to an Unalterable Page
From ChemPRIME
Linking to an unalterable page:
If you wish students to see a page that is permanent, you may create a link in a course syllabus created in Word (or another HTML editor) to the current (or any previous) page, as follows:
- Navigate to the page; Navigating to CoreChem Density:
http://wiki.chemprime.chemeddl.org/index.php/CoreChem:Density
- Click on the History Tab
- Click on the version that you want to link to permanently
- Copy and paste the URL into your HTML document. For example:
http://wiki.chemprime.chemeddl.org/index.php?title=CoreChem:Density&oldid=3923 This link has a unique Revision Number, in this case 3923, for the page. If a newer version is created, it will have a new identifier.
This process can be automated:
To return the unique Revision Number for any page, substitute its page name in place of "CoreChem:Density" and beginning date in place of "20090505000000" (YYYYMMDDHHMMSS format (year 2009, month May =05, day 05, hour 00, minute 00, seconds 00), in a query formatted like this:
That will return the Revision Number:
<?xml version="1.0" ?> - <api> - <query> - <pages> - <page pageid="282" ns="0" title="CoreChem:Density"> - <revisions> <rev revid="3923" user="Jshorb" timestamp="2009-06-04T22:06:48Z" /> </revisions> </page> </pages> </query> - <query-continue> <revisions rvstartid="3643" /> </query-continue> </api>
The Revision Number can be used in the hyperlink:
http://wiki.chemprime.chemeddl.org/index.php?title=CoreChem:Density&oldid=3923

