]> git.donarmstrong.com Git - xtable.git/commitdiff
small themeroot fix
authorstefan7th <stefan7th@edb9625f-4e0d-4859-8d74-9fd3b1da38cb>
Thu, 15 Sep 2011 15:26:09 +0000 (15:26 +0000)
committerstefan7th <stefan7th@edb9625f-4e0d-4859-8d74-9fd3b1da38cb>
Thu, 15 Sep 2011 15:26:09 +0000 (15:26 +0000)
git-svn-id: svn://scm.r-forge.r-project.org/svnroot/xtable@1 edb9625f-4e0d-4859-8d74-9fd3b1da38cb

README [new file with mode: 0644]
www/index.php [new file with mode: 0644]

diff --git a/README b/README
new file mode 100644 (file)
index 0000000..8b0db1c
--- /dev/null
+++ b/README
@@ -0,0 +1,76 @@
+                       R-Forge SVN README
+
+This file explains the repository structure of your project. A more
+detailed guide to R-Forge is available by 
+Theußl and Zeileis (2010) [1] and the R-Forge Administration and 
+Development Team (2009) [2].
+
+1. Introduction
+-----------------------------------------------------------------------
+R is free software distributed under a GNU-style copyleft. R-Forge is
+a central platform for the development of R packages, R-related 
+software and further projects. Among many other web-based features it 
+provides facilities for collaborative source code management via 
+Subversion (SVN) [3].
+
+2. The directory you're in
+-----------------------------------------------------------------------
+This is the repository of your project. It contains two important
+pre-defined directories namely 'pkg' and 'www'. These directories must 
+not be deleted otherwise R-Forge's core functionality will not be 
+available (i.e., daily checking and building of your package or the 
+project websites).
+'pkg' and 'www' are standardized and therefore are going to be
+described in this README. The rest of your repository can be used as
+you like.
+
+3. 'pkg' directory
+-----------------------------------------------------------------------
+To make use of the package building and checking feature the package 
+source code has to be put into the 'pkg' directory of your repository 
+(i.e., 'pkg/DESCRIPTION', 'pkg/R', 'pkg/man', etc.) or, alternatively,
+a subdirectory of 'pkg'. The latter structure allows for having more 
+than one package in a single project, e.g., if a project consists of 
+the packages foo and bar then the source code will be located in 
+'pkg/foo' and 'pkg/bar', respectively.
+
+R-Forge automatically examines the 'pkg' directory of every repository 
+and builds the package sources as well as the package binaries on a
+daily basis for Mac OS X and Windows (if applicable). The package builds
+are provided in the 'R Packages' tab for download or can be installed
+directly in R from a CRAN-style repository using 
+'install.packages("foo", repos="http://R-Forge.R-project.org")'. 
+Furthermore, in the 'R Packages' tab developers can examine logs 
+generated on different platforms by the build and check process.
+
+4. 'www' directory
+-----------------------------------------------------------------------
+Developers may present their project on a subdomain of R-Forge, e.g.,
+'http://foo.R-Forge.R-project.org', or via a link to an external
+website.
+
+This directory contains the project homepage which gets updated hourly
+on R-Forge, so please take into consideration that it will not be 
+available right after you commit your changes or additions. 
+
+5. Help
+-----------------------------------------------------------------------
+If you need help don't hesitate to submit a support request at 
+https://r-forge.r-project.org/tracker/?func=add&group_id=34&atid=194, 
+search the forum 
+https://r-forge.r-project.org/forum/forum.php?forum_id=78&group_id=34,
+or contact us at R-Forge@R-project.org.
+
+6. References
+-----------------------------------------------------------------------
+
+[1] Stefan Theußl and Achim Zeileis. Collaborative software development 
+using R-Forge. The R Journal, 1(1):9-14, May 2009. URL 
+http://journal.r-project.org/2009-1/RJournal_2009-1_Theussl+Zeileis.pdf  
+
+[2] R-Forge Administration and Development Team. RForge User’s Manual, 
+2008. URL http://download.R-Forge.R-project.org/R-Forge.pdf
+
+[3] C. M. Pilato, B. Collins-Sussman, and B. W. Fitzpatrick. Version 
+Control with Subversion. O’Reilly, 2004. Full book available online at 
+http://svnbook.red-bean.com/
diff --git a/www/index.php b/www/index.php
new file mode 100644 (file)
index 0000000..3ac2d7c
--- /dev/null
@@ -0,0 +1,51 @@
+
+<!-- This is the project specific website template -->
+<!-- It can be changed as liked or replaced by other content -->
+
+<?php
+
+$domain=ereg_replace('[^\.]*\.(.*)$','\1',$_SERVER['HTTP_HOST']);
+$group_name=ereg_replace('([^\.]*)\..*$','\1',$_SERVER['HTTP_HOST']);
+$themeroot='r-forge.r-project.org/themes/rforge/';
+
+echo '<?xml version="1.0" encoding="UTF-8"?>';
+?>
+<!DOCTYPE html
+       PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+       "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en   ">
+
+  <head>
+       <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+       <title><?php echo $group_name; ?></title>
+       <link href="http://<?php echo $themeroot; ?>styles/estilo1.css" rel="stylesheet" type="text/css" />
+  </head>
+
+<body>
+
+<!-- R-Forge Logo -->
+<table border="0" width="100%" cellspacing="0" cellpadding="0">
+<tr><td>
+<a href="http://r-forge.r-project.org/"><img src="http://<?php echo $themeroot; ?>/imagesrf/logo.png" border="0" alt="R-Forge Logo" /> </a> </td> </tr>
+</table>
+
+
+<!-- get project title  -->
+<!-- own website starts here, the following may be changed as you like -->
+
+<?php if ($handle=fopen('http://'.$domain.'/export/projtitl.php?group_name='.$group_name,'r')){
+$contents = '';
+while (!feof($handle)) {
+       $contents .= fread($handle, 8192);
+}
+fclose($handle);
+echo $contents; } ?>
+
+<!-- end of project description -->
+
+<p> No content added. </p>
+
+<p> The <strong>project summary page</strong> you can find <a href="http://<?php echo $domain; ?>/projects/<?php echo $group_name; ?>/"><strong>here</strong></a>. </p>
+
+</body>
+</html>