Active
Project:
Smart Date
Version:
8.x-2.x-dev
Component:
Smart Date Recur
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
16 May 2020 at 20:30 UTC
Updated:
19 Oct 2022 at 07:01 UTC
Jump to comment: Most recent
Comments
Comment #2
mandclu commentedDefinitely seems possible, but without a feed to test against not something I'm in a good position to test against. Maybe you could see if @komlenic or @inst would be interested in helping, who helped in #3122092: smart date and feeds?
Comment #3
jon.lund commentedLike I said earlier, I appreciate all of the work you are doing. This is what I have been waiting for to switch from Drupal 7 for a long time.
I am willing to assist with testing. Everything else is working perfectly for me including Importing ics feeds. I had modified my Drupal 7 version as well in order to make ics feeds work with rrule, however this code base looks a little different. I think I have the feed parcer end working. I am simply not getting the data into the Smart Date rule.
Comment #4
mandclu commentedFor some added context, Smart Date Recur stores the rule as a separate entity. So you need code that would create the rule entity, then use that to generate the instances that would populate field instances in your Smart Date value.
Here's the code within the SmartDateWidgetBase that Smart Date uses internally for a similar end:
Comment #5
mandclu commentedsmart_date_recur_generate_rows() is defined in smart_date_recur.module, if you want to look through what it does.