Wednesday, 18 October 2023
  7 Replies
  537 Visits
1
Votes
Undo
If the description of an event contains a link with an ampersand, the iCal export fails.
For example the link:
https://www.jevents.net/test?xx=5&zz=2

Leads to this warning in the export file, that makes it unusable:
Warning: DOMDocumentFragment::appendXML(): Entity: line 1: parser error : EntityRef: expecting ';' in .../components/com_jevents/libraries/helper.php on line 4274
GreezeLee set the post as Normal priority — 1 year ago
GreezeLee set the type of the post as  Technical — 1 year ago
Tuesday, 24 October 2023 14:55
·
#232707
0
Votes
Undo
How was your event created the & should have been converted to a & by your editor

JEvents Club members can get priority forum support at the Support Forum. As well as access to a variety of custom JEvents addons and benefits. Join the JEvents club today!

Wednesday, 25 October 2023 12:16
·
#232732
0
Votes
Undo
The problem is that it's part of the HTML. It's in the link href attribute. So the editor doesn't convert it:

<a href="https://www.jevents.net/test?xx=5&zz=2">Open the flyer of the event</a>


We use this functionality to add links to download the event flyer. But unfortunately this breaks the subscriptions through the ical feeds.
Sunday, 29 October 2023 13:13
·
#232770
0
Votes
Undo
How was your event created the & should have been converted to a & by your editor

Which editor are you using in Joomla - if you added

<a href="https://www.jevents.net/test?xx=5&zz=2">Open the flyer of the event</a>

most would convert it to this during saving

<a href="https://www.jevents.net/test?xx=5&zz=2">Open the flyer of the event</a>

JEvents Club members can get priority forum support at the Support Forum. As well as access to a variety of custom JEvents addons and benefits. Join the JEvents club today!

Sunday, 29 October 2023 19:47
·
#232778
0
Votes
Undo
The Event was created by the JEvent editor. The description is edited with the JCE Editor.
But I don't understand your point. It's exact the same html statement in both of you code fragments, there is no difference.
Tuesday, 07 November 2023 18:46
·
#232848
0
Votes
Undo
Sorry - the forum software has made the correction for me.

The problem is that your URL contains a naked & and not a & a m p ; (spaces added to stop the forum from auto-correcting this).

Which version of JCE are you using?

JEvents Club members can get priority forum support at the Support Forum. As well as access to a variety of custom JEvents addons and benefits. Join the JEvents club today!

Tuesday, 07 November 2023 21:54
·
#232864
0
Votes
Undo
It's the JCE editor 2.9.32.
That a content editor html encodes the URL in a link sounds strange to me. Usually only the display text is replaced, not the URL. If I HTML-encode the & in the URL in the HTML source, it works. But the opened URL still contains the encoded characters. It's interpreted correctly by the browser I used to test it, but it seems wrong to me.
Tuesday, 07 November 2023 22:26
·
#232868
0
Votes
Undo
GreezeLee marked this post as Resolved — 1 year ago
  • Page :
  • 1
There are no replies made for this post yet.