Forum: Radiant CMS Pull articles from multiple sources

37bf689f37c69732158e782020db84f9?d=identicon&s=25 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.
Efc9d9d149b91368c764d4eaee4c58ca?d=identicon&s=25 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)
37bf689f37c69732158e782020db84f9?d=identicon&s=25 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
This topic is locked and can not be replied to.