Commits

Matthew Turk committed 0aacd07

Adding blog to the Community section, along with a photo, and re-organizing
sections

  • Participants
  • Parent commits 330b63d

Comments (0)

Files changed (4)

File css/style.css

 	height:35px;
 	width:35px;
 }
+
+ul#blog-entries {
+    list-style-type: none;
+}
+
+ul#blog-entries li {
+    margin-bottom: 10px;
+}

File img/community_small.jpg

Added
New image
   <script type="text/javascript" src="js/jquery.scrollTo-1.4.2-min.js"></script>
   <script type="text/javascript" src="js/jquery.localscroll-1.2.7-min.js"></script>
   <script type="text/javascript" src="js/jquery.tools.min.js"></script>
+  <script type="text/javascript" src="js/jquery.jfeed.pack.js"></script>
 
   <!-- custom javascript code-->
   <script type="text/javascript" src="js/custom.js"></script>
       next: '#cycle-next',
       prev: '#cycle-prev'
   	});
+   jQuery.getFeed({
+     url: 'atom.atom',
+     success: function(feed) {
+        var entry;
+        jQuery.each(feed.items.slice(0,3), function(ind, item) {
+          entry = "<li><a href='" + item.link + "'><b>" + item.title
+                + "</b></a><br/>" + "Posted on " + item.updated;
+          $('#blog-entries').append(entry);
+        });
+     }
+   });
   </script>
 
   <script type="text/javascript" src="js/konami.pack.js"></script>
   <div id="left" class="noise">
     <ul id="navigation">
       <li><a href="#home">Home</a></li>
+      <li><a href="#community">Community</a></li>
       <li><a href="#getyt">Get YT</a></li>
       <li><a href="#examples">Examples</a></li>
-      <li><a href="#community">Community</a></li>
       <li><a href="#devel">Develop</a></li>
       <li>&nbsp;</li>
       <li><a href="#help">Help!</a>"</li>
 
     </div><!-- end home page -->
 
+      <!-- COMMUNITY PAGE -->
+
+      <div id="community" class="page">
+        <h2>Community</h2>
+        <p class="sub-title">Participation encouraged!</p>
+
+        <div class="one-half first">
+          <h3>Recent Blog Entries</h3>
+          <ul id="blog-entries">
+          </ul>
+        </div>
+        <div class="one-half last">
+            <img class="image-right" src="img/community_small.jpg" alt="People Working" />
+        </div>
+        <div class="two-third">
+          <h3>How To Get Involved</h3>
+          <p>
+            yt is a friendly community.  We like hearing about fun things you
+            have done with the code, and we're happy to help you out if you have
+            a question or some trouble.  You can join us in IRC, on the mailing
+            lists, and if you'd like, you can check out how to <a href="#devel">
+            develop, too</a>.
+          </p>
+          <p>
+            If you've got some code to share, or scripts that you'd like to
+            share, start up a repo on <a href="http://bitbucket.org/">BitBucket
+            </a>, or share them on our <a href="http://paste.enzotools.org/">
+            PasteBin</a>.  For longer chunks of code or repositories used to
+            make papers, we encourage you to check out the
+            <a href="http://hub.yt-project.org/">yt Hub</a>, which is designed to
+            share utilities, management scripts and so on with other people.
+            If you have any trouble, drop by the mailing list and we'll be
+            happy to help out.
+          </p>
+          <p>
+            Hope to hear from you!
+          </p>
+        </div>
+        <div class="one-third last">
+          <h3>Communication Channels</h3>
+          <p>
+            <a href="http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org">users mailing list</a><br />
+            <a href="http://lists.spacepope.org/listinfo.cgi/yt-dev-spacepope.org">dev mailing list</a><br />
+            <a href="http://lists.spacepope.org/listinfo.cgi/yt-svn-spacepope.org">commits mailing list</a><br />
+          </p>
+          <p>
+            <a href="http://yt-project.org/irc.html">IRC</a>
+            (<span style="font-family:Inconsolata;">#yt</span> on 
+            <span style="font-family:Inconsolata;">chat.freenode.net</span>)
+          </p>
+
+          <div class="social-networks">
+            <h3>Around the internet</h3>
+            <p>Some of the places to find yt stuff!</p>
+            <ul class="social-links">
+              <li class="vimeo"><a href="http://vimeo.com/groups/ytgallery">Vimeo</a></li>
+              <li class="twitter"><a href="http://twitter.com/yt_astro">Twitter</a></li>
+              <li class="tumblr"><a href="http://blog.yt-project.org/">Posterous</a></li>
+              <li class="google"><a href="https://plus.google.com/107728486871834552760?prsrc=3">Google+</a></li>
+	    </ul>
+          </div><!-- end social-networks -->
+        </div>
+        <div class="clear"></div>
+
+        <div class="separator-line"></div>
+
+        <div class="clear"></div>	
+
+      </div><!-- end contact page -->
+
+
     <!-- INSTALL PAGE -->
     <div id="getyt" class="page">
       <h2>Getting YT</h2>	
 <span class="c"># Project Density along the x axis...</span>
 <span class="n">ProjectionPlot</span><span class="p">(</span><span class="n">pf</span><span class="p">,</span> <span class="s">&quot;x&quot;</span><span class="p">,</span> <span class="s">&quot;Density&quot;</span><span class="p">)</span><span class="o">.</span><span class="n">save</span><span class="p">()</span>
 </pre></div>
-              </div>
+              </div> <!-- end highlight -->
               <img class="example_image" src="img/density_projection.png">
+            </div><!-- end example_code -->
             </div><!-- end toggle-content -->
           </div><!-- end toggle-container -->
 
 </pre></div>
               </div>
               <img class="example_image" src="img/density_projection_halos.png">
+            </div><!-- end example_code -->
             </div><!-- end toggle-content -->
           </div><!-- end toggle-container -->
 
 </pre></div>
               </div>
             </div>
+            </div><!-- end toggle-content -->
           </div><!-- end toggle-container -->
 
           <div class="toggle-container full-width">
               </div>
               <img src="img/allsky.png" class="example_image">
             </div>
+            </div><!-- end toggle-content -->
           </div><!-- end toggle-container -->
 
           <div class="toggle-container full-width">
               </div>
               <img class="example_image" src="img/off_axis_slice.png">
             </div>
+            </div><!-- end toggle-content -->
           </div><!-- end toggle-container -->
 
           <div class="toggle-container full-width">
               </div>
               <img class="example_image" src="img/iso_vol.png">
             </div>
+            </div><!-- end toggle-content -->
           </div><!-- end toggle-container -->
 
           <div class="toggle-container full-width">
               </div>
               <img class="example_image" src="img/phase.png">
             </div>
+            </div><!-- end toggle-content -->
           </div><!-- end toggle-container -->
         </div><!-- end toggles -->
       </div><!-- end about page -->
 
-      <!-- COMMUNITY PAGE -->
-
-      <div id="community" class="page">
-        <h2>Community</h2>
-        <p class="sub-title">Participation encouraged!</p>
-
-        <div class="two-third">
-          <h3>How To Get Involved</h3>
-          <p>
-            yt is a friendly community.  We like hearing about fun things you
-            have done with the code, and we're happy to help you out if you have
-            a question or some trouble.  You can join us in IRC, on the mailing
-            lists, and if you'd like, you can check out how to <a href="#devel">
-            develop, too</a>.
-          </p>
-          <p>
-            If you've got some code to share, or scripts that you'd like to
-            share, start up a repo on <a href="http://bitbucket.org/">BitBucket
-            </a>, or share them on our <a href="http://paste.enzotools.org/">
-            PasteBin</a>.  For longer chunks of code or repositories used to
-            make papers, we encourage you to check out the
-            <a href="http://hub.yt-project.org/">yt Hub</a>, which is designed to
-            share utilities, management scripts and so on with other people.
-            If you have any trouble, drop by the mailing list and we'll be
-            happy to help out.
-          </p>
-          <p>
-            Hope to hear from you!
-          </p>
-        </div>
-        <div class="one-third last">
-          <h3>Communication Channels</h3>
-          <p>
-            <a href="http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org">users mailing list</a><br />
-            <a href="http://lists.spacepope.org/listinfo.cgi/yt-dev-spacepope.org">dev mailing list</a><br />
-            <a href="http://lists.spacepope.org/listinfo.cgi/yt-svn-spacepope.org">commits mailing list</a><br />
-          </p>
-          <p>
-            <a href="http://yt-project.org/irc.html">IRC</a>
-            (<span style="font-family:Inconsolata;">#yt</span> on 
-            <span style="font-family:Inconsolata;">chat.freenode.net</span>)
-          </p>
-
-          <div class="social-networks">
-            <h3>Around the internet</h3>
-            <p>Some of the places to find yt stuff!</p>
-            <ul class="social-links">
-              <li class="vimeo"><a href="http://vimeo.com/groups/ytgallery">Vimeo</a></li>
-              <li class="twitter"><a href="http://twitter.com/yt_astro">Twitter</a></li>
-              <li class="tumblr"><a href="http://blog.yt-project.org/">Posterous</a></li>
-              <li class="google"><a href="https://plus.google.com/107728486871834552760?prsrc=3">Google+</a></li>
-	    </ul>
-          </div><!-- end social-networks -->
-        </div>
-        <div class="clear"></div>
-
-        <div class="separator-line"></div>
-
-        <div class="clear"></div>	
-
-      </div><!-- end contact page -->
-
       <!-- DEVEL PAGE -->	
 
       <div id="devel" class="page">

File js/jquery.jfeed.pack.js

+eval(function(p,a,c,k,e,d){e=function(c){return(c<a?'':e(parseInt(c/a)))+((c=c%a)>35?String.fromCharCode(c+29):c.toString(36))};while(c--)if(k[c])p=p.replace(new RegExp('\\b'+e(c)+'\\b','g'),k[c]);return p}('2.W=b(7){7=2.R({y:o,L:o,K:Y,x:o,A:o,n:o,J:Y},7);g(7.y){g(2.V(7.A)&&2.m(7.n)===\'o\'){7.n=b(M,z,e){7.A(z,e)}}D g(2.m(7.A)===2.m(7.n)===\'o\'){7.n=b(M,z,e){1j.X&&X.1i(\'W 1h 1g 1f h\',M,z,e)}}1e $.1d({m:\'1c\',y:7.y,L:7.L,K:7.K,1b:(2.T.S)?"6":"4",x:b(4){f h=k I(4);g(2.V(7.x))7.x(h)},n:7.n,J:7.J})}};b I(4){g(4)3.U(4)};I.v={m:\'\',p:\'\',d:\'\',c:\'\',j:\'\',U:b(4){g(2.T.S){f H=k 1a("19.18");H.17(4);4=H}g(2(\'9\',4).E==1){3.m=\'C\';f w=k F(4)}D g(2(\'h\',4).E==1){3.m=\'16\';f w=k G(4)}g(w)2.R(3,w)}};b s(){};s.v={d:\'\',c:\'\',j:\'\',l:\'\',r:\'\'};b G(4){3.u(4)};G.v={u:b(4){f 9=2(\'h\',4).a(0);3.p=\'1.0\';3.d=2(9).5(\'d:i\').6();3.c=2(9).5(\'c:i\').t(\'Q\');3.j=2(9).5(\'15:i\').6();3.B=2(9).t(\'4:14\');3.l=2(9).5(\'l:i\').6();3.q=k P();f h=3;2(\'13\',4).O(b(){f 8=k s();8.d=2(3).5(\'d\').a(0).6();8.c=2(3).5(\'c\').a(0).t(\'Q\');8.j=2(3).5(\'12\').a(0).6();8.l=2(3).5(\'l\').a(0).6();8.r=2(3).5(\'r\').a(0).6();h.q.N(8)})}};b F(4){3.u(4)};F.v={u:b(4){g(2(\'C\',4).E==0)3.p=\'1.0\';D 3.p=2(\'C\',4).a(0).t(\'p\');f 9=2(\'9\',4).a(0);3.d=2(9).5(\'d:i\').6();3.c=2(9).5(\'c:i\').6();3.j=2(9).5(\'j:i\').6();3.B=2(9).5(\'B:i\').6();3.l=2(9).5(\'11:i\').6();3.q=k P();f h=3;2(\'8\',4).O(b(){f 8=k s();8.d=2(3).5(\'d\').a(0).6();8.c=2(3).5(\'c\').a(0).6();8.j=2(3).5(\'j\').a(0).6();8.l=2(3).5(\'10\').a(0).6();8.r=2(3).5(\'Z\').a(0).6();h.q.N(8)})}};',62,82,'||jQuery|this|xml|find|text|options|item|channel|eq|function|link|title||var|if|feed|first|description|new|updated|type|error|null|version|items|id|JFeedItem|attr|_parse|prototype|feedClass|success|url|msg|failure|language|rss|else|length|JRss|JAtom|xmlDoc|JFeed|global|cache|data|xhr|push|each|Array|href|extend|msie|browser|parse|isFunction|getFeed|console|true|guid|pubDate|lastBuildDate|content|entry|lang|subtitle|atom|loadXML|XMLDOM|Microsoft|ActiveXObject|dataType|GET|ajax|return|load|to|failed|log|window'.split('|')))