From: <sk...@us...> - 2008-02-07 16:14:17
|
Revision: 512 http://dl-learner.svn.sourceforge.net/dl-learner/?rev=512&view=rev Author: sknappe Date: 2008-02-07 08:14:08 -0800 (Thu, 07 Feb 2008) Log Message: ----------- added basic REST component Modified Paths: -------------- trunk/src/dbpedia-navigator/index.php Added Paths: ----------- trunk/src/dbpedia-navigator/.htaccess Added: trunk/src/dbpedia-navigator/.htaccess =================================================================== --- trunk/src/dbpedia-navigator/.htaccess (rev 0) +++ trunk/src/dbpedia-navigator/.htaccess 2008-02-07 16:14:08 UTC (rev 512) @@ -0,0 +1,7 @@ +RewriteEngine On +Options +FollowSymlinks +RewriteBase /dbpedia-navigator/ + +# Rule Fuer die Module +RewriteCond %{REQUEST_FILENAME} !-f +RewriteRule ^(.*)$ index.php?resource=$1 \ No newline at end of file Modified: trunk/src/dbpedia-navigator/index.php =================================================================== --- trunk/src/dbpedia-navigator/index.php 2008-02-07 11:43:21 UTC (rev 511) +++ trunk/src/dbpedia-navigator/index.php 2008-02-07 16:14:08 UTC (rev 512) @@ -39,7 +39,7 @@ }; </script> </head> - <body> + <body <?php if (isset($_GET['resource'])) print "onLoad=\"xajax_getarticle('".$_GET['resource']."',-1);return false;\">";unset($_GET['resource']);?>> <!-- <h1>DBpedia Navigator</h1> --> <div><table border="0" width="100%"><tr><td width="35%"><img src="images/dbpedia_navigator.png" alt="DBpedia Navigator" style="padding:5px" /></td><td width="50%"><span id="conceptlink"></span></td><td width="15%"><span id="Loading" style="display:none">Server Call... <img src="images/remove.png" onclick="xajax_stopServerCall();return false;" /></span></td></tr></table></div> This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |