EGF project page creation
diff --git a/_index.html b/_index.html
new file mode 100644
index 0000000..6282de5
--- /dev/null
+++ b/_index.html
@@ -0,0 +1,75 @@
+
+<div id="bigbuttons">
+<h3>Primary Links</h3>
+<ul>
+ <li><a id="buttonDownload"
+ href="http://wiki.eclipse.org/EGF_Installation" title="Download">
+ <strong>Download</strong> Eclipse Distribution, Update Site, Dropins </a></li>
+ <li><a id="buttonDocumentation"
+ class="bigButton" href="http://wiki.eclipse.org/EGF_Tutorial_and_Use_Cases"
+ title="Documentation"> <strong>Documentation</strong> Tutorials,
+ Examples, Videos, Reference Documentation </a></li>
+ <li><a id="buttonSupport"
+ href="http://wiki.eclipse.org/EGF" title="Support"> <strong>Support</strong>
+ Bug Tracker, Newsgroup, Professional Support </a></li>
+
+</ul>
+</div>
+
+
+<div id="midcolumn">
+<h3>EGF</h3>
+<div id="introText">
+<p>A major concern in software engineering is to deliver on time with the expected level of quality,
+while development environments are more and more complex.
+In order to meet the user needs, generation is a means which avoids wasting time and efforts.
+The purpose of EGF is to provide an extensible model-based generation framework and to support complex,
+customizable and integrated generations.</p>
+
+<div><img src="resources/EGF_Overview.png"
+ alt="EGF Overview" /></div>
+</div>
+
+<p>Exsamples of portfolio delivered with EGF:
+ <ul>
+ <li><b>Enhancement of the EMF Generation</b> in order to customize and enrich the EMF Generation</li>
+ <li><b>Build chain editor and generator</b> with Hudson and Buckminster as the default target</li>
+ </ul>
+</p>
+
+<p>The infrastructure of EGF does not strictly reduce EGF to generation.
+Production includes activities, such as the creation of the generation environment.
+As a consequence, EGF can be only used for its <b>activity workflow</b>
+which is able to combine activities written in different languages, such as Java and Ruby.</p>
+
+
+<div id="rightcolumn">
+
+<div>
+<h3>
+<a href="/projects/project_summary.php?projectid=modeling.emft.egf">About This Project</a>
+</h3>
+
+<div id="stats">
+<div id="newAndNoteworthy"><!-- <h3>New And Noteworthy</h3> --> <a
+ href="http://wiki.eclipse.org/EGF">New and Noteworthy</a></div>
+<h4>Commit stats</h4>
+<a
+ href="http://www.eclipse.org/projects/project_summary.php?projectid=modeling.emft.egf"><img
+ src="http://dash.eclipse.org/dash/commits/web-app/active-graph.cgi?project=modeling.emft.egf"
+ width="100%" /></a></div>
+
+<p><a href="http://www.eclipse.org/projects/what-is-incubation.php">
+<img id="incubation"
+ src="http://www.eclipse.org/images/egg-incubation.png" alt="Incubation"
+ width="25%"> </a>Some components are currently in their <a
+ href="http://www.eclipse.org/projects/dev_process/validation-phase.php">Validation
+(Incubation) Phase</a>.</p>
+</div>
+
+<div id="headlines">
+
+<h3>News</h3>
+%%HEADLINES%%</div>
+
+</div>
diff --git a/egf.css b/egf.css
new file mode 100644
index 0000000..f43ed4b
--- /dev/null
+++ b/egf.css
@@ -0,0 +1,35 @@
+/* Improvements to default CSS have been removed since they have been integrated by the default CSS (http://www.eclipse.org/default/style.css). */
+
+#novaContent {
+ background: url("/default/images/backgroundMainEmpty.png") no-repeat white;
+}
+
+#bigbuttons {
+ background: url("images/Logo_EGF.png") no-repeat;
+ background-position: 20px 10px;
+}
+
+#midcolumn img {
+ margin-bottom: 15px;
+}
+
+div.block {
+ float: left;
+ width: 40%;
+ margin-right: 3%
+}
+
+#headlines h4 {
+ font-size: 12px;
+ border-bottom-style: dotted;
+ border-bottom-width: 1px;
+}
+
+#headlines ul li {
+ border-bottom-style: solid;
+ border-bottom-width: 1px;
+}
+
+#newAndNoteworthy a {
+ background: transparent url("images/newAndNoteworthy.png") no-repeat 0 0;
+}
diff --git a/images/Logo_EGF.png b/images/Logo_EGF.png
new file mode 100644
index 0000000..6c9e5fe
--- /dev/null
+++ b/images/Logo_EGF.png
Binary files differ
diff --git a/images/newAndNoteworthy.png b/images/newAndNoteworthy.png
new file mode 100644
index 0000000..e53729e
--- /dev/null
+++ b/images/newAndNoteworthy.png
Binary files differ
diff --git a/index.php b/index.php
index ee2ccfd..dad1c0b 100755
--- a/index.php
+++ b/index.php
@@ -1 +1,51 @@
-<?php header("Location: /projects/project_summary.php?projectid=modeling.emft.egf"); ?>
\ No newline at end of file
+<?php
+/*******************************************************************************
+ * Copyright (c) 2010 Eclipse Foundation and others.
+ * All rights reserved. This program and the accompanying materials
+ * are made available under the terms of the Eclipse Public License v1.0
+ * which accompanies this distribution, and is available at
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * Benoit Langlois (Thales)
+ *******************************************************************************/
+ require_once($_SERVER['DOCUMENT_ROOT'] . "/eclipse.org-common/system/app.class.php"); require_once($_SERVER['DOCUMENT_ROOT'] . "/eclipse.org-common/system/nav.class.php"); require_once($_SERVER['DOCUMENT_ROOT'] . "/eclipse.org-common/system/menu.class.php"); $App = new App(); $Nav = new Nav(); $Menu = new Menu(); include($App->getProjectCommon()); # All on the same line to unclutter the user's desktop'
+ require_once($_SERVER['DOCUMENT_ROOT'] . "/eclipse.org-common/system/app.class.php"); require_once($_SERVER['DOCUMENT_ROOT'] . "/eclipse.org-common/system/nav.class.php"); require_once($_SERVER['DOCUMENT_ROOT'] . "/eclipse.org-common/system/menu.class.php"); $App = new App(); $Nav = new Nav(); $Menu = new Menu(); include($App->getProjectCommon());
+
+ $localVersion = false;
+
+ # Define these here, or in _projectCommon.php for site-wide values
+ $pageKeywords = "eclipse,emf,emft,egf";
+ $pageAuthor = "benoit langlois";
+ $pageTitle = "EGF";
+
+ function getEgfNews(){
+ $xsl = new Xsltprocessor();
+ $xsldoc = new DomDocument();
+ $xsldoc->load("news/news.xsl");
+ $xsl->importStyleSheet($xsldoc);
+
+ $xmldoc = new DomDocument();
+ $xmldoc->load("news/egfNewsArchive.rss");
+ return $xsl->transformToXML($xmldoc);
+ }
+ function getTwitter(){
+ $xsl = new Xsltprocessor();
+ $xsldoc = new DomDocument();
+ $xsldoc->load("news/twitter.xsl");
+ $xsl->importStyleSheet($xsldoc);
+
+ $xmldoc = new DomDocument();
+ $xmldoc->load("http://search.twitter.com/search.atom?q=egf");
+ return $xsl->transformToXML($xmldoc);
+ }
+ $html = file_get_contents('_index.html');
+ $news = getEGFNews();
+ # TODO $twitter = getTwitter();
+ $html = str_replace("%%HEADLINES%%", $news, $html);
+ $App->AddExtraHtmlHeader('<link rel="stylesheet" type="text/css" href="/default/style.css"/>' . "\n\t");
+ $App->AddExtraHtmlHeader('<link rel="stylesheet" type="text/css" href="egf.css"/>' . "\n\t");
+ $App->AddExtraHtmlHeader("<link rel='alternate' type='application/rss+xml' title='EGF News' href='news/egfNewsArchive.rss'>");
+ $pageKeywords="MDA,MDE,egf,software factories,EMF,EMFT,modeling,Eclipse";
+ $App->generatePage($theme, $Menu, null, $pageAuthor, $pageKeywords, $pageTitle, $html);
+?>
diff --git a/news/egfNewsArchive.rss b/news/egfNewsArchive.rss
new file mode 100644
index 0000000..95c7f44
--- /dev/null
+++ b/news/egfNewsArchive.rss
@@ -0,0 +1,9 @@
+<?xml version="1.0"?>
+ <rss version="2.0">
+ <channel>
+ <title>EGF News</title>
+ <link>http://eclipse.org/egf/</link>
+ <description>EGF News</description>
+
+ </channel>
+</rss>
\ No newline at end of file
diff --git a/news/news.xsl b/news/news.xsl
new file mode 100644
index 0000000..4f5b49d
--- /dev/null
+++ b/news/news.xsl
@@ -0,0 +1,22 @@
+<xsl:stylesheet xmlns:xsl='http://www.w3.org/1999/XSL/Transform' version="1.0">
+
+<xsl:template match="rss">
+ <xsl:apply-templates select="channel"/>
+</xsl:template>
+
+
+<xsl:template match="channel">
+ <ul>
+ <xsl:apply-templates select="item[1]|item[2]|item[3]|item[4]"/>
+ </ul>
+</xsl:template>
+
+<xsl:template match="item">
+ <li>
+ <h4><a href="{link}"><xsl:value-of select="title"/></a></h4>
+ <xsl:copy-of select="description/*"/>
+ </li>
+
+</xsl:template>
+
+</xsl:stylesheet>
diff --git a/news/twitter.xsl b/news/twitter.xsl
new file mode 100644
index 0000000..c22ea3c
--- /dev/null
+++ b/news/twitter.xsl
@@ -0,0 +1,15 @@
+<xsl:stylesheet xmlns:google="http://base.google.com/ns/1.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:xsl='http://www.w3.org/1999/XSL/Transform' version="1.0">
+<xsl:template match="/">
+<h3>Twitter</h3>
+ <ul>
+ <xsl:apply-templates select=".//atom:entry[1]|.//atom:entry[2]|.//atom:entry[3]" />
+ </ul>
+</xsl:template>
+
+<xsl:template match="atom:entry" name="xx">
+ <li>
+ <a href="{.//atom:link[@rel='alternate'][1]/@href}"><xsl:value-of select="atom:title"/></a>
+ </li>
+</xsl:template>
+
+</xsl:stylesheet>
diff --git a/resources/EGF_Overview.png b/resources/EGF_Overview.png
new file mode 100644
index 0000000..cf08acf
--- /dev/null
+++ b/resources/EGF_Overview.png
Binary files differ