craigh / PostCalendar

PostCalendar is a calendar module for the Zikula Application Framework
20 stars 9 forks source link

PostCalendar 8.0.3 / Zikula 1.3.10 -- RSS Feed doesn't show all entries #105

Open detlefmue opened 8 years ago

detlefmue commented 8 years ago

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.

craigh commented 8 years ago

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

detlefmue commented 8 years ago

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

craigh commented 8 years ago

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.

detlefmue commented 8 years ago

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?

craigh commented 8 years ago

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.

detlefmue commented 8 years ago

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?

craigh commented 8 years ago

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.

detlefmue commented 8 years ago

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.

cmfcmf commented 8 years ago

Hi @detlefmue, try this URL: http://www.mind-control-news.de/rss/terminkalender/display/viewtype/xml

detlefmue commented 8 years ago

Hi @cmfcmf .. same result like before. Some events are missing.

craigh commented 8 years ago

can you determine any pattern in the missing events? certain category? date range? content?

detlefmue commented 8 years ago

I already looked at this, but I can't see any pattern.

craigh commented 8 years ago

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.