Friday, 02 December 2022
  1 Replies
  228 Visits
0
Votes
Undo
Hello, I have a very important question. I present my case:
We have a Portal with Joomla and they pass us an API that gives event information, for this we want to use their Jevents plugin. The api comes in JSON format and our idea is to convert the JSON to CSV to fill in the event fields and adapt them to the JEVENTSHA structure. So far, the problem that arises is that the API information returns the dates in this format :
"Celebration Dates": [
"2022-12-06T00:00:00",
"2022-12-08T00:00:00",
"2022-12-13T00:00:00",
"2022-12-15T00:00:00",
"2022-12-20T00:00:00",
"2022-12-22T00:00:00",
"2022-12-24T00:00:00",
"2022-12-25T00:00:00",
"2022-12-27T00:00:00",
"2022-12-29T00:00:00",
"2022-12-31T00:00:00",
"2023-01-01T00:00:00",
"2023-01-03T00:00:00",
"2023-01-05T00:00:00"
],
So the problem is that we cannot complete the CSV RRULE field because the structure of this field is as follows
Example:
FREQUENCY=WEEKLY;COUNTER=5;INTERVAL=1;PER DAY=US
THE COUNT if we can get it and the INTERVAL also like the days but the frequency does not give us to show it.
Could or do you know how to solve it, or if there is another way to feed the component with the data that the API passes us.
Thanks
jconesa set the post as Normal priority — 1 year ago
jconesa set the type of the post as  Technical — 1 year ago
1 year ago
·
#228861
0
Votes
Undo
There isn't an easy way to do this since the iCal specifications don't allow for irregular date patterns. You could set them up date date exceptions but that would have to be an ics file and the structure is a LOT more complex :(

JEvents Club members can get priority forum support at the Support Forum. As well as access to a variety of custom JEvents addons and benefits. Join the JEvents club today!

  • Page :
  • 1
There are no replies made for this post yet.

Members Area

Show your support

Unlike many Joomla calendars we do not charge to download JEvents - please show your support for this project by becoming a member of the JEvents Club Club members get access to early releases, exclusive member support forums, and Silver and Gold members can use many exciting JEvents addons

Your membership will ensure that JEvents continues to be the best events calendar for Joomla.