Skip to content

Commit

Permalink
Move collective/tags rule so it takes precedence.
Browse files Browse the repository at this point in the history
  • Loading branch information
ahume committed Nov 16, 2011
1 parent f28ce86 commit c88cfff
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions huffduffer/huffduffer.items.xml
Expand Up @@ -24,11 +24,11 @@

<select itemPath="json.items" produces="JSON">
<urls>
<url env="all">http://huffduffer.com/{username}/json</url>
<url env="all">http://huffduffer.com/{collective}/collective/tags/{tag}/json</url>
</urls>
<inputs>
<key id="username" type="xs:string" paramType="path" required="true" />
<key id="page" type="xs:string" paramType="query" />
<key id="collective" type="xs:string" paramType="path" required="true" />
<key id="tag" type="xs:string" paramType="path" required="true" />
</inputs>
<paging model="page">
<pagesize max="20" />
Expand All @@ -39,10 +39,11 @@

<select itemPath="json.items" produces="JSON">
<urls>
<url env="all">http://huffduffer.com/tags/{tag}/json</url>
<url env="all">http://huffduffer.com/{username}/json</url>
</urls>
<inputs>
<key id="tag" type="xs:string" paramType="path" required="true" />
<key id="username" type="xs:string" paramType="path" required="true" />
<key id="page" type="xs:string" paramType="query" />
</inputs>
<paging model="page">
<pagesize max="20" />
Expand All @@ -53,10 +54,9 @@

<select itemPath="json.items" produces="JSON">
<urls>
<url env="all">http://huffduffer.com/{collective}/collective/tags/{tag}/json</url>
<url env="all">http://huffduffer.com/tags/{tag}/json</url>
</urls>
<inputs>
<key id="collective" type="xs:string" paramType="path" required="true" />
<key id="tag" type="xs:string" paramType="path" required="true" />
</inputs>
<paging model="page">
Expand Down

0 comments on commit c88cfff

Please sign in to comment.