]> gitweb.factorcode.org Git - factor.git/blobdiff - extra/webapps/blogs/view-post.xml
Better support for rest parameters on URLs
[factor.git] / extra / webapps / blogs / view-post.xml
index 23bf51394629b7f31723de5ce049d206b268971c..fae9ff3e769eb9d77c4e10da57af9e567f95a1a7 100644 (file)
@@ -2,11 +2,11 @@
 
 <t:chloe xmlns:t="http://factorcode.org/chloe/1.0">
 
-       <t:atom t:href="$blogs/post.atom" t:query="id">
+       <t:atom t:href="$blogs/post.atom" t:rest="id">
                <t:label t:name="author" />: <t:label t:name="title" />
        </t:atom>
 
-       <t:atom t:href="$blogs/by.atom" t:query="author">
+       <t:atom t:href="$blogs/by.atom" t:rest="author">
                Recent Posts by <t:label t:name="author" />
        </t:atom>
 
 
        <div class="posting-footer">
                Post by
-               <t:a t:href="$blogs/" t:query="author">
+               <t:a t:href="$blogs/" t:rest="author">
                        <t:label t:name="author" />
                </t:a>
                on
                <t:label t:name="date" />
                |
-               <t:a t:href="$blogs/edit-post" t:query="id">Edit Post</t:a>
+               <t:a t:href="$blogs/edit-post" t:rest="id">Edit Post</t:a>
                |
                <t:button t:action="$blogs/delete-post" t:for="id,author" class="link-button link">Delete Post</t:button>
        </div>