felix-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From fmesc...@apache.org
Subject svn commit: r1447607 - in /felix/site/trunk/content: index.mdtext news.mdtext res/jquery.js
Date Tue, 19 Feb 2013 07:41:20 GMT
Author: fmeschbe
Date: Tue Feb 19 07:41:20 2013
New Revision: 1447607

URL: http://svn.apache.org/r1447607
Log:
Dynamically load the news excerpt (currently five elements) from the news page
using JQuery scripting.

* Remove Excerpt header from news page
* Add JQuery 1.8.3

Added:
    felix/site/trunk/content/res/jquery.js
Modified:
    felix/site/trunk/content/index.mdtext
    felix/site/trunk/content/news.mdtext

Modified: felix/site/trunk/content/index.mdtext
URL: http://svn.apache.org/viewvc/felix/site/trunk/content/index.mdtext?rev=1447607&r1=1447606&r2=1447607&view=diff
==============================================================================
--- felix/site/trunk/content/index.mdtext (original)
+++ felix/site/trunk/content/index.mdtext Tue Feb 19 07:41:20 2013
@@ -15,7 +15,9 @@ The original Confluence based site is cu
 
 # News 
 
-{{ refs.news.headers.excerpt }}
+<ul id="newsExcerpt">
+</ul>
+
 
 Refer to the news [archive]({{ refs.news.path }}) for all news.
 
@@ -45,3 +47,14 @@ The Felix project is organized into subp
 * [Web Console]({{ refs.apache-felix-web-console.path }}) - A simple tool to inspect and
manage OSGi framework instances using your favorite Web Browser.
 
 Several other unreleased subprojects also exist, please refer to the [Subprojects]({{ refs.subprojects.path
}}) page for more. To see some projects using Felix subprojects, refer to the [Projects Using
Felix]({{ refs.projects-using-felix.path }}) documentation.
+
+
+<script src="/res/jquery.js" type="text/javascript"></script>
+<script type="text/javascript">
+        $(document).ready(function() {
+            $.get("/news.html", function(news) {
+                var $newsExcerpt = $(news).find('li').slice(0,5);
+                $('#newsExcerpt').append($newsExcerpt);
+            });
+        });
+</script>

Modified: felix/site/trunk/content/news.mdtext
URL: http://svn.apache.org/viewvc/felix/site/trunk/content/news.mdtext?rev=1447607&r1=1447606&r2=1447607&view=diff
==============================================================================
--- felix/site/trunk/content/news.mdtext (original)
+++ felix/site/trunk/content/news.mdtext Tue Feb 19 07:41:20 2013
@@ -1,9 +1,5 @@
 translation_pending: true
 Title: News
-Excerpt: * The Apache Felix SCR Generator 1.4.0, Maven SCR Plugin 1.10.0, SCR Ant Task 1.4.0,
SCR Annotations 1.8.0, and SCR DS Annotations 1.0.2 releases are now available from the <a
href="http://felix.apache.org/site/downloads.cgi">downloads</a> section and from
the Maven repository. (Februrary 18, 2013)
-* The Framework 4.2.0 release is now available in the <a href="http://felix.apache.org/downloads.cgi">downloads</a>
section and from the Maven repository. (February 12, 2013)
-* The Dependency Manager Core, Annotation, Runtime version 3.1.0 and Compat, Shell version
3.0.1 are now available in the <a href="http://felix.apache.org/downloads.cgi">downloads</a>
section and from the Maven repository. (January 28, 2013)
-* The iPOJO Core, Composite and Annotations 1.8.6 are now available in the <a href="http://felix.apache.org/site/downloads.cgi">downloads</a>
section and from the Maven repository. (January 10, 2013)
 
 * The Apache Felix SCR Generator 1.4.0, Maven SCR Plugin 1.10.0, SCR Ant Task 1.4.0, SCR
Annotations 1.8.0, and SCR DS Annotations 1.0.2 releases are now available from the <a
href="http://felix.apache.org/site/downloads.cgi">downloads</a> section and from
the Maven repository. (Februrary 18, 2013)
 * The Framework 4.2.0 release is now available in the <a href="http://felix.apache.org/downloads.cgi">downloads</a>
section and from the Maven repository. (February 12, 2013)

Added: felix/site/trunk/content/res/jquery.js
URL: http://svn.apache.org/viewvc/felix/site/trunk/content/res/jquery.js?rev=1447607&view=auto
==============================================================================
--- felix/site/trunk/content/res/jquery.js (added)
+++ felix/site/trunk/content/res/jquery.js Tue Feb 19 07:41:20 2013
@@ -0,0 +1,2 @@
+/*! jQuery v1.8.3 jquery.com | jquery.org/license */

[... 3 lines stripped ...]


Mime
View raw message