Project

General

Profile

Feature #7973

Integrate JSON-LD / Google Now Cards into Chamilo e-mail

Added by Yannick Warnier almost 4 years ago. Updated over 3 years ago.

Status:
Assigned
Priority:
Normal
Assignee:
-
Category:
Announcements
Target version:
Start date:
19/11/2015
Due date:
% Done:

20%

Estimated time:
6.00 h
Complexity:
Normal
SCRUM pts - complexity:
?

Description

See https://developers.google.com/schemas/formats/json-ld
and https://developers.google.com/schemas/reference/event-reservation

Based on the idea that an announcement in a Chamilo course (or on the platform) announces an event with a specific date and time, we can extend the integration of Chamilo mails into gmail by making it compatible with Google Now Cards.

This would give us something like this in Google Now:

Which would be great (although the "location" is always "online" for us at the moment).

Given this may add to the "spooky" aspect of Google's big brother behaviour, we should make this feature optional, so a configuration setting should be added (in configuration file for 1.10.2 to enable, then in database or new config file in 2.0).

Given the fact that this is a very specific feature set, we should make sure that the corresponding functions lie in a separate library, for example main/inc/lib/json-ld.lib.php.

The final impact on the announcements code should simply be an additional call to a function with all the data necessary to complete the card, and then the insertion of the resulting string into the HTML e-mail's header.


Files

now_eventconfirmation.png (81.2 KB) now_eventconfirmation.png Yannick Warnier, 19/11/2015 16:58
testgmail.png (3.74 KB) testgmail.png José Loguercio, 17/12/2015 01:31

Associated revisions

Revision 7c57a309 (diff)
Added by José Loguercio almost 4 years ago

Json-LD Test - Gmail Quick Action Button on works - Refs #7973

Revision 74ebbc9c
Added by Yannick Warnier almost 4 years ago

Merge pull request #956 from jloguercio/7973

Json-LD Test - Gmail Quick Action Button on works - Refs #7973 (only for tests purposes for now)

History

#1

Updated by Yannick Warnier almost 4 years ago

  • Target version changed from 1.10.2 to 2.0
#2

Updated by José Loguercio almost 4 years ago

Actualmente se ha implementado un quick button al enlace de la tarea via gmail, cada vez que se crea una tarea nueva y el email se envia a los alumnos para notificar (para esto se tiene que activar las notificaciones vía mail en el curso), sin embargo, para completar la acción de visualizar el botton, se necesita la aprobación de google, mediante un registro para el uso de los markup email de json-ld (referencia: https://developers.google.com/gmail/markup/registering-with-google)

#3

Updated by Yannick Warnier over 3 years ago

  • Target version changed from 2.0 to 3.0
#4

Updated by José Loguercio over 3 years ago

  • Assignee deleted (José Loguercio)

Also available in: Atom PDF