Support » Plugin: amr ical events lists » Custom fields in iCal feeds

  • Hi,

    I am working with an ics file that has custom fields in it — not part of the ics spec.

    Example:

    X-TRUMBA-CUSTOMFIELD;NAME="Contact Name";ID=28380;TYPE=SingleLine:Contactperson Name

    Is there a way to bring this in and display it with amr-ical-events-list? I see this note, but I am not seeing my fields:

    “Lowercase fields are additional fields added by this plugin and derived from the iCal fields for your convenience.”

    http://wordpress.org/extend/plugins/amr-ical-events-list/

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author anmari

    (@anmari)

    noted on my list! not easy off top of head. Might have to be an add-on so as not to lumber the whole plugin with specific ‘trumba’ wtmb code

    Thread Starter Bill Dennen

    (@xyzzy)

    Thanks. Could an add-on allow for custom mappings?

    In this case, the key would be:
    X-TRUMBA-CUSTOMFIELD;NAME=”Contact Name”;ID=28380;TYPE=SingleLine

    and the value would be:
    Contactperson Name

    The problem is, with trumba specifically, these custom fields come over with a custom ID (the “ID=28380” part). So, it would be hard for you to add code specifically for this. Does that make sense?

    Also, FYI, Trumba is an online calendar: http://www.trumba.com/

    Plugin Author anmari

    (@anmari)

    Hi Bill,

    I’m wrapping up testing on additional filters etc to allow such custom fields…

    Is that the best ‘trumba’ example you have? It does not appear to have a ‘value’ as defined by the ics RFC5545 spec. IE: the bit after the colon :. All the other bits are properties, parameters or modifiers. Strictly speaking there should be a ‘value’.

    x-prop = x-name *(“;” icalparameter) “:” value CRLF

    Example: The following might be the ABC vendor’s extension for an
    audio-clip form of subject property:

    X-ABC-MMSUBJ;VALUE=URI;FMTTYPE=audio/basic:http://www.example.
    org/mysubj.au

    Also the name doesn’t need quotes around it.
    By the way….. from what I can see, my plugin amr-events does much of that (except paying for events) inside wordpress without charging you monthly.

    Plugin Author anmari

    (@anmari)

    Hi Bill, Researched it all quite a lot, found a variety of examples and figured out how it might work. Took a while.

    If you still want to do it, it’s possible:
    http://icalevents.com/features/trumba-custom-field-add-on/

    Thread Starter Bill Dennen

    (@xyzzy)

    anmari, thanks so much for making changes and offering this add-on. I’ll take a look.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Custom fields in iCal feeds’ is closed to new replies.