Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Change sorting of Episodes #5

Open
klodeckl opened this issue May 31, 2012 · 10 comments
Open

Change sorting of Episodes #5

klodeckl opened this issue May 31, 2012 · 10 comments
Assignees

Comments

@klodeckl
Copy link
Collaborator

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
Copy link
Owner

noelboss commented Jun 8, 2012

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....

@ghost ghost assigned noelboss Jun 8, 2012
@klodeckl
Copy link
Collaborator Author

klodeckl commented Jun 8, 2012

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
Copy link
Owner

noelboss commented Jun 8, 2012

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...

@noelboss noelboss closed this as completed Jun 8, 2012
@klodeckl
Copy link
Collaborator Author

klodeckl commented Jun 8, 2012

Thanks! I will test it next week.

@klodeckl
Copy link
Collaborator Author

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
Copy link
Owner

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
Copy link
Collaborator Author

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
Copy link

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
Copy link
Collaborator Author

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
Copy link
Collaborator Author

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/).

@klodeckl klodeckl reopened this Apr 10, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants