Wednesday, 18 October 2023
  7 Replies
  254 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 — 7 months ago
GreezeLee set the type of the post as  Technical — 7 months ago
6 months ago
·
#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!

6 months ago
·
#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.
6 months ago
·
#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!

6 months ago
·
#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.
6 months ago
·
#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!

6 months ago
·
#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.
GreezeLee marked this post as Resolved — 6 months ago
  • Page :
  • 1
There are no replies made for this post yet.

Members Area

Show your support

Unlike many Joomla calendars we do not charge to download JEvents - please show your support for this project by becoming a member of the JEvents Club Club members get access to early releases, exclusive member support forums, and Silver and Gold members can use many exciting JEvents addons

Your membership will ensure that JEvents continues to be the best events calendar for Joomla.