PostCalendar
PostCalendar copied to clipboard
PostCalendar 8.0.3 / Zikula 1.3.10 -- RSS Feed doesn't show all entries
Hallo. Since PostCalendar new installed on a website, I encounter problems with the feed. It doesn't show all events. http://www.mind-control-news.de/terminkalender/display
Question about the function: The feed should show all entries beginning with the actual date ..?
Would be nice if this problem can be solved as I want to use the feed function.
It has been years since I looked at this code. I think I remember it having something to do with a 'items per page' setting somewhere. you might check that
There is no entry in the settings. The only point concerning RSS I can see is 'Number of months to display in list/rss view '. Is set to 12 at this time.
On a German site RSS usually works fine. Version there is 6.2.0 ... http://www.levschach1919.de/rss/PostCalendar/view/viewtype/xml
If you set it higher, does it accomplish what you want? You might also experiment with a setting like 0
or -1
to see if that results in "all". I can't remember.
I first tried 36 - no changes. Trying 0 results in no entries in feed. -1 is changed to 1 when saved.
How do you mark values in a posting like above?
interesting. Are you sure your events extend beyond what you are seeing in the feed? It seems increasing the months would include more.
In any case, I can't help at the moment beyond what I already have done. You are welcome to look into the code and if you find a better solution, send a PR to fix the problem. I'm sorry I cannot be of more help for now.
Yes, I'm sure.
I have no php abilities. But I have a friend who knows php programming. Can you tell in which files he should look at?
https://github.com/craigh/PostCalendar/blob/master/lib/PostCalendar/CalendarView/Xml.php
https://github.com/craigh/PostCalendar/blob/master/lib/PostCalendar/CalendarView/List.php
https://github.com/craigh/PostCalendar/blob/master/lib/PostCalendar/CalendarView/AbstractCalendarViewBase.php
by looking at the code just now, it seems that the view is controlled by the "number of months" setting. There isn't much else at work. You might check the other 'list' views (list and iCal) and see if they differ. they shouldn't. You might also check and see if categories are restricting your view somehow.
Thanks. I talked to my friend today. He'll have a look at the code.
If he find the problem, I'll notice it here.
Hi @detlefmue, try this URL: http://www.mind-control-news.de/rss/terminkalender/display/viewtype/xml
Hi @cmfcmf .. same result like before. Some events are missing.
can you determine any pattern in the missing events? certain category? date range? content?
I already looked at this, but I can't see any pattern.
but I can't see any pattern.
Then it cannot be date/time related.
Find one event that is not part of the RSS and inspect the content. I remember having similar issues with this on my own site. I remember having to correct the content so that the RSS feed would work.