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

RSS feed not working in version 11 #2346

Closed
emileblume opened this issue Jan 30, 2024 · 5 comments
Closed

RSS feed not working in version 11 #2346

emileblume opened this issue Jan 30, 2024 · 5 comments

Comments

@emileblume
Copy link

Bug Report

Current Behaviour
The page that should show the XML-feed (/rss.xml) stays empty

Expected behaviour/output
The RSS feed should show

Environment

  • TYPO3 version(s): 11.5.33 / 11.5.34
  • news version: 11.2.0 / 11.3.0
  • PHP 7.4 / 8.2
  • Is your TYPO3 installation set up with Composer (Composer Mode): yes
  • OS: Sonoma 14.3

Possible Solution

Additional context
When I downgrade news to version 10.0.3 the RSS feed re-appears

@marvinm96
Copy link

Hello

I came here because i stumbled upon the same behavior after updating my version of news

After some search i noticed the issue came from my TypoScript

I was previously using the default configuration from the documentation here https://docs.typo3.org/p/georgringer/news/10.0/en-us/Tutorials/BestPractice/Rss/Index.html#id3

It appears that with news version 10.0.x plugins are still using the list_type value of the tt_content to define the plugin
pageNewsRSS.10.select.where = colPos=0 AND list_type = "news_pi1"

However with news version > 11.x.x plugins are now using the CType instead
Thus, the TypoScript needs to be slightly updated
pageNewsRSS.10.select.where = colPos=0 AND CType = "news_pi1"

My plugins were updated, but not my TypoScript template, and the change was so small i didn't see it.
By just changing this part my RSS feeds started working again
(Also make sure you have the Generic.html template instead of List.html in the fluid_styled_content templates folder)

I've checked the documentation, the example given in the documentation for version 11.0 is incorrect, tho it's fixed in the version 11.1 and onwards

Hope this is clear enough and can help you if your problem is the same as mine

@emileblume
Copy link
Author

@marvinm96 Thanks for the pointer. Completely forgot about this change. I managed to restore my feeds by calling the new plugin in a slightly different way though. Would be good if the documentation for this was updated

@georgringer
Copy link
Owner

@emileblume
Copy link
Author

@georgringer Based on the suggestion from @marvinm96 it should be but for me this isn't working. I will keep using my solution

@georgringer
Copy link
Owner

closing as works for me and haven't found what could be wrong

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