U
U
uyrij2015-09-18 10:43:57
PHP
uyrij, 2015-09-18 10:43:57

How to convert a human-readable (Word) table to iCalendar format? for subsequent import into the online calendar?

There is a file in a Word, a table of two fields
date and name of the event. The question is how to get a file for import into an online calendar (for example, Yandex) with ical support?
iCalendar format itself is non -tabular description from wiki
BEGIN:VCALENDAR
VERSION:2.0
PRODID:-//hacksw/handcal//NONSGML v1.0//EN
BEGIN:VEVENT
UID:[email protected]
DTSTAMP:19970714T170000Z
ORGANIZER;CN=John Doe: MAILTO:[email protected]
DTSTART:19970714T170000Z
DTEND:19970715T035959Z
SUMMARY:Bastille Day Party
END:VEVENT
END:VCALENDAR
suggest python or bash scripts

Answer the question

In order to leave comments, you need to log in

2 answer(s)
F
FanatPHP, 2019-04-24
@CodeInMyHeart

Do I understand correctly that from all this infernal shit code you do not understand only the operator for adding to the array [] ?
Tear the textbook, burn it and throw it in the trash.
For the future, this code is written like this

$data = mysqli_query($link, "SELECT * FROM workers")->fetch_all(MYSQLI_ASSOC);
var_dump($data);

U
uyrij, 2015-09-18
@uyrij

"In a simple way" I already solved the problem by Word to Excel - copy-paste to Google table - saving from Google table to CSV, import by loading into Google calendar - export from Google calendar to Ical.zip file
But this is not a scripted solution to the issue.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question