ugenda
  ugenda
Gold Member
  Monday, 19 December 2022
  9 Replies
  293 Visits
0
Votes
Undo
I have set up an import of a calendar with events from an other site. The import works fine, but it doesn't import the image associated with an event, since an image is not a part of the iCal specification. That is ok. The import still saves the event location al lot of time adding events one by one to our calendar.
Also nice is that the import updates events, when changes are made to the source calendar. But the import also overrides other fields, that are not standard in iCal. When we add an image to en event in JEvents, the image is removed the next time we sync.

How can we add images to events that are imported, without having them removed each update? The source iCal calendar feed, does have a specific image field as an extra field. It is added by the Wordpress plugin Timely Calendar. See: https://thiemeloods.nl/programma/
ugenda set the post as Normal priority — 1 year ago
ugenda set the type of the post as  Technical — 1 year ago
1 year ago
·
#229186
0
Votes
Undo
It is theoretically possible the standard images addon for JEvents and the custom fields addon can import custom values not in the iCal specification but not in the format supplied by this server. You would need a script to convert the format and rename this field prior to importing into JEvents

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!

1 year ago
·
#229198
0
Votes
Undo
Two questions:
How can I import extra fields in the iCal feed into a custom field?
And am I correct that a synchronising overwrites all the existing data, including images (which seem to be stored in a serrate database table).
1 year ago
·
#229221
0
Votes
Undo
See https://www.jevents.net/frequently-asked-questions/importing-events-in-csv-format - notice how we have extra columns for custom fields

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!

1 year ago
·
#229227
0
Votes
Undo
Thank you for pointing this out, I've used this before when migrating from our old calendar extension, Joomla Event Manager, to JEvents. But this is importing csv. (Which is more flexible with custom fields) The format we're importing from the other site, and where my question is about, is iCal / ics.
1 year ago
·
#229289
0
Votes
Undo
Sorry for the poor level of support over the year end.

You should be able to add custom fields to the ICS file in the same way so if you use a column title 'jevtags' in the CSV file with values "fred,My Tag" - it should be possible to add

jevtags:fred,My Tag

as a line in the ICS file.

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!

1 year ago
·
#229304
0
Votes
Undo
Sorry for the poor level of support over the year end.

You should be able to add custom fields to the ICS file in the same way so if you use a column title 'jevtags' in the CSV file with values "fred,My Tag" - it should be possible to add

jevtags:fred,My Tag

as a line in the ICS file.


Apologies accepted. You're support during the past year was superb, so a little holiday break is well deserved. :)

To make things clear: I have no control over the ics I'm importing. And the ics has a reference field to multiple sizes of the WordPress image.
1 year ago
·
#229353
0
Votes
Undo
I could write some custom code to pick up this data within the standard images/files extension in JEvents.

Do you have any budget for custom work like this?

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!

1 year ago
·
#229388
0
Votes
Undo
Hi Geraint,

Thank you for your offer. We are connecting to other event calendars where we get the data either through a xml or a json feed. A programmer created a custom cli-script for us, with connectors for each feed. (Not all have the same structure) It would be best for us to ask the organisation in question here, to build a xml feed where we can hook into.
The advantage of our solution is that it not only grabs the correct image, it also has an option to match locations and categories that might have a different names in the source.

But there are more calendars were few want to hook into via iCal. It would be nice to have a least set a default image (since there's a limitation to ics and images general) and a default location for a certain feed, like you can set a default category.
1 year ago
·
#229516
0
Votes
Undo
See https://www.rfc-editor.org/rfc/rfc5545#section-3.8.1.1 - we may be able to support and image attached to an event in the ical specification using ATTACH

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!

  • 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.