sort by rssitem id instead of rssitem added date

Solutions for other advanced phplisters

sort by rssitem id instead of rssitem added date

Postby jimbudd » 11:46am, Tue 25 May, 2010

I'm trying to use the RSS list feature for a gig guide, so cant be sorted by the rssitem added date as it needs to be in order of upcoming gigs.
the event time in my gig guide RSS feed is inside the description ie.

// feed item description text
$description = JText::_( '' ).$displaydate.', '.$displaytime.' '.'@ <strong>'.$row->venue.'</strong> / '.$row->city.'<br />';

feed url: http://www.jazzqueensland.com/index.php ... d&type=rss

obviously, would be nice to just ask what way i can use the displaydate field in the description to sort my gig guide feed, but it seems that the way i've hacked my feed to display in order by this displaydate field, stores the rssitem id is in perfect order, ie. the latest gig is rssitem id '1'.
sooo, can someone tell me how to sort by rssitem id instead of rssitem added date??

i think the RSS list feature is awesome, but seems to have overlooked its application in RSS feeds for events, where the created date is not an ideal way to display each RSS item.
so, believe my querie will be most valuable in this area :)
jimbudd
phpList newbie
 
Posts: 2
Joined: 11:02am, Tue 25 May, 2010

Return to Advanced Answers, Howtos, Tips & Tricks

Who is online

Users browsing this forum: No registered users and 1 guest