sling-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From build...@apache.org
Subject svn commit: r941165 - in /websites/staging/sling/trunk/content: ./ documentation/getting-started/discover-sling-in-15-minutes.html
Date Mon, 23 Feb 2015 13:20:04 GMT
Author: buildbot
Date: Mon Feb 23 13:20:04 2015
New Revision: 941165

Log:
Staging update by buildbot for sling

Modified:
    websites/staging/sling/trunk/content/   (props changed)
    websites/staging/sling/trunk/content/documentation/getting-started/discover-sling-in-15-minutes.html

Propchange: websites/staging/sling/trunk/content/
------------------------------------------------------------------------------
--- cms:source-revision (original)
+++ cms:source-revision Mon Feb 23 13:20:04 2015
@@ -1 +1 @@
-1661655
+1661661

Modified: websites/staging/sling/trunk/content/documentation/getting-started/discover-sling-in-15-minutes.html
==============================================================================
--- websites/staging/sling/trunk/content/documentation/getting-started/discover-sling-in-15-minutes.html
(original)
+++ websites/staging/sling/trunk/content/documentation/getting-started/discover-sling-in-15-minutes.html
Mon Feb 23 13:20:04 2015
@@ -135,8 +135,7 @@
 
 
 <p>The resulting node can be seen at <a href="http://localhost:8080/content/mynode.html.path">http://localhost:8080/content/mynode.html</a>,
or as json format under <a href="http://localhost:8080/content/mynode.json">http://localhost:8080/content/mynode.json</a>.
Lets try with cURL:</p>
-<div class="codehilite"><pre>$ <span class="n">curl</span> <span
class="n">http</span><span class="p">:</span><span class="o">//</span><span
class="n">localhost</span><span class="p">:</span>8080<span class="o">/</span><span
class="n">content</span><span class="o">/</span><span class="n">mynode</span><span
class="p">.</span><span class="n">json</span>    
-<span class="p">{</span>&quot;<span class="n">title</span>&quot;<span
class="p">:</span>&quot;<span class="n">some</span> <span class="n">title</span>&quot;<span
class="p">,</span>&quot;<span class="n">sling</span><span class="p">:</span><span
class="n">resourceType</span>&quot;<span class="p">:</span>&quot;<span
class="n">foo</span><span class="o">/</span><span class="n">bar</span>&quot;<span
class="p">,</span>&quot;<span class="n">jcr</span><span class="p">:</span><span
class="n">primaryType</span>&quot;<span class="p">:</span>&quot;<span
class="n">nt</span><span class="p">:</span><span class="n">unstructured</span>&quot;<span
class="p">}</span>
+<div class="codehilite"><pre>$ <span class="n">curl</span> <span
class="n">http</span><span class="p">:</span><span class="o">//</span><span
class="n">localhost</span><span class="p">:</span>8080<span class="o">/</span><span
class="n">content</span><span class="o">/</span><span class="n">mynode</span><span
class="p">.</span><span class="n">json</span> <span class="p">{</span>&quot;<span
class="n">title</span>&quot;<span class="p">:</span>&quot;<span
class="n">some</span> <span class="n">title</span>&quot;<span
class="p">,</span>&quot;<span class="n">sling</span><span class="p">:</span><span
class="n">resourceType</span>&quot;<span class="p">:</span>&quot;<span
class="n">foo</span><span class="o">/</span><span class="n">bar</span>&quot;<span
class="p">,</span>&quot;<span class="n">jcr</span><span class="p">:</span><span
class="n">primaryType</span>&quot;<span class="p">:</span>&quot;<span
class="n">nt</span><span class="p">:</span><span class="n">unstructured</span>&quot;<span
class=
 "p">}</span>
 </pre></div>
 
 
@@ -223,8 +222,7 @@ well as above in the <em>see also</em> s
 
 
 <p>Create the header node:</p>
-<div class="codehilite"><pre><span class="n">curl</span> <span
class="o">-</span><span class="n">u</span> <span class="n">admin</span><span
class="p">:</span><span class="n">admin</span> <span class="o">-</span><span
class="n">F</span>&quot;<span class="n">sling</span><span class="p">:</span><span
class="n">resourceType</span><span class="p">=</span><span class="n">foo</span><span
class="o">/</span><span class="n">header</span>&quot; <span class="o">\</span>
   
-    <span class="o">-</span><span class="n">F</span>&quot;<span
class="n">headline</span><span class="p">=</span><span class="n">Hello</span><span
class="p">,</span> <span class="n">Sling</span> <span class="n">world</span>&quot;
<span class="n">http</span><span class="p">:</span><span class="o">//</span><span
class="n">localhost</span><span class="p">:</span>8080<span class="o">/</span><span
class="n">content</span><span class="o">/</span><span class="n">header</span>
+<div class="codehilite"><pre><span class="n">curl</span> <span
class="o">-</span><span class="n">u</span> <span class="n">admin</span><span
class="p">:</span><span class="n">admin</span> <span class="o">-</span><span
class="n">F</span>&quot;<span class="n">sling</span><span class="p">:</span><span
class="n">resourceType</span><span class="p">=</span><span class="n">foo</span><span
class="o">/</span><span class="n">header</span>&quot; <span class="o">-</span><span
class="n">F</span>&quot;<span class="n">headline</span><span class="p">=</span><span
class="n">Hello</span><span class="p">,</span> <span class="n">Sling</span>
<span class="n">world</span>&quot; <span class="n">http</span><span
class="p">:</span><span class="o">//</span><span class="n">localhost</span><span
class="p">:</span>8080<span class="o">/</span><span class="n">content</span><span
class="o">/</span><span class="n">header</span>
 </pre></div>
 
 
@@ -254,7 +252,7 @@ well as above in the <em>see also</em> s
 
 <p>The <a href="http://localhost:8080/content/mynode.html">http://localhost:8080/content/mynode.html</a>,
once refreshed, now shows the blue headline and logo, and this layout also applies to any
node created with <em>sling:resourceType=foo/bar</em>.</p>
       <div class="timestamp" style="margin-top: 30px; font-size: 80%; text-align: right;">
-        Rev. 1661655 by olli on Mon, 23 Feb 2015 12:28:53 +0000
+        Rev. 1661661 by olli on Mon, 23 Feb 2015 13:19:53 +0000
       </div>
       <div class="trademarkFooter"> 
         Apache Sling, Sling, Apache, the Apache feather logo, and the Apache Sling project



Mime
View raw message