Search

I have several sections of a site that I'd like to combine into one XML feed for syndication. I want to be able to grab the last 15 entries from all the sections combined, but the data source only allows me to pull data from 1 section at a time.

What's the best way to set this up? Would this work?

  • Create a data source for each section that pulls the last 15 entries
  • Add each data source to the page
  • Use XSLT to sort all entries by date
  • Transform the newest 15 entries and ignore the rest

To do it that way seems wasteful because I'm pulling a lot of extra data that I won't be using. Has anyone gotten this to work in a more efficient way?

Thanks.

Create an account or sign in to comment.

Symphony • Open Source XSLT CMS

Server Requirements

  • PHP 5.3-5.6 or 7.0-7.3
  • PHP's LibXML module, with the XSLT extension enabled (--with-xsl)
  • MySQL 5.5 or above
  • An Apache or Litespeed webserver
  • Apache's mod_rewrite module or equivalent

Compatible Hosts

Sign in

Login details