WordPress.org

Ready to get started?Download WordPress

Forums

amr ical events lists
[resolved] Custom fields in iCal feeds (6 posts)

  1. Bill Dennen
    Member
    Posted 1 year ago #

    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/

  2. anmari
    Member
    Plugin Author

    Posted 1 year ago #

    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

  3. Bill Dennen
    Member
    Posted 1 year ago #

    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/

  4. anmari
    Member
    Plugin Author

    Posted 1 year ago #

    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.

  5. anmari
    Member
    Plugin Author

    Posted 1 year ago #

    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/

  6. Bill Dennen
    Member
    Posted 1 year ago #

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

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic