Sorting mutiple RSS feeds from wordpress blogs into 1 asset listing by date


(K Lane) #1

Hi guys,

 

I have to produce a "news feed" from 2 wordpress blog RSS feeds - but I need to combine them, and sort by their date.

 

Any tips? Thanks!


(Nic Hubbard) #2

Sure. Have you looked into using the RSS Datasource asset then using an Asset Listing to list the results of the two?


(K Lane) #3

Sure. Have you looked into using the RSS Datasource asset then using an Asset Listing to list the results of the two?

 

Sure have - thats correct. But its listing one blogs posts, then the others underneath... so if they have 5 posts each, and I limit the feed to only show me 5... then I only see the 5 posts from the 1 blog. Would like it to show the latest 5 from the combination of both feeds...

 

... if that makes sense?


(Nic Hubbard) #4

 

Sure have - thats correct. But its listing one blogs posts, then the others underneath... so if they have 5 posts each, and I limit the feed to only show me 5... then I only see the 5 posts from the 1 blog. Would like it to show the latest 5 from the combination of both feeds...

 

... if that makes sense?

 

And you tried sorting options? Can't remember if you can sort shadow assets....


(K Lane) #5

 

And you tried sorting options? Can't remember if you can sort shadow assets....

 

I actually just noticed that I could set the option "Date" to "pubDate" from the RSS feed...

 

Trying to work out how to sort now based on that...


(K Lane) #6

 

I actually just noticed that I could set the option "Date" to "pubDate" from the RSS feed...

 

Trying to work out how to sort now based on that...

OK... Worked it out.

 

Needed to add "ds_pubdate" as a keyword sort... and off she goes :)