Browse files

First pass with Pages, Articles and News

  • Loading branch information...
1 parent f299fdf commit 18aa838cbb7f775d8a760290f2fb78184495431f @pelegri pelegri committed May 21, 2012
View
204 All_Pages.html
@@ -1,204 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
- "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml">
- <head>
- <title>All Pages</title>
- <link id="stylesheet" href="/Community/css/github.css" rel="stylesheet" type="text/css"></link>
- <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
- <script type="text/javascript">
-
- function logoClick() {
- document.location = 'http://' + document.location.host;
- }
-
- </script>
-<!-- Start of Google Analytics code -->
-<script type="text/javascript">
-
- var _gaq = _gaq || [];
- _gaq.push(['_setAccount', 'UA-28534102-1']);
- _gaq.push(['_setDomainName', 'github.com']);
- _gaq.push(['_trackPageview']);
-
- (function() {
- var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
- ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
- var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
- })();
-
-</script>
-<!-- End of Google Analytics code -->
- </head>
- <body>
- <div id="header_wrap">
- <div id="header">
- <p id="blackberry-logo"><img src="/Community/images/logo.png" alt="BlackBerry" /> Community Wiki</p>
- <a id="github-logo" href="#"><img src="/Community/images/github-logo.png" alt="Github" /></a>
- </div>
- </div>
-
- <div id="wrapper">
- <div id="left">
- <!-- Left Column / TOC / Global Navigation -->
- <!-- Possibly included, may vary between TOC and Technology?? -->
- <div id="toc">
- <ul>
- <li>Search
- <ul>
- <li><a href="/Community/news.html">&nbsp;</a></li>
- </ul>
- </li>
- <li>Quick Links
- <ul>
- <li><a href="/Community/Community_Wiki.html">Home</a></li>
- <li><a href="/Community/BlackBerry_10.html">BlackBerry 10</a></li>
- <li><a href="/Community/Events.html">Events</a></li>
- <li><a href="/Community/Staying_Connected.html">Staying Connected</a></li>
- <li><a href="/Community/Open_Source.html">Open Source</a></li>
- <li><a href="/Community/All_Pages.html">All Pages</a></li>
- </ul>
- </li>
- <li>Other
- <ul>
- <li><a href="/Community/other/Contribute.html">Contribute</a></li>
- <li><a href="/Community/other/Legal.html">Legal</a></li>
- </ul>
- </li>
- </ul>
-</div>
-
- </div>
-
- <div id="content">
- <h1>All Pages</h1>
-
-
-
- <!-- Center Column / Content -->
- <!-- From content provided by page -->
-
- <p>This should be an automatically generate list of all the pages in the wiki, but, in the meantime, here is a <em>manually-generated</em> listing:</p>
-<hr />
-<p><em><strong>Note</strong> This should be laid off as two columns, one for Pages and one for Articles, but jekyll does not properly handle markdown inside spans.</em></p>
-<hr />
-
-<table>
-<tr>
-<td valign="top">
-<! -- one section -->
-
-<h3>Pages</h3>
-
-<p><strong>Technologies, Components, Products</strong></p>
-
-<ul>
-<li><a href='Apache_Cordova.html' title='The Open Source HTML5 Cross-Platform Framework'>Apache Cordova</a></li>
-
-<li><a href='bbUIjs.html' title='A WebWorks-based Framework to write HTML5 applications using BBOS and BB10 Conventions'>bbUI.js</a></li>
-
-<li><a href='BlackBerry_10.html' title='The next generation BlackBerry Platform'>BlackBerry 10</a></li>
-
-<li><a href='DebugToken.html' title='DebugToken'>DebugToken</a></li>
-
-<li><a href='Frogatto.html' title='A 2-D Game'>Frogatto</a></li>
-
-<li><a href='OpenCV.html' title='Language that leverages GPUs'>OpenCV</a></li>
-
-<li><a href='OpenFrameworks' title='Open Source Framework for Creative Media Applications'>OpenFrameworks</a></li>
-
-<li><a href='OpenGL.html' title='Language ..'>OpenGL</a></li>
-
-<li><a href='Open_Source.html' title='Open Source Actvities at RIM'>Open Source</a></li>
-
-<li><a href='PhoneGap.html' title='Original cross-platform framework from Nitobi'>PhoneGap</a></li>
-
-<li><a href='threeJS.html' title='A WebL 3-D Framework'>threeJS</a></li>
-
-<li><a href='WebGL.html' title='OpenGL ES 2.0 for the Web'>WebGL</a></li>
-
-<li><a href='Webkit.html' title='An Open Source Browser Layout Engine'>Webkit</a></li>
-
-<li><a href='WebWorks.html' title='A framework to write HTML5 Applications for the BlackBerry Platform'>WebWorks</a></li>
-</ul>
-
-<p><strong>People</strong></p>
-
-<ul>
-<li><a href='Clifford_Hung.html'>Clifford Hung</a></li>
-
-<li><a href='Laurence_Muller.html'>Laurence Muller</a></li>
-
-<li><a href='Tim_Neil.html'>Tim Neil</a></li>
-</ul>
-
-<p><strong>Other</strong></p>
-
-<ul>
-<li><a href='All_Pages.html'>All Pages</a></li>
-
-<li><a href='Community_Wiki.html'>Community Wiki</a></li>
-
-<li><a href='other/Contribute.html'>Contribute</a></li>
-
-<li><a href='other/Legal.html'>Legal</a></li>
-
-<li><a href='Staying_Connected.html'>Staying Connected</a></li>
-</ul>
-
-<p><strong>Examples</strong></p>
-
-<ul>
-<li><a href='other/example-basic.html'>Basic</a></li>
-
-<li><a href='other/example-component.html'>Component</a></li>
-
-<li><a href='other/example-technology.html'>Technology</a></li>
-
-<li><a href='other/example-faq.html'>FAQ</a></li>
-
-<li><a href='other/example-people.html'>People</a></li>
-</ul>
-</td>
-
-<td width="30">
-</td>
-<td valign="top">
-<!-- Second Section -->
-<h3>Articles</h3>
-
-<p><strong>FAQ</strong></p>
-
-<ul>
-<li>none so far.</li>
-</ul>
-
-<p><strong>In Depth</strong></p>
-
-<ul>
-<li>none so far.</li>
-</ul>
-
-</td>
-</tr>
-</table>
-
-
- <p id="copyright" style="font-size: 8.5pt; text-align: center;">Copyright 1999-2011 Research In Motion Limited. 295 Phillip Street, Waterloo, Ontario, Canada, N2L 3W8. All Rights Reserved.</p>
- </div>
-
-
- </div>
-
- </body>
-</html>
-
View
26 raw-All_pages.md → All_Pages.md
@@ -5,15 +5,7 @@ title: All Pages
---
{% include common-defs.md %}
-This should be an automatically generate list of all the pages in the wiki, but, in the meantime, here is a _manually-generated_ listing:
-
-*******
-
-*__Note__ This should be laid off as two columns, one for Pages and one for Articles, but jekyll does not properly handle markdown inside spans.*
-
-*******
-
-*Pages*
+TBD - Automatically generate this list and render in two columns; the list below generated _manually_:
**Technologies, Components, Products**
@@ -54,19 +46,3 @@ This should be an automatically generate list of all the pages in the wiki, but,
* [FAQ](other/example-faq.html)
* [People](other/example-people.html)
-
-*******
-
-*News*
-
-Keep up with News...
-
-*Articles*
-
-**FAQ**
-
-* none so far.
-
-**In Depth**
-
-* none so far.
View
0 _includes/common-include.html → _includes/basic-include.html
File renamed without changes.
View
16 _includes/default-navigation.html
@@ -5,18 +5,24 @@
<li><a href="{{ base-url }}/news.html">&nbsp;</a></li>
</ul>
</li>
- <li>Quick Links
+ <li>Page Links
<ul>
<li><a href="{{ base-url }}/Community_Wiki.html">Home</a></li>
- <li><a href="{{ base-url }}/BlackBerry_10.html">BlackBerry 10</a></li>
- <li><a href="{{ base-url }}/Events.html">Events</a></li>
- <li><a href="{{ base-url }}/Staying_Connected.html">Staying Connected</a></li>
- <li><a href="{{ base-url }}/Open_Source.html">Open Source</a></li>
+ <li><a href="http://www.blackberryjamworldtour.com/">Jam World Tour</a></li>
<li><a href="{{ base-url }}/All_Pages.html">All Pages</a></li>
+ <li><a href="{{ base-url }}/articles/All_Articles.html">All Articles</a></li>
+ </ul>
+ </li>
+ <li>News Links
+ <ul>
+ <li><a href="{{ base-url }}/news/index.html">All News</a></li>
+ <li><a href="{{ base-url }}/news/Latest_News.html">Latest News</a></li>
+ <li><a href="{{ base-url }}/news/Submit_News.html">Submit News</a></li>
</ul>
</li>
<li>Other
<ul>
+ <li><a href="https://github.com/blackberry/Community/commits/gh-pages.atom">Commit History<img src="/Community/images/16px-Feed-icon.png"/></a></li> <!-- Pretty raw! -->
<li><a href="{{ base-url }}/other/Contribute.html">Contribute</a></li>
<li><a href="{{ base-url }}/other/Legal.html">Legal</a></li>
</ul>
View
12 _includes/faq.html
@@ -1,12 +0,0 @@
-<!-- currently unused -->
-<div>
- <h3><a class="newsPost" href="{{ post.url }}">{{ post.title }}</a></h3>
- <div>{{ post.date | date: '%m-%d-%Y' }}</div>
-
- {% if content %}
- {{ content }}
- {% else %}
- {{ post.content }}
- {% endif %}
-
-</div>
View
64 _includes/news-include.html
@@ -0,0 +1,64 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>{{ page.title }}</title>
+ <link id="stylesheet" href="{{ base-url }}/css/github.css" rel="stylesheet" type="text/css"></link>
+ <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
+ <script type="text/javascript">
+
+ function logoClick() {
+ document.location = 'http://' + document.location.host;
+ }
+
+ </script>
+<!-- Start of Google Analytics code -->
+<script type="text/javascript">
+
+ var _gaq = _gaq || [];
+ _gaq.push(['_setAccount', 'UA-28534102-1']);
+ _gaq.push(['_setDomainName', 'github.com']);
+ _gaq.push(['_trackPageview']);
+
+ (function() {
+ var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
+ ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
+ var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
+ })();
+
+</script>
+<!-- End of Google Analytics code -->
+ </head>
+ <body>
+ <div id="header_wrap">
+ <div id="header">
+ <p id="blackberry-logo"><img src="{{ base-url }}/images/logo.png" alt="BlackBerry" /> Community Wiki</p>
+ <a id="github-logo" href="#"><img src="{{ base-url }}/images/github-logo.png" alt="Github" /></a>
+ </div>
+ </div>
+
+ <div id="wrapper">
+ <div id="left">
+ <!-- Left Column / TOC / Global Navigation -->
+ {{ lcol }}
+ </div>
+
+ <div id="content">
+ <h1>Community News</h1>
+ <!-- From content provided by page -->
+ <div>
+ {% if content %}
+ {{ content }}
+ {% else %}
+ {{ news.content }}
+ {% endif %}
+ </div>
+
+ <p id="copyright" style="font-size: 8.5pt; text-align: center;">Copyright 1999-2011 Research In Motion Limited. 295 Phillip Street, Waterloo, Ontario, Canada, N2L 3W8. All Rights Reserved.</p>
+ </div>
+
+
+ </div>
+
+ </body>
+</html>
View
12 _includes/people.html
@@ -1,12 +0,0 @@
-<!-- Currently unused -->
-<div>
- <h3><a class="newsPost" href="{{ post.url }}">{{ post.title }}</a></h3>
- <div>{{ post.date | date: '%m-%d-%Y' }}</div>
-
- {% if content %}
- {{ content }}
- {% else %}
- {{ post.content }}
- {% endif %}
-
-</div>
View
11 _includes/post.html
@@ -1,11 +0,0 @@
-<div>
- <h3><a class="newsPost" href="{{ site.baseurl }}/{{ post.url }}">{{ post.title }}</a></h3>
- <div>{{ post.date | date: '%m-%d-%Y' }}</div>
-
- {% if content %}
- {{ content }}
- {% else %}
- {{ post.content }}
- {% endif %}
-
-</div>
View
2 _layouts/basic.html
@@ -18,4 +18,4 @@
{% capture ccol %}{% endcapture %}
-{% include common-include.html %}
+{% include basic-include.html %}
View
2 _layouts/component.html
@@ -5,4 +5,4 @@
{% assign ccol = "" %}
-{% include common-include.html %}
+{% include basic-include.html %}
View
2 _layouts/faq.html
@@ -10,4 +10,4 @@
{% endif %}
{% endcapture %}
-{% include common-include.html %}
+{% include basic-include.html %}
View
6 _layouts/news.html
@@ -0,0 +1,6 @@
+{% assign base-url = site.force-prefix %}
+
+{% assign news = page %}
+{% capture lcol %}{% include default-navigation.html %}{% endcapture %}
+
+{% include news-include.html %}
View
2 _layouts/people.html
@@ -14,4 +14,4 @@
{% capture ccol %}{% endcapture %}
-{% include common-include.html %}
+{% include basic-include.html %}
View
14 _layouts/post.html
@@ -1,7 +1,17 @@
---
-layout: default
+layout: news
---
{% assign post = page %}
-{% include post.html %}
+<div>
+ <h3><a class="newsPost" href="{{ site.baseurl }}/{{ post.url }}">{{ post.title }}</a></h3>
+ <div>{{ post.date | date: '%m-%d-%Y' }}</div>
+
+ {% if content %}
+ {{ content }}
+ {% else %}
+ {{ post.content }}
+ {% endif %}
+
+</div>
View
2 _layouts/technology.html
@@ -27,4 +27,4 @@
{% capture ccol %}{% endcapture %}
-{% include common-include.html %}
+{% include basic-include.html %}
View
16 articles/All_Articles.md
@@ -0,0 +1,16 @@
+---
+layout: basic
+
+title: All Articles
+---
+{% include common-defs.md %}
+
+TBD - Automatically generate this list and render in two columns; the list below generated _manually_:
+
+**FAQ**
+
+* none so far.
+
+**In Depth**
+
+* none so far.
View
BIN images/16px-Feed-icon.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
33 news/latest.md → news/Latest_News.md
@@ -1,24 +1,10 @@
---
-layout: default
+layout: news
title: Latest Community News
---
{% include news-defs.md %}
-#Latest Community News
-
-This page collects news from the community. Reporters from the community submit news using the
-Edit-in-place feature of GitHub;
-if you don't have push rights on this repository, a community editor will review and
-accept your contribution.
-
-Use the example from the bottom of the page, and adjust the fields as appropriate.
-Place your submission at the top of the page so the latest news show first.
-Note this is a [markdown](http://github.github.com/github-flavored-markdown/) page.
-
-Community editors will regularly review this page, create new posts accessible from the
-[Main News Page](index.html) and will reset the page for the next batch.
-
-## News Submissions
+Content in this page is community-driven; read how to [Submit News](Submit_News.html).
### BlackBerry 10 Games at NordicGame
**_What:_** Sean Taylor and Anders Jeppson (RIM) and Tim Closs (Marmalade) will present on Gaming on BlackBerry 10
@@ -61,13 +47,8 @@ to contribute to the [jQuery Mobile Cookbook](http://jquerymobilecookbook.com/)
**_Reporter:_** [Tim Windsor][timw]
**_Date:_** May 14, 2012
----
-
-## Sample News Submission
-
-### Title
-**_What:_** longer description
-**_More Links:_** links
-**_Reporter:_** Who reported the new
-**_Date:_** Month Date, Year
-
+### New Beta Zone
+**_What:_** Update to [BlackBerry Beta Zone](http://blackberry.com/beta)
+**_More Links:_** [Experience a New BlackBerry Beta Zone](http://blogs.blackberry.com/2012/04/new-blackberry-beta-zone/ "Post at DevBlog")
+**_Reporter:_** Kerri B.
+**_Date:_** April 25, 2012
View
36 news/Submit_News.md
@@ -0,0 +1,36 @@
+---
+layout: news
+title: How to Contribute News
+---
+{% include news-defs.md %}
+
+You can submit news for the [Latest Community News](Latest_News.html) page
+by editing directly the corresponding [markdown](http://github.github.com/github-flavored-markdown/) page,
+[Latest_News.md](http://github.com/blackberry-community/Community/news/Latest_News.md).
+
+You will need to login into GitHub, but you can use
+GitHub's inline visual file editing (\[[1]\], \[[2]\], \[[3]\]).
+
+[1]: <https://github.com/blog/143-inline-file-editing> "Inline File Editing"
+[2]: <https://github.com/blog/844-forking-with-the-edit-button> "Forking with the Edit Button"
+[3]: <https://github.com/blog/905-edit-like-an-ace> "Edit Like an Ace"
+
+Use the template at the bottom of this page and replace the fields as appropriate,
+then place your submission at the top of the Latest_News.md page so the latest news show first
+and save your changes.
+
+Behind the covers, GitHub will create a fork, do a commit and issue a pull request.
+If you have push rights on this repository the change will apply immediatedly.
+If not, a community editor will review and accept your contribution.
+
+Community editors will regularly review the Latest_News page,
+will create news entries accessible from the [Main News Page](index.html) and will reset the page for the next batch.
+
+## Sample News Submission
+
+### Short Title
+**_What:_** longer description
+**_More Links:_** links
+**_Reporter:_** Who reported the new
+**_Date:_** Month Date, Year
+
View
14 news/index.html → news/index.md
@@ -1,15 +1,21 @@
---
-layout: default
+layout: news
title: Community News
---
-<h1>Community News</h1>
-
<div id="posts">
<div>
{% for post in site.posts %}
<div style="border-bottom: 1px solid #DFDFDF;">
- {% include post.html %}
+ <div>
+ <h3><a class="newsPost" href="{{ site.baseurl }}/{{ post.url }}">{{ post.title }}</a></h3>
+ <div>{{ post.date | date: '%m-%d-%Y' }}</div>
+ {% if content %}
+ {{ content }}
+ {% else %}
+ {{ post.content }}
+ {% endif %}
+ </div>
</div>
{% endfor %}
</div>

0 comments on commit 18aa838

Please sign in to comment.