pulibrary / pul_library_drupal

Deprecated - Princeton University Library Core Site Drupal Codebase
https://library.princeton.edu/
GNU General Public License v2.0
3 stars 0 forks source link

Import LibCal events via CSV from lib-jobs, rather than ical #1944

Closed sandbergja closed 1 year ago

sandbergja commented 1 year ago

Importing libcal events through the ical feed doesn't seem to work on PHP 8 (see https://github.com/pulibrary/princeton_ansible/issues/3350#issuecomment-1276740693) without serious changes to the date_ical module and/or the iCalcreator library (or possibly moving to a different module).

However, the friends_of_pul site imports libcal events through an RSS feed instead of ical. Is this option possible for this site too?

kevinreiss commented 1 year ago

We should be able to make this switch. We can test this in our next maint. week.

kevinreiss commented 1 year ago

To test this the configuration of the feeds importer for events will need to be re-configured to pull field values from the RSS rather than ICS feed. Steps to take in your local pul library environment to test this.

  1. Structure -> Feeds Importers -> LibCal Events - Workshops -> Override
  2. First Check The "Mappings" settings under "Processor" and note the fields the feed is looking for. Confirm versions of these exist in the RSS feed.
  3. If the mapping is straightforward update the Parser to parse RSS
  4. Return to the Processor and re-map the fields.
  5. Go to /import/libcal_events_workshops and update the URL to use the RSS feed.
  6. Test the feed interactively from this page. I'm not entirely sure what will happen to content previously imported via the ICS feed.
christinach commented 1 year ago

Hey team! Please add your planning poker estimate with Zenhub @sandbergja @kayiwa @maxkadel @rladdusaw

kevinreiss commented 1 year ago

Jane and I will give this a test.

kevinreiss commented 1 year ago

Closed by https://github.com/pulibrary/pul_library_drupal/pull/1949