noelboss / Podcast

Podcast Extension for TYPO3 based on Extbase and Fluid
7 stars 6 forks source link

Change sorting of Episodes #5

Open klodeckl opened 12 years ago

klodeckl commented 12 years ago

It would be better, if the output of the episodes in the XML feed will be descending (static or TS option) so the latest episode will be output first (like on a newssystem tt_news, the latest news at first) and not at last.

Should not be so difficult: http://t3n.de/magazin/zehn-tipps-tricks-extbase-fluid-227639/2/ http://forge.typo3.org/projects/typo3v4-mvc/wiki/Default_Orderings_and_Query_Settings_in_Repository But in my case it didn’t work, I’m not so familiar with extbase and fluid…

noelboss commented 12 years ago

The sorting is based on the order of the episodes that you add in your podcast – I could automate this order of course ... maybe it makes sense to order it by date... you'd loose the ability so sort it directly....

klodeckl commented 12 years ago

That makes sense, I didn’t realize that. But how about a way to change the sorting ascending and descending (e.g. typoscript option)? So that the last one added is always the first one in the feed?

noelboss commented 12 years ago

I have updated the TCA for the filed so that it's not possible to move the episodes anymore... You can use the development branche. There is also a fix for keywords and typenums...

klodeckl commented 12 years ago

Thanks! I will test it next week.

klodeckl commented 12 years ago

Not moving episodes in the backend works fine, but the sorting is still wrong. Should be latest (newest) one at first and last one (oldest) at last.

noelboss commented 12 years ago

That should be the case... Please use 0.3.8 since the other releases had some pretty nasty bugs :D

Have you modified the templates? Still you could do thins: <f:for each="{podcast.episodes}" as="episode" reverse="false">

reverse="true"

klodeckl commented 12 years ago

I just updated to 0.3.8. But the same problem, episodes are in the wrong order (oldest is at first and not at last).

newsdesigner commented 12 years ago

I don't understand the excitement about the sequence of episodes in the RSS feed. No user reads the RSS file. Clients sort the feed so that the latest episodes at the top.

klodeckl commented 12 years ago

That’s right, but I would prefer a feed with common normal output like it should be in a podcast feed and not to rely on the ability, the podcast client (like iTunes) checks this out.

klodeckl commented 11 years ago

How about this now? I think it is good to have it in a real order. At the moment I can not check it out because I don’t get an RSS feed (when clicking on the link from the output of the plugin, link is …display/podcast/show/podcasttitle/).