I'm looking for a standard calendar event? One that you can download and it puts the event into your Google or Outlook calendar? Something equivalent to vcard for contacts?
Any advice would be much appreciated :)
Yes, iCalendar.
Here are more infos, though it all can be found here: http://en.wikipedia.org/wiki/ICalendar
iCalendar data files are plain text files with the extension .ics or .ifb
iCalendar is a standard (RFC 5545)
MIME content type is text/calendar
Example:
BEGIN:VCALENDAR
...
END:VCALENDAR
Yes, it's called iCalendar. Google Calendar supports the iCalendar format, for example.
Related
I know there is some way to create a feed of calendar events that users can add to their calendars and have new events be automatically added to their calendars. I don't know the name of the technology used and searching wasn't bringing up much.
What is the technology used for creating these calendar feeds?
Found the thing I was looking for. It's called CalDav and uses the iCal format for data.
Some more info on Wikipedia.
I am developing a web application which dynamically distributes several .ics files on the web space. So now I am trying to observe those .ics files from mail clients like macOS calendar app, Outlook or Google calendar. Everything works simply perfect with all except Google calendar:
If I am trying to import the calendar from an URL (here) I just get displayed 'busy' as subject for each event (example). This is a weird problem because it works like charm in all other apps. It also works fine if I download the current .ics file and import it statically. (So this can not be only an .ics content problem)
Well, I already checked out several related issues/questions (see bottom) but none provided a capable/correct solution.
Interesting to mention (the last related question brought me to this):
It works if I rearrange the paths and names to the following:
https://myurl.net/calendar.ics
It does not work if I use some of the following patterns:
https://myurl.net/ccalendar.ics
https://myurl.net/foo/calendar.ics
I also posted this problem in Googles calendar forums but the recommended to post something here.
Thanks for your help in advance!
Regards
Related:
my web ical url does not work in google calendar
iCalendar events imported in Google Calendar are empty
Events from iCal Feed URL Display as "Busy" in Google Calendar
Try the provided solution in this SO post:
The calendar's URL that I provided GCal did not end in a filename (I
use a PHP framework with URL rewriting). I updated the URL, appending
"/calendar.ics" to it and subscribed to the URL in GCal, and now all
events seem to display fine, showing all details.
After some experiments I decided to use an ICS validator found on google. It displayed that the MIME-Type of the URLs result may be misconfigured (text/plain should be text/calendar).
I already noticed this while accessing URLs like https://myurl.net/foo/bar.ics and seeing plain .ics file content instead of downloading this file. This seems to depend on the browser, some browsers auto interpret this type correctly but Google seems to do not.
However: There's a configuration file named web.xml in my applications WEB-INF. I defined the MIME-Type manually for files ending with *.ics:
<web-app xmlns="http://xmlns.jcp.org/xml/ns/javaee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://xmlns.jcp.org/xml/ns/javaee http://xmlns.jcp.org/xml/ns/javaee/web-app_3_1.xsd" version="3.1">
...
<mime-mapping>
<extension>ics</extension>
<mime-type>text/calendar</mime-type>
</mime-mapping>
</web-app>
Now even Google Calendar recognizes the whole calendar content independent from the URL it was distributed from.
EDIT:
Okay after intense testing there orruced no more problems with any calendar so this seems to be the solution in my case. Outlook, macOS calendar app and Mozilla Thunderbird seem to guess the MIME-Type correctly, Google does not.
We are creating a search frontend using ReactJS. The requirement is that when a user clicks on a document's name, the document has to open in an embedded viewer. Has anyone used any ReactJS component for this? Otherwise, should I use a JQuery viewer component? Please advice. Thanks in advance.
'react-file-viewer' can do the job done. it supports a wide variety of file formats including .docx format but fails miserably for .doc extension. correct me if i'm wrong, i couldn't find a component which can handle .doc file extension. finally solved with google api for doc viewer. i recommend to use it only to handle doc and docx file extensions. then go for comparitavely small libraries such as react-pdf to handle pdf extension.
you can render your doc, docx file types with in using google api
<iframe class={filetype} width="830" height="400" frameborder="0" src={`https://docs.google.com/gview?url=${file_url}&embedded=true`}></iframe>
I have stored user uploaded document (.doc ,.pdf) as a Blob object into data-store.
Instead of allowing user to download the document, I would like to present it as an HTML page
for viewing the doc. how do I convert Blob into HTML ? does google app engine provides any ready made API for the same?
There is no ready made API in AppEngine to convert .doc or .pdf (or or other types of) files to HTML. You would need to find a library for your preferred language to parse the blob file into its parts structured as an object model (like a DOM). Then you would need to write code to convert individual parts of the object model to HTML, unless you are lucky enough to find another library. And no, StackOverflow is not a good place to ask "what library is there...".
No. AppEngine itself does not provide any file format conversion tools. You might want to look into Google Drive API, which might, to some extent, do the format conversion for you.
You can have embed a PDF reader on a web page by using pdf.js.
Most browsers already have a built-in PDF viewer. If you provide a link to a PDF file, when users click on it, many browsers will automatically display the document. Those browsers that do not support this option, will offer a user to download the file to their hard-drive.
This is the easiest solution - you don't have to do anything at all.
I have seen a very specific and professional web page widget (e.g. http://whatsnextlectures-work.eventbrite.com/ and meetup.com). Please help me find the library that creates the links.
I have looked at Need a service that build calendar (iCal, outlook) links, but that answer seems to address the need for an on-screen calendar, not just the links.
thanks
Alternatively you can create below registry entry and anchor link/button to open the outlook calendar
below is the markup
<button id="outlookCalendarBtn" onclick="window.open('outlookwebcal:')">
Open Outlook Calendar
</button>
Create below registry entry
Windows Registry Editor Version 5.00
[HKEY_CLASSES_ROOT\outlookwebcal]
#="URL:Outlook Add Internet Calendar"
"URL Protocol"=""
[HKEY_CLASSES_ROOT\outlookwebcal\shell]
#="open"
[HKEY_CLASSES_ROOT\outlookwebcal\shell\open]
[HKEY_CLASSES_ROOT\outlookwebcal\shell\open\command]
#="\"C:\\Program Files\\Microsoft Office\\root\\office16\\Outlook.exe\" /select outlook:calendar"
Even I was looking for the same library Mr.Richard but after reaching for 3 days I finally found this. http://tardate.blogspot.com/2010/10/add-to-calendar-with-jquery-widget.html
But iCal is not included in this library you need to add it explicitly.