*** empty log message ***
diff --git a/blogathon/GalileoShirt.png b/blogathon/GalileoShirt.png
new file mode 100644
index 0000000..8a6ffe0
--- /dev/null
+++ b/blogathon/GalileoShirt.png
Binary files differ
diff --git a/blogathon/GolfShirt.png b/blogathon/GolfShirt.png
new file mode 100644
index 0000000..ea9e7da
--- /dev/null
+++ b/blogathon/GolfShirt.png
Binary files differ
diff --git a/blogathon/guidelines.php b/blogathon/guidelines.php
new file mode 100644
index 0000000..5688112
--- /dev/null
+++ b/blogathon/guidelines.php
@@ -0,0 +1,126 @@
+<?php 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'
+
+ #*****************************************************************************
+ #
+ # template.php
+ #
+ # Author: Denis Roy
+ # Date: 2005-06-16
+ #
+ # Description: Type your page comments here - these are not sent to the browser
+ #
+ #
+ #****************************************************************************
+
+ #
+ # Begin: page-specific settings. Change these.
+ $pageTitle = "Blogathon for the Eclipse Galileo Release";
+ $pageKeywords = "eclipse, galileo, release, review, contest";
+ $pageAuthor = "Lynn Gayowski";
+
+ # Add page-specific Nav bars here
+ # Format is Link text, link URL (can be http://www.someothersite.com/), target (_self, _blank), level (1, 2 or 3)
+ # $Nav->addNavSeparator("My Page Links", "downloads.php");
+ # $Nav->addCustomNav("My Link", "mypage.php", "_self", 1);
+ # $Nav->addCustomNav("Google", "http://www.google.com/", "_blank", 1);
+
+ # End: page-specific settings
+ #
+ // This file is linked to from lots of different places.
+ // Use absolute paths to make sure that we can actually test
+ // that the file renders properly (i.e. testing using) "/index.php",
+ // and "/home/index.php" both work.
+
+ # Paste your HTML content between the EOHTML markers!
+ $html = <<<EOHTML
+<div id="maincontent">
+ <div id="midcolumn">
+ <h1>$pageTitle</h1>
+
+ <p>
+ The Eclipse Foundation wants to hear what you think of the <a href="http://wiki.eclipse.org/Galileo#Projects">Eclipse
+ projects</a> that are being released as part of Galileo. As an added bonus, all qualified reviewers
+ will receive a thank you gift. One lucky winner will also win a pass to
+ <a href="http://www.eclipsecon.org/2010/">EclipseCon 2010</a> or
+ <a href="http://www.eclipsecon.org/summiteurope2009/">Eclipse Summit Europe 2009</a>!
+ Entries must be received by <b>July 31</b>, 2009 at 4:00 pm EST.
+ </p>
+
+ <h3>Receive a Thank You</h3>
+ <ul>
+ <li>Best review: Full pass to <a href="http://www.eclipsecon.org/2010/">EclipseCon 2010</a> or
+ <a href="http://www.eclipsecon.org/summiteurope2009/">Eclipse Summit Europe 2009</a></li>
+ <li>3 top reviews: Eclipse jacket</li>
+ <li>All other qualified reviews get a choice of:
+ <ul>
+ <li><a href="http://www.eclipse.org/donate/">Friend of Eclipe</a> membership with access to the Friends mirror site</li>
+ <li><a href="http://www.zazzle.com/eclipseide">Eclipse t-shirt</a> printed with a message customized by you</li>
+ <li>Golf shirt embroidered with the Eclipse logo</li>
+ </ul>
+ </li>
+ </ul>
+
+ <a href="http://www.eclipse.org/donate/"><img src="http://www.eclipse.org/donate/images/friendslogo.jpg" width="142" height="75" border="0" halign="center" style="padding-right: 25px;"></a>
+ <a href="http://www.zazzle.com/eclipseide"><img src="GalileoShirt.png" width="73" height="75" border="0" halign="center" style="padding-right: 25px;"></a>
+ <img src="GolfShirt.png" width="60" height="75" border="0" halign="center" style="padding-right: 25px;"></a>
+
+ <p>
+ The best and top reviews will be selected by a panel of judges.
+ </p>
+
+ <p style="font-size:10px">Prizes have no cash value and quantities are limited.
+ The full pass to EclipseCon or Eclipse Summit Europe only covers conference registration and does not
+ include travel expenses. The pass is non-transferable and non-refundable, so if you can't go to either
+ conference or you receive a free pass some other way (as a speaker, for example),
+ you won't be able to take advantage of the prize.</font>
+ </p>
+
+ <h3>Review Guidelines</h3>
+ <ul>
+ <li>A review will be eligible for a prize if it conveys sufficient technical content.</li>
+ <li>Three to five points of what you like or don't like about one or more Galileo projects should be enough. Long
+ essays aren't necessary.</li>
+ <li>Eclipse is a global community, so feel free to write a review in your native language.</li>
+ </ul>
+
+ <h3>Entry Instructions</h3>
+ <ul>
+ <li>Publish your review on your blog, a newsgroup, or portal such as <a href="http://www.eclipsezone.com"
+ target="blank">EclipseZone</a>, <a href="http://www.javalobby.com" target="blank">Javalobby</a>,
+ <a href="http://www.theserverside.com" target="blank">The ServerSide</a>, <a href="http://www.infoq.com"
+ target="blank">InfoQ</a> or other technology portal</li>
+ <li>Send your name and the link to your review to <a href="mailto:galileo-reviews@eclipse.org">galileo-reviews@eclipse.org</a></li>
+ </ul>
+
+ <p>
+ Individuals are allowed to submit multiple entries, but only one prize per person will be awarded.
+ </p>
+
+ <h3>Questions?</h3>
+ <p>
+ <a href="mailto:galileo-reviews@eclipse.org">galileo-reviews@eclipse.org</a>
+ </p>
+
+ <br><br>
+
+ </div>
+
+ <!-- remove the entire <div> tag to omit the right column! -->
+ <div id="rightcolumn">
+ <div class="sideitem">
+ <h6>Related Links</h6>
+ <ul>
+ <li><a href="reviews.php">Submitted Reviews</a></li>
+ </ul>
+ </div>
+ </div>
+
+</div>
+
+
+EOHTML;
+
+
+ # Generate the web page
+ $App->generatePage("Nova", $Menu, $Nav, $pageAuthor, $pageKeywords, $pageTitle, $html);
+?>
\ No newline at end of file
diff --git a/blogathon/layout.css b/blogathon/layout.css
new file mode 100644
index 0000000..451f107
--- /dev/null
+++ b/blogathon/layout.css
@@ -0,0 +1,195 @@
+.item_headline {
+ padding: 3px;
+}
+
+.visible .item_contents {
+ display: block;
+}
+
+.invisible .item_contents {
+ display: none;
+}
+
+.visible .item_menu {
+ display: block;
+}
+
+.invisible .item_menu {
+ display: none;
+}
+
+.visible a.norgie {
+ background: url('../../images/minus.gif') no-repeat;
+ padding-right: 2px;
+}
+
+.invisible a.norgie {
+ background: url('../../images/plus.gif') no-repeat;
+ padding-right: 2px;
+}
+
+.item_menu {
+ position: relative;
+ left: 5px;;
+ margin: 10px;
+ margin-left: 15px;
+ padding-left: 5px;
+ padding-bottom: 5px;
+ font-weight: bold;
+}
+
+.item_contents {
+ margin: 0px;;
+ background-color: #F8F8F8;;
+ padding: 5px;
+}
+
+a.norgie {
+ float: left;
+ clear: all;;
+ height: 20px;
+ width: 10px;
+ margin-top: 5px;
+ margin-bottom: -5px;
+}
+
+body {
+ color: #000;
+}
+
+
+.paddingLeft {
+ padding-left: 7px;
+}
+
+.headerBar {
+ height:120px;
+ padding: 0px;
+ width: 100%;
+ border-top: 3px solid #FF6700;
+}
+
+.coming {
+ background:#0B328B url(images/europaBanner.jpg) no-repeat scroll top left;
+}
+
+.release {
+ background:#0B328B url(images/europaBannerHere.jpg) no-repeat scroll top left;
+}
+
+.headerBar td {
+ //background-image: url('images/bar.jpg');
+ font-size: 170%;
+ color:#FFFFFF;
+ vertical-align:top;
+ padding:10px;
+ font-weight: bold;
+}
+
+.headerBar span {
+ font-size: 80%;
+ font-weight: normal;
+}
+
+.projectTable {
+ width: 100%;
+ border-bottom: 1px solid #49457C;
+}
+
+.memberTable {
+ width: 100%;
+ border-bottom: 1px solid #49457C;
+}
+
+.tableHeader {
+ background-image: url('images/bar.jpg');
+ font-weight: bold;
+ border-top: 2px solid #49457C;
+ border-bottom: 1px solid #49457C;
+ font-size: 100%;
+}
+
+.tableHeaderTitle {
+ font-weight: bold;
+ font-size: 125%;
+ padding-top: 10px;
+}
+
+.tableRow td{
+ border-bottom: 1px solid #CCC;
+ padding-top:5px;
+}
+
+.members {
+ float: left;
+ width: 100%;
+}
+
+.box {
+ width: 35%;
+ float: right;
+ clear: none;
+}
+
+.box ol {
+ padding-left: 0px;
+ margin: 0;
+ margin-top: 10px;
+}
+
+.box ol li {
+ list-style-type: none;
+ padding-bottom: 10px;
+}
+
+.categoryLeft .box ol li,.categoryRight .box ol li {
+ padding: 0px;
+ padding-bottom: 10px;
+}
+
+.box ol li ul li {
+ background: none;
+}
+
+.boxHeader {
+ background-image: url(images/bar.jpg);
+ background-position: top left;
+ background-repeat: repeat-x;
+ border-top: 1px solid #AAA;
+ border-bottom: 1px solid #AAA;
+ padding: 5px;
+ color: #000;
+ font-weight: bold;
+ font-size: 110%;
+}
+
+.boxHeader a {
+ color: #4F4F4F;
+}
+
+.boxBody {
+ border: 1px solid #CCC;
+ border-top: 0px;
+ min-height: 30px;
+ padding-left: 5px;
+ padding-top: 5px;
+ padding-bottom: 5px;
+ margin-bottom: 3px;
+}
+
+#dateTab {
+ margin:-10px;
+ padding:0px;
+}
+
+#countdown {
+ padding:4px;
+ font-size:24px;
+ font-weight:bold;
+ text-align:center;
+}
+
+.bottomBorder td {
+ border-bottom: 1px solid #DDD;
+}
+
diff --git a/blogathon/reviews.php b/blogathon/reviews.php
new file mode 100644
index 0000000..a6cc9e1
--- /dev/null
+++ b/blogathon/reviews.php
@@ -0,0 +1,117 @@
+<?php error_reporting(E_ALL); 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'
+
+ #*****************************************************************************
+ #
+ # sample_3col.php
+ #
+ # Author: Denis Roy
+ # Date: 2005-11-07
+ #
+ # Description: Type your page comments here - these are not sent to the browser
+ #
+ #
+ #****************************************************************************
+
+ #
+ # Begin: page-specific settings. Change these.
+ $pageTitle = "Galileo Reviews";
+ $pageKeywords = "Eclipse, Galileo, review, blog, blogathon, contest";
+ $pageAuthor = "Lynn Gayowski";
+
+ # Add page-specific Nav bars here
+ # Format is Link text, link URL (can be http://www.someothersite.com/), target (_self, _blank), level (1, 2 or 3)
+ # $Nav->addNavSeparator("My Page Links", "downloads.php");
+ # $Nav->addCustomNav("My Link", "mypage.php", "_self", 1);
+ # $Nav->addCustomNav("Google", "http://www.google.com/", "_blank", 1);
+
+ # End: page-specific settings
+ #
+ require_once("scripts/review.php");
+ # Paste your HTML content between the EOHTML markers!
+ ob_start();
+ ?>
+ <script src="/home/scripts/functions.js" type="text/javascript" language="javascript"></script>
+
+<div id="maincontent">
+ <div id="midcolumn">
+ <link rel="stylesheet" type="text/css" href="layout.css" media="screen" />
+
+ <h1><?=$pageTitle;?></h1>
+
+ <p>
+ Members of the Eclipse community are invited to write a review of the
+ <a href="http://wiki.eclipse.org/Galileo">Eclipse projects</a> being released as part of Galileo
+ and to publish the review on a blog, newsgroup or portal. Following is a list of links to the
+ reviews that have been submitted to the blogathon.
+ </p>
+
+ <table cellpadding="5" cellspacing="0" width="100%">
+ <tr bgcolor=#b599e4>
+ <td><font color="#ffffff"><strong>Link</strong></font></td>
+ <td><font color="#ffffff"><strong>Author</strong></font></td>
+ <td><font color="#ffffff"><strong>Date</strong></font></td>
+ <td><font color="#ffffff"><strong>Language</strong></font></td>
+ </tr>
+
+ <?
+ $reviewsCatalog = $reviewsParser->reviewsCatalog;
+ $counter = count($reviewsCatalog);
+ $i =0;
+ while ($i < $counter)
+ {
+ $title = mb_convert_encoding(trim(htmlspecialchars($reviewsCatalog[$i][0])), "HTML-ENTITIES", "auto");
+ $link = mb_convert_encoding($reviewsCatalog[$i][1], "HTML-ENTITIES", "auto");
+ $author = mb_convert_encoding($reviewsCatalog[$i][2], "HTML-ENTITIES", "auto");
+ $date = mb_convert_encoding($reviewsCatalog[$i][3], "HTML-ENTITIES", "auto");
+ $language = mb_convert_encoding($reviewsCatalog[$i][4], "HTML-ENTITIES", "auto");
+ $shortDesc = mb_convert_encoding($reviewsCatalog[$i][5], "HTML-ENTITIES", "auto");
+ ?>
+ <tr>
+ <td>
+ <div class="invisible" id="<?=$title;?>"><a name="<?=$title;?>" class="norgie" onClick="t('<?=$title;?>','<?=$title;?>a')"></a>
+ <a target="_blank" href="<?=$link;?>"><?=$title;?></a>
+ </div>
+ </td>
+ <td><?=$author;?></td>
+ <td><?=$date;?></td>
+ <td><?=$language;?></td>
+ </tr>
+ <tr class="bottomBorder">
+ <td colspan="4">
+ <div class="invisible" id="<?=$title;?>a">
+ <div class="item_contents">
+ <?=$shortDesc;?>
+ </div>
+ </div>
+ </td>
+ </tr>
+
+
+ <?
+ $i++;
+ }
+ ?>
+
+ </table>
+
+ </div>
+
+ <!-- remove the entire <div> tag to omit the right column! -->
+ <div id="rightcolumn">
+ <div class="sideitem">
+ <h6>Related Links</h6>
+ <ul>
+ <li><a href="guidelines.php">Blogathon Details</a></li>
+ </ul>
+ </div>
+ </div>
+
+ </div>
+
+ <?
+ $html = ob_get_contents();
+ ob_end_clean();
+
+ # Generate the web page
+ $App->generatePage("Nova", $Menu, $Nav, $pageAuthor, $pageKeywords, $pageTitle, $html);
+?>
diff --git a/blogathon/reviews.xml b/blogathon/reviews.xml
new file mode 100644
index 0000000..3cff5d2
--- /dev/null
+++ b/blogathon/reviews.xml
@@ -0,0 +1,12 @@
+<reviews>
+
+ <review>
+ <title>Your Review Here</title>
+ <link><![CDATA[http://www.eclipse.org]]></link>
+ <author></author>
+ <date></date>
+ <language></language>
+ <shortDesc><![CDATA[]]></shortDesc>
+ </review>
+
+</reviews>
\ No newline at end of file
diff --git a/blogathon/scripts/review.php b/blogathon/scripts/review.php
new file mode 100644
index 0000000..8ea3e99
--- /dev/null
+++ b/blogathon/scripts/review.php
@@ -0,0 +1,101 @@
+<?php
+
+class ReviewsParser {
+
+ var $reviewsCatalog = array();
+
+ var $insideItem = false;
+ var $tag = "";
+ var $title = "";
+ var $link = "";
+ var $date = "";
+ var $author = "";
+ var $language = "";
+ var $shortDesc = "";
+
+
+ function add_review(& $review) {
+ $this->reviewsCatalog[] = $review;
+ }
+
+
+ function startElement($parser, $tagName, $attribs)
+ {
+ global $insideItem, $tag;
+ if ($insideItem) {
+ $tag = $tagName;
+ }
+ elseif ($tagName = "REVIEW")
+ {
+ $insideItem = TRUE;
+ }
+
+ }
+
+ function endElement($parser, $tagName)
+ {
+ global $reviewsCatalog, $insideItem;
+
+ if ($tagName == "REVIEW")
+ {
+ $reviewsTemp = array($this->title, $this->link, $this->author, $this->date, $this->language, $this->shortDesc);
+
+ $this->add_review($reviewsTemp);
+ $this->title = "";
+ $this->link = "";
+ $this->author = "";
+ $this->date ="";
+ $this->language="";
+ $this->shortDesc="";
+ $this->insideitem = FALSE;
+ }
+ }
+
+ function characterData($parser, $data)
+ {
+
+ global $insideItem, $tag;
+
+ if ($insideItem)
+ {
+ switch ($tag) {
+ case "TITLE":
+ $this->title .= $data;
+ break;
+ case "LINK":
+ $this->link .= $data;
+ break;
+ case "AUTHOR":
+ $this->author .= $data;
+ break;
+ case "DATE":
+ $this->date .= $data;
+ break;
+ case "LANGUAGE":
+ $this->language .= $data;
+ break;
+ case "SHORTDESC":
+ $this->shortDesc .= $data;
+ break;
+ }
+ }
+ }
+
+}
+
+ $parser = xml_parser_create('');
+ $reviewsParser = new ReviewsParser();
+ xml_set_object($parser,&$reviewsParser);
+ xml_set_element_handler($parser, "startElement", "endElement");
+ xml_set_character_data_handler($parser, "characterData");
+
+ $fp = fopen ("reviews.xml", "r") or die ("File I/O Problem");
+ //stream_filter_append($fp, 'convert.base64-encode');
+ while ($data = fread($fp, 4096))
+ {
+ xml_parse($parser, $data, feof($fp)) or die("XML Error");
+ }
+ fclose ($fp);
+ xml_parser_free($parser);
+
+?>