Page MenuHomePhabricator

export format icalendar: escape and new line replacement?
Closed, ResolvedPublic

Description

Is it possibel to improve the export of format=icalendar to replace line breaks by new line and escape , ; to \; \, ?

I tested an http://icalvalid.cloudapp.net/ icalendar validator and it complains about missing escaping of comma semicolon and when there is a line break it causes also an error in the exported ical file.

Hope that can be adjusted.

Thanks,
Andreas


Version: unspecified
Severity: enhancement

Details

Reference
bz60038

Event Timeline

bzimport raised the priority of this task from to Needs Triage.Nov 22 2014, 2:53 AM
bzimport set Reference to bz60038.
bzimport added a subscriber: Unknown Object (MLST).

Help how to escape what, details on escaping of field types and wrapping of long lines etc. see http://www.ietf.org/rfc/rfc5545.txt

E.g. value type text see section 3.3.11. page 44f. writes:

escape \ to \\
escape , to \,
escape ; to \;
escape newline to \n
escape " to DQUOT

etc.

Unknown Object (User) added a comment.Jan 15 2014, 6:38 PM

Feel free to add a patch set to [1] or ask on the smw-mailinglist for a volunteer developer who is willing to implement such feature.

[1] https://github.com/SemanticMediaWiki/SemanticResultFormats