Forum: Radiant CMS Pull articles from multiple sources

Posted by Jordon Bedwell (envygeeks)
on 2010-11-09 01:50
(Received via mailing list)
Is there a way to pull archives from multiple urls, something like:

          <r:if_url matches="^/$">
          <r:find url="/tutorials:/blog:/usn:/dsa">
          <r:children:each order="desc" limit="5">
          <article role="article" class="post">
            <header>
              <h2><r:link /></h2>
              <span>
                <time date="<r:date %Y-%M-%D />" pubdate>
                  <r:date format="%B %d, %Y" />
                </time>
                by: <r:author />
              </span>
            </header>
            <r:content />
          </article>
          <hr />
          </r:children:each>
          </r:find>
          </r:if_url>

Where the colon is a new URL.
Posted by John Muhl (johnmuhl)
on 2010-11-09 01:59
(Received via mailing list)
On Mon, Nov 8, 2010 at 6:49 PM, Jordon Bedwell <jordon@envygeeks.com> 
wrote:
> Is there a way to pull archives from multiple urls, something like:

<r:aggregate urls='/a; /b; /c'>...</r:aggregate>

check the in page tag reference for more aggregate tags

(if you're on 0.8 install the radiant/aggregation extension)
Posted by Jordon Bedwell (envygeeks)
on 2010-11-09 02:01
(Received via mailing list)
On 11/08/2010 06:58 PM, john muhl wrote:
> On Mon, Nov 8, 2010 at 6:49 PM, Jordon Bedwell <jordon@envygeeks.com> wrote:
>> Is there a way to pull archives from multiple urls, something like:
>
> <r:aggregate urls='/a; /b; /c'>...</r:aggregate>
>
> check the in page tag reference for more aggregate tags
>
> (if you're on 0.8 install the radiant/aggregation extension)


Awesome, thanks :D
Please log in before posting. Registration is free and takes only a minute.
Existing account (Switch to SSL-encrypted connection)
NEW: Do you have a Google/GoogleMail or Yahoo account? No registration required!
Log in with Google account | Log in with Yahoo account
No account? Register here.