Difference between revisions of "WikipediaPlus enabling a Website"

From WikipediaPlus
Jump to: navigation, search
(Requirements)
(General Method)
Line 11: Line 11:
  
 
===General Method===
 
===General Method===
One simple method is to have an access URL of the form <font face="courier"><nowiki>http://www.example.com/WP.php?page={PageName}</nowiki></font>, so that all incoming requests are served by a single script. This could read from a database of local page URL to match with wikipedia ''PageNames''. You may wish to use the simple script written for this purpose by Robin Upton, which is available [http://www.RobinUpton.com/WP/WP.php.0.1.zip here].  
+
One simple method is to have an access URL of the form <font face="courier"><nowiki>http://www.example.com/WP.php?page={PageName}</nowiki></font>, so that all incoming requests are served by a single script. This could read from a database of local page URL to match with wikipedia ''PageNames''. You may wish to use the simple script written for this purpose by Robin Upton, which should soon be available [http://www.RobinUpton.com/WP/WP.php.0.1.zip here]. Try tomorrow!
  
 
===Wikis only Method===
 
===Wikis only Method===
 
If your site is a wiki, you could use dedicated namespace (e.g. <font face="courier">Wikipedia:</font>) to maintain an easy correspondence between your site's pages and Wikipedia's pages. If you already have content, the fastest way to make your site Wikipedia+ enabled is to just add a redirect, so that <font face="courier">/wiki/Wikipedia:Some_Wikipedia_URL</font> contains <font face="courier"><nowiki>#REDIRECT[[Your_Corresponding_Local_URL]]</nowiki></font>.
 
If your site is a wiki, you could use dedicated namespace (e.g. <font face="courier">Wikipedia:</font>) to maintain an easy correspondence between your site's pages and Wikipedia's pages. If you already have content, the fastest way to make your site Wikipedia+ enabled is to just add a redirect, so that <font face="courier">/wiki/Wikipedia:Some_Wikipedia_URL</font> contains <font face="courier"><nowiki>#REDIRECT[[Your_Corresponding_Local_URL]]</nowiki></font>.

Revision as of 23:31, 12 July 2011