Home › Forums › Calendar Products › Events Calendar PRO › Load older stories in Event Calendar
- This topic has 11 replies, 3 voices, and was last updated 7 years ago by Robert.
-
AuthorPosts
-
March 1, 2017 at 1:08 am #1247504RobertParticipant
Hello,
I am using http://website/events/feed/ in an app to get an rss feed. It works well but it only loads 20 events. How do I load more events? For example in the wordpress api you could do something like http://website/events/feed/page=2 but it doesn’t work for the events.
Thank you
March 1, 2017 at 10:15 am #1247831CourtneyMemberHi Robert
Have you tried going to WP’s Settings → Reading screen and increasing the number of syndication feeds?
Let me know if that works out.
Thanks,
CourtneyMarch 2, 2017 at 2:08 pm #1248617RobertParticipantThat works but it only allows for a set number. Is there a way to have infinite scrolling?
March 3, 2017 at 11:27 am #1249191CourtneyMemberHey Robert
There isn’t a way for infinite scrolling in RSS really. However, when I reviewed the http://choicemedia.tv/events/feed in an RSS reader, I was able to see the past 24 events.
Can you tell me more about the app that you want to have fetch the RSS? There might be other solutions.
Thanks,
CourtneyMarch 4, 2017 at 4:34 pm #1249558RobertParticipantSo in our app we have calendar events that are listed but it only shows 20. When you scroll to the bottom of that 20 nothing shows up anymore. We want items to continuously appear as you scroll down to the bottom. Right now we are accessing the events through an http request to the link you have above in your previous comment. How do we make our app continuously show events until there are none left?
March 7, 2017 at 6:53 am #1250396CourtneyMemberHey Robert,
I have checked in with our developers and specifically asked about other ways to retrieve the events data. Can you give us further details about your app? Our developers believe the RSS feed should suffice, but would need more debug info to understand why you are experiencing the limit of 20.
March 10, 2017 at 1:50 pm #1252644RobertParticipantIn the app I am making an http get request to bring in the events and then converting them from xml to json so that I may process them like an api for the app. The returns only bring back 20, and I am not sure how to increase the amount. Also is the a way to filter in the url to get specific category events? For example, we want to make a dropdown in the app where you can select category specific events. One of our categories id “Education Technology” so in the url can you filter so that you get only events that have to do with tech in the RSS feed?
Ex:
http://choicemedia.tv/events/feed/education-technology
or something like that.March 13, 2017 at 11:06 am #1253405CourtneyMemberHi Robert,
I’m still researching the 20 limit. But I found a quick solution to the RSS by Event category:
http://choicemedia.tv/events/education-technology/feed/
I’ll keep you posted with what I discover about the 20 limit.
Thanks,
CourtneyMarch 16, 2017 at 12:41 pm #1255477RobertParticipantAs of right now, there is nothing within the special categories rss feed. When I look in the feed I don’t see anything. Is there anything special we need in the backend in order to make them show up?
March 20, 2017 at 11:46 am #1256821BrookParticipantHowdy Robert,
I’d be happy to help you in Courtney’s stead.
The feed shows upcoming events in a category. So long as your category has upcoming events, they will appear in the feed. Here is an example:
http://choicemedia.tv/events/category/education-reform-events/
> Have you tried going to WP’s Settings → Reading screen and increasing the number of syndication feeds?
That works but it only allows for a set number. Is there a way to have infinite scrolling?
This is not possible without you writing a customization for WordPress itself, and tying that in to your app. RSS feeds are not really intended to have pages. You could add them, but I can not find any prebuilt solutions for you. Infinite scrolling requires some form of pagination, thus you will first need to add paging support to WordPress feeds before this would work.
Another possibility is extending the WordPress REST API. You could add some custom endpoints to it that serves the data you need. Our plugin does not yet include any that would be helpful to you, so these endpoint pure custom creations of your own making.
If these are all too complicated then I would go with Courtney’s suggestion of setting the # of posts in the feed to a really high number. That’s the best that can be done without writing a custom solution.
Does that all make sense? Do you have any other questions? Please let me know.
Cheers!
– Brook
April 11, 2017 at 9:35 am #1268333Support DroidKeymasterHey there! This thread has been pretty quiet for the last three weeks, so we’re going to go ahead and close it to avoid confusion with other topics. If you’re still looking for help with this, please do open a new thread, reference this one and we’d be more than happy to continue the conversation over there.
Thanks so much!
The Events Calendar Support Team -
AuthorPosts
- The topic ‘Load older stories in Event Calendar’ is closed to new replies.