Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
would be nice to use the ical categories field with taxonomy terms
Comment | File | Size | Author |
---|---|---|---|
#8 | date_ical-export_categories-2266641-8-D7.png | 45.17 KB | gmaxwelled |
#8 | date_ical-export_categories-2266641-8-D7.patch | 3.16 KB | gmaxwelled |
Comments
Comment #1
coredumperror CreditAttribution: coredumperror commentedGood idea. Date iCal can import CATEGORIES as taxonomy terms, but I completely forgot that it can't export taxonomy terms as CATEGORIES.
Once I get some free cycles to work on Date iCal, I'll add that feature.
Comment #2
hannessthanks :)
another export-issue: on our current site we´re using two fields for location. on is the title of the location and the other is the address. there is a famous wordpress plugin (www.time.ly) doing the same and for the exports it puts both together in the location ical field with @ between --> "location @ address". so we wrote something for the import and know put the words before the @ into our location field and those behind into the address field.
I have no idea how complex this is, but it would be great if this could be an option for the ical export here. so that there could be the function to combine several fields for the ical location field and choose separators like @.
and by the way: it would be also nice to configure the ical description field. currently it puts in all drupal fields like Description: "..."Location: "..."Date: "..." we would like to have only the description field here ore configurable with tokens.
Another thing is that it is plain text only. better would be the possibility to choose between html and text..
depending on the complexity and your time it would be great if you could implement these features too :)
any idea when that could be?
Comment #3
mooru CreditAttribution: mooru commentedFor some reason. Date ical is not syncing with calendar applications. Is this due to a bug
Comment #4
kobb CreditAttribution: kobb commentedAm I correct in assuming that the bottom row in the above screenshot should create a taxonomy term based on the Google Calendar's calendar name?
Comment #5
hannessno, there is a categories field in the ical format (i don´t know if google calandar has categories and does export them). so based on this drupal terms will be created.
you can see this for example in this file if you open it as text http//ttfreiburg.de/?plugin=all-in-one-event-calendar&controller=ai1ec_exporter_controller&action=export_events&cb=869147491 look for categories (the content is in german)
Comment #6
kobb CreditAttribution: kobb commentedOK. Thanks @hannes92. For anyone using Google Calendar and needing to create taxonomy terms based on the Calendar's name, this is how I accomplished it:
Make sure you have Auto Create checked on the target configuration
Comment #7
coredumperror CreditAttribution: coredumperror commentedI'm marking this feature request as postponed, since Date iCal is now in maintenance-only mode until someone volunteers as (co-)maintainer.
Comment #8
gmaxwelled CreditAttribution: gmaxwelled commentedI see that the feature is marked as postponed, but I hope it's ok if I post this patch. It has worked for me to add the CATEGORIES field to my feeds. I have the categories as a term reference field in my content type, and this works perfectly to display the term name(s) in the feed. It will also work if the categories are stored in a text field.
Comment #9
humansky CreditAttribution: humansky as a volunteer commented@coredumperror, I would be happy to help as a co-maintainer.
Comment #10
humansky CreditAttribution: humansky as a volunteer commentedPatches in #8 work for me
Comment #11
joelstein CreditAttribution: joelstein commented#8 works for me.
Comment #13
coredumperror CreditAttribution: coredumperror commentedI've committed the patch from #8. It'll show up in the dev build soon.