Closed Bug 303174 Opened 19 years ago Closed 18 years ago

iCalendar extension-properties suggestion

Categories

(Calendar :: Internal Components, enhancement)

x86
Windows 2000
enhancement
Not set
normal

Tracking

(Not tracked)

VERIFIED WONTFIX

People

(Reporter: felipe, Assigned: gray)

Details

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.7.10) Gecko/20050716 Firefox/1.0.6
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.7.10) Gecko/20050716 Firefox/1.0.6

What about an option to add additional extension properties to an event? For
example, a way to get

X-Link: http://something.net/foo

exported in an iCal of an event?

Reproducible: Always

Steps to Reproduce:
This should already be possible.  See this thread for a very similar question:
http://groups.google.com/group/netscape.public.mozilla.calendar/browse_frm/thread/354da3bafb5f4338?tvc=1&q=syncid&hl=en
Status: UNCONFIRMED → RESOLVED
Closed: 19 years ago
Resolution: --- → WORKSFORME
It's possible, but is there UI to add the extra iCal fields? I can't find it
anywhere....it seems like it should be somewhere within an event's properties
dialog.
Status: RESOLVED → UNCONFIRMED
Resolution: WORKSFORME → ---
(In reply to comment #2)
> It's possible, but is there UI to add the extra iCal fields? I can't find it
> anywhere....it seems like it should be somewhere within an event's properties
> dialog.

Wouldn't that be the role of an extension?  Writing an extension that adds a
particular field to the event dialog is fairly easy.  However, adding UI to
allow for general addition of fields, in the standard build, would be something
that every user would have to deal with and I think this feature would confuse
more people than it would help.

If this is just a UI request, then I suggest that it is WONTFIX.
Fair enough....you're right; most users would have no idea what that UI is for.

Is it equally easy to add the parsing mechanism when importing iCal data?
(clarifying title, was "iCal extension suggestion":
iCal is the Apple iCal program to many people... --> iCalendar
extension means xpi to many in context of moz apps --> extension-properties)

Extension properties are just stored and retrieved as text, no additional
parsing is done.

If your extension property is a date property, you can use
calDateTime.icalString to generate the date in ics format.  If it is a floating
date or a UTC ("zulu") date, then you won't have to worry about parsing the
timezone.  The ics format can be parsed with a regular expression.  For an
example, search for "X-DTEND" in the patches to bug 298102.  The ItemDialog
there uses an "X-DTEND" extension property to store the end date for tasks,
which normally do not have an end date.  (There is also an extension xpi for
nightly builds there so you can test and see that it works.)
Summary: iCal extension suggestion → iCalendar extension-properties suggestion
This is WONTFIX, in line with comment #3
Status: UNCONFIRMED → RESOLVED
Closed: 19 years ago18 years ago
Resolution: --- → WONTFIX
Component: libical → Internal Components
The bugspam monkeys have been set free and are feeding on Calendar :: Internal Components. Be afraid for your sanity!
QA Contact: libical → base
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.