would be nice to use the ical categories field with taxonomy terms

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

coredumperror’s picture

Good 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.

hanness’s picture

thanks :)

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 :)

Once I get some free cycles to work on Date iCal, I'll add that feature.

any idea when that could be?

mooru’s picture

For some reason. Date ical is not syncing with calendar applications. Is this due to a bug

kobb’s picture

FileSize
50.9 KB

feeds screenshot

Am 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?

hanness’s picture

no, 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)

kobb’s picture

OK. 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:

  • Enable Feeds Tamper
  • Go to the Tamper tab on your feed
  • Add plugin for the taxonomy reference field
  • Choose Set Default
  • And add your calendar's name or whatever as the default value

Make sure you have Auto Create checked on the target configuration

coredumperror’s picture

Status: Active » Postponed

I'm marking this feature request as postponed, since Date iCal is now in maintenance-only mode until someone volunteers as (co-)maintainer.

gmaxwelled’s picture

FileSize
3.16 KB
45.17 KB

I 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.

humansky’s picture

@coredumperror, I would be happy to help as a co-maintainer.

humansky’s picture

Status: Postponed » Reviewed & tested by the community

Patches in #8 work for me

joelstein’s picture

#8 works for me.

coredumperror’s picture

Status: Reviewed & tested by the community » Fixed

I've committed the patch from #8. It'll show up in the dev build soon.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.