PostCalendar icon indicating copy to clipboard operation
PostCalendar copied to clipboard

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

Open detlefmue opened this issue 9 years ago • 13 comments

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.

detlefmue avatar Dec 17 '15 23:12 detlefmue

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

craigh avatar Dec 18 '15 02:12 craigh

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

detlefmue avatar Dec 18 '15 13:12 detlefmue

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.

craigh avatar Dec 18 '15 13:12 craigh

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?

detlefmue avatar Dec 18 '15 13:12 detlefmue

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.

craigh avatar Dec 18 '15 13:12 craigh

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?

detlefmue avatar Dec 18 '15 13:12 detlefmue

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.

craigh avatar Dec 18 '15 14:12 craigh

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.

detlefmue avatar Dec 20 '15 00:12 detlefmue

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

cmfcmf avatar Dec 20 '15 13:12 cmfcmf

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

detlefmue avatar Dec 20 '15 14:12 detlefmue

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

craigh avatar Dec 20 '15 17:12 craigh

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

detlefmue avatar Dec 21 '15 12:12 detlefmue

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.

craigh avatar Dec 21 '15 12:12 craigh