Problem/Motivation
I have a google calendar feed and there are too many events from last 10 years. I want to make sure that I can only import the events from last 2 years. But there is no option for me to import event only from last two years.
Issue fork feeds_ical-3323737
Show commands
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #2
ben.hamelin@someshver I think we can handle this with the $filterDaysBefore argument. This will require a new Parser form for config.
Comment #4
ben.hamelin@someshver opened merge request for this work. Adds a new parser config form and updates parser logic to exclude any event older than "day before" setting. Leave blank or enter 0 to process entire feed as before.
Hoping this is still useful for folks!
Comment #5
someshver commentedThank you @ben.hamelin
Comment #7
das.gautam commented@ben.hamelin
I was encountering this error after saving the feed type. I have made some changes in the above PR—please review and let me know your feedback.
Drupal\Core\Config\UnsupportedDataTypeConfigException: Invalid data type for config element feeds.feed_type.feeds_ical_check:parser_configuration.feed_type in Drupal\Core\Config\StorableConfigBase->validateValue() (line 201 of /Applications/MAMP/htdocs/d10/web/core/lib/Drupal/Core/Config/StorableConfigBase.php).https://git.drupalcode.org/project/feeds_ical/-/merge_requests/14/diffs?...
Comment #8
ben.hamelinThanks @das.gautam and @someshver
Going to release this shortly
Comment #10
ben.hamelinReleased in 2.3.2