{"id":191,"date":"2023-04-08T14:11:43","date_gmt":"2023-04-08T14:11:43","guid":{"rendered":"https:\/\/docs.joedolson.com\/my-calendar-pro\/?p=191"},"modified":"2025-01-19T23:25:57","modified_gmt":"2025-01-19T23:25:57","slug":"settings-importer","status":"publish","type":"post","link":"https:\/\/docs.joedolson.com\/my-calendar-pro\/settings-importer\/","title":{"rendered":"Settings &#8211; Importer"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">Importer is located under&nbsp;<em>My Calendar &gt; My Calendar Pro &gt; Importer.<\/em><\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"850\" height=\"622\" src=\"http:\/\/docs.joedolson.com\/my-calendar-pro\/wp-content\/uploads\/sites\/4\/2023\/04\/My-Calendar-Pro-Settings-Importer.jpg\" alt=\"My Calendar Pro Settings Importer\" class=\"wp-image-286\" srcset=\"https:\/\/docs.joedolson.com\/my-calendar-pro\/wp-content\/uploads\/sites\/4\/2023\/04\/My-Calendar-Pro-Settings-Importer.jpg 850w, https:\/\/docs.joedolson.com\/my-calendar-pro\/wp-content\/uploads\/sites\/4\/2023\/04\/My-Calendar-Pro-Settings-Importer-300x220.jpg 300w, https:\/\/docs.joedolson.com\/my-calendar-pro\/wp-content\/uploads\/sites\/4\/2023\/04\/My-Calendar-Pro-Settings-Importer-768x562.jpg 768w\" sizes=\"auto, (max-width: 850px) 100vw, 850px\" \/><figcaption class=\"wp-element-caption\">My Calendar Pro Settings &gt; Importer<\/figcaption><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\">Import Events Settings<\/h2>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>Restrict event import by time<\/strong><\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">If you have an import file that contains a wide range of events, you can restrict your import to a subset of those events based on date. <\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Ignore events in the past<\/li>\n\n\n\n<li>Ignore events more than a month in the past<\/li>\n\n\n\n<li>Ignore events more than a year in the past<\/li>\n<\/ul>\n\n\n\n<h3 class=\"wp-block-heading\">Import Events from iCal format (.ics)<\/h3>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"617\" height=\"324\" src=\"http:\/\/docs.joedolson.com\/my-calendar-pro\/wp-content\/uploads\/sites\/4\/2023\/04\/My-Calendar-Pro-Settings-Importer-iCal-format.jpg\" alt=\"My Calendar Pro Settings Importer iCal format\" class=\"wp-image-288\" srcset=\"https:\/\/docs.joedolson.com\/my-calendar-pro\/wp-content\/uploads\/sites\/4\/2023\/04\/My-Calendar-Pro-Settings-Importer-iCal-format.jpg 617w, https:\/\/docs.joedolson.com\/my-calendar-pro\/wp-content\/uploads\/sites\/4\/2023\/04\/My-Calendar-Pro-Settings-Importer-iCal-format-300x158.jpg 300w\" sizes=\"auto, (max-width: 617px) 100vw, 617px\" \/><figcaption class=\"wp-element-caption\">My Calendar Pro Settings &gt; Importer iCal format<\/figcaption><\/figure>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>Import to Category<\/strong><\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">If you&#8217;re importing an iCal source from a URL, you can assign the events from this URL to a specific category in your calendar. The iCal format doesn&#8217;t include any native data that can be used as a category.<\/p>\n\n\n\n<div class=\"wp-block-group\"><div class=\"wp-block-group__inner-container is-layout-constrained wp-block-group-is-layout-constrained\">\n<h3 class=\"wp-block-heading\">Import Events from CSV<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">A .csv file, or comma separated values file, offers a significantly more flexible way of importing events than the standardized iCal format (.ics). While .ics files are standardized, they&#8217;re also quite limited in how they&#8217;re structured and what information can be included.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">The only absolutely required fields are <code>event_title<\/code> and <code>event_begin<\/code>, but you can also automatically generate categories and locations from your CSV import file.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Your CSV file must have a header row that includes the field names as listed below, e.g. &#8220;event_id,event_title,event_begin&#8221;. The header row will be used to map values to My Calendar&#8217;s data structures.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Supported CSV Fields<\/h3>\n\n\n\n<ul>\n<li><code>event_title<\/code> (string):       Title<\/li>\n<li><code>event_begin<\/code> (string):       Starting Date<\/li>\n<li><code>occur_begin<\/code> (string):       Starting Date<\/li>\n<li><code>event_end<\/code> (string):         Ending Date<\/li>\n<li><code>occur_end<\/code> (string):         Ending Date<\/li>\n<li><code>event_time<\/code> (string):        Starting Time<\/li>\n<li><code>event_endtime<\/code> (string):     Ending Time<\/li>\n<li><code>content<\/code> (string):           Description<\/li>\n<li><code>event_desc<\/code> (string):        Description<\/li>\n<li><code>event_short<\/code> (string):       Excerpt<\/li>\n<li><code>event_link<\/code> (string):        External event URL<\/li>\n<li><code>event_link_expires<\/code> (int): Link expiration (0 or 1; 1 means the link will expire after the event.<\/li>\n<li><code>event_recur<\/code> (string):       Recurring frequency period: S &#8211; single, D &#8211; day, E &#8211; weekdays, W &#8211; weekly, M &#8211; month\/date, U &#8211; month\/day, Y &#8211; year.<\/li>\n<li><code>event_repeats<\/code> (string or int):     Number of repetitions or date to repeat until. 4 = event repeats 4 times, for a total of 5 occurrences. 2022-05-25 means &#8220;repeats until May 25th, 2022&#8221;. <\/li>\n<li><code>event_every<\/code> (int):       Recurrence frequency multiplier.  event_recur = D and 3 == every 3 days, event_recur = W and 2 == every two weeks.<\/li>\n<li><code>event_image<\/code> (string):       Event Image URL<\/li>\n<li><code>event_allday<\/code> (int):      Event is all-day (0 or 1)<\/li>\n<li><code>event_author<\/code> (int):      Author ID<\/li>\n<li><code>event_approved<\/code> (int):    Publishing status (0: draft, 1: published, 2: trashed)<\/li>\n<li><code>event_category<\/code> (string or int):    Category Name or ID<\/li>\n<li><code>category_color<\/code> (string):    Category Color (hexadecimal triplet with &#8216;#&#8217;)<\/li>\n<li><code>category_icon<\/code> (string):     Category Icon<\/li>\n<li><code>category_private<\/code> (int):  Category Privacy status (1 if private)<\/li>\n<li><code>event_fifth_week<\/code> (int):  Omit week 5 recurrences (1 to omit)<\/li>\n<li><code>event_holiday<\/code> (int):     Cancel on Holidays (1 to cancel)<\/li>\n<li><code>event_group_id<\/code> (int):    Event Group ID<\/li>\n<li><code>event_span<\/code> (int):        Event spans multiple days (0 or 1)<\/li>\n<li><code>event_hide_end<\/code> (int):    Hide end date (0 or 1)<\/li>\n<li><code>event_status<\/code> (int):      Event Status (0: draft, 1: published, 2: trashed) &#8211; alias for event_approved<\/li>\n<li><code>event_flagged<\/code> (int):     Event Flagged as Spam (0 or 1)<\/li>\n<li><code>event_tickets<\/code> (string):     Event Tickets Link<\/li>\n<li><code>event_registration<\/code> (string): Event Registration Info<\/li>\n<li><code>event_host<\/code> (int):        Event Host ID (User ID, or post ID if configured in misc. settings)<\/li>\n<li><code>event_access<\/code> (string):      Event Accessibility Data (a serialized array)<\/li>\n<li><code>location_preset<\/code> (int):   Location ID<\/li>\n<li><code>event_label<\/code> (string):       Location Label<\/li>\n<li><code>event_street<\/code> (string):      Location Street<\/li>\n<li><code>event_street2<\/code> (string):     Location Street (2)<\/li>\n<li><code>event_city<\/code> (string):        Location City<\/li>\n<li><code>event_state<\/code> (string):       Location State<\/li>\n<li><code>event_postcode<\/code> (string):    Location Postcode<\/li>\n<li><code>event_region<\/code> (string):      Location Region<\/li>\n<li><code>event_country<\/code> (string):     Location Country<\/li>\n<li><code>event_url<\/code> (string):         Location URL<\/li>\n<li><code>event_phone<\/code> (string):       Location Phone Number<\/li>\n<li><code>event_phone2<\/code (string)>:      Alternate Location Phone<\/li>\n<li><code>event_longitude<\/code> (float):   Location longitude (<\/li>\n<li><code>event_latitude<\/code> (float):    Location latitude<\/li>\n<li><code>event_zoom<\/code> (int):        Map zoom level<\/li>\n<li><code>event_location<\/code> (int):    Location ID in locations table &#8211; assign a location to the event<\/li>\n<li><code>UID<\/code> (string):               Unique event ID. If an event exists with this UID already, it will be updated instead of added.<\/li>\n<li><code>event_added<\/code> (string):       Date this event was added to source calendar<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">Notes<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Category name, color, icon, and privacy fields are only applied if the value passed in <code>event_category<\/code> does not already exist. If a category name is supplied that is already present, the category will not be updated to match.<\/li>\n\n\n\n<li>Event Approval status is only managed when an imported event is being updated.<\/li>\n<\/ul>\n<\/div><\/div>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>Remote import frequency<\/strong><\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">When importing events by URL, you can set a regular import schedule. This is useful for importing from sources that update periodically. As long as the import source includes a unique ID field, you won&#8217;t have to worry about importing duplicate events. <\/p>\n\n\n\n<p class=\"wp-block-paragraph\">The import frequencies are based on your existing cron schedules, so they may vary, but the default frequencies are:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>One time import<\/li>\n\n\n\n<li>Once Weekly<\/li>\n\n\n\n<li>Once Monthly<\/li>\n\n\n\n<li>Once Hourly<\/li>\n\n\n\n<li>Twice Daily<\/li>\n\n\n\n<li>Once Daily<\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\">Scheduled Imports<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">In the &#8220;Remote import frequency&#8221; drop down. Selecting Once Weekly\/Monthly\/Hourly\/Daily or Twice Daily. Opens the Scheduled Imports. Here is an example from selecting Once Weekly.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"640\" height=\"491\" src=\"http:\/\/docs.joedolson.com\/my-calendar-pro\/wp-content\/uploads\/sites\/4\/2023\/04\/My-Calendar-Pro-Settings-Importer-Scheduled-Imports-Once-Weekly.jpg\" alt=\"My Calendar Pro Settings Importer Scheduled Imports Once Weekly\" class=\"wp-image-289\" srcset=\"https:\/\/docs.joedolson.com\/my-calendar-pro\/wp-content\/uploads\/sites\/4\/2023\/04\/My-Calendar-Pro-Settings-Importer-Scheduled-Imports-Once-Weekly.jpg 640w, https:\/\/docs.joedolson.com\/my-calendar-pro\/wp-content\/uploads\/sites\/4\/2023\/04\/My-Calendar-Pro-Settings-Importer-Scheduled-Imports-Once-Weekly-300x230.jpg 300w\" sizes=\"auto, (max-width: 640px) 100vw, 640px\" \/><figcaption class=\"wp-element-caption\">My Calendar Pro Settings &gt; Importer &#8211; Scheduled Imports Once Weekly<\/figcaption><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">When you schedule an event import, the first automatic import will be scheduled for the future at the end of the current interval. To get the current events, complete the import in the same way you would for a one-time import. If you do not complete the one-time import, the schedule will still be established.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Individual scheduled imports can be deleted, but not edited.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Importer is located under&nbsp;My Calendar &gt; My Calendar Pro &gt; Importer. Import Events Settings Restrict event import by time If you have an import file that contains a wide range of events, you can restrict your import to a subset of those events based on date. Import Events from iCal format (.ics) Import to Category [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[2,17],"tags":[],"class_list":["post-191","post","type-post","status-publish","format-standard","hentry","category-admin","category-settings"],"_links":{"self":[{"href":"https:\/\/docs.joedolson.com\/my-calendar-pro\/wp-json\/wp\/v2\/posts\/191","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/docs.joedolson.com\/my-calendar-pro\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/docs.joedolson.com\/my-calendar-pro\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/docs.joedolson.com\/my-calendar-pro\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/docs.joedolson.com\/my-calendar-pro\/wp-json\/wp\/v2\/comments?post=191"}],"version-history":[{"count":10,"href":"https:\/\/docs.joedolson.com\/my-calendar-pro\/wp-json\/wp\/v2\/posts\/191\/revisions"}],"predecessor-version":[{"id":192,"href":"https:\/\/docs.joedolson.com\/my-calendar-pro\/wp-json\/wp\/v2\/posts\/191\/revisions\/192"}],"wp:attachment":[{"href":"https:\/\/docs.joedolson.com\/my-calendar-pro\/wp-json\/wp\/v2\/media?parent=191"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/docs.joedolson.com\/my-calendar-pro\/wp-json\/wp\/v2\/categories?post=191"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/docs.joedolson.com\/my-calendar-pro\/wp-json\/wp\/v2\/tags?post=191"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}