Author: buildbot
Date: Mon Oct 15 12:40:16 2012
New Revision: 835121
Log:
Staging update by buildbot for sling
Modified:
websites/staging/sling/trunk/content/ (props changed)
websites/staging/sling/trunk/content/documentation/tutorials-how-tos/46-line-blog.html
Propchange: websites/staging/sling/trunk/content/
------------------------------------------------------------------------------
--- cms:source-revision (original)
+++ cms:source-revision Mon Oct 15 12:40:16 2012
@@ -1 +1 @@
-1366519
+1398269
Modified:
websites/staging/sling/trunk/content/documentation/tutorials-how-tos/46-line-blog.html
==============================================================================
---
websites/staging/sling/trunk/content/documentation/tutorials-how-tos/46-line-blog.html
(original)
+++
websites/staging/sling/trunk/content/documentation/tutorials-how-tos/46-line-blog.html
Mon Oct 15 12:40:16 2012
@@ -156,13 +156,13 @@ If you get an error saying <em>javax.jcr
<p>Add the following code to your script, after the
<code>Sling.wizard()</code> call that was added in step 2:</p>
<div class="codehilite"><pre><span class="nt"><h3></span>Navigation<span
class="nt"></h3></span>
<span class="nt"><ul></span>
- <span class="nt"><li><em><a</span> <span
class="na">href=</span><span
class="s">"/content/blog/*.html"</span><span
class="nt">></span>[Create new post]()<span
class="nt"></a></em></li></span>
+ <span class="nt"><li><em><a</span> <span
class="na">href=</span><span
class="s">"/content/blog/*.html"</span><span
class="nt">></span>[Create new post]<span
class="nt"></a></em></li></span>
<span class="nt"><script></span>
var posts = Sling.getContent("/content/blog", 2);
for(var i in posts) {
document.write("<span class="nt"><li></span>"
+ "<span class="nt"><a</span> <span
class="na">href=</span><span class="s">'/content/blog/" + i +
".html'</span><span class="nt">></span>"
- + posts[i]().title
+ + posts[i].title
+ "<span class="nt"></a></li></span>");
}
<span class="nt"></script></span>
@@ -202,7 +202,7 @@ If you get an error saying <em>javax.jcr
</ol>
</div>
<div class="timestamp" style="margin-top: 30px; font-size: 80%;
text-align: right;">
- Rev. 1345726 by fmeschbe on Sun, 3 Jun 2012 17:57:55 +0000
+ Rev. 1398269 by fmeschbe on Mon, 15 Oct 2012 12:40:11 +0000
</div>
<div class="trademarkFooter">
Apache Sling, Sling, Apache, the Apache feather logo, and the Apache
Sling project