31,029
edits
mNo edit summary |
mNo edit summary |
||
| Line 2: | Line 2: | ||
'''How to Export the Dolibarr Agenda (for example to include it into Google)?''' | '''How to Export the Dolibarr Agenda (for example to include it into Google)?''' | ||
* Activate module Agenda, | |||
* Create events and tasks, | |||
* Into tab "Other" of Agenda module setup pages, into field "Key to allow the export": enter a word of your choice (example: "DUMMY" and click on Save)<br/> | |||
* Get the link on line: "An export link to ical format is available at following link".<br/> | |||
Example of build link (with " | Example of build link (with "DUMMY" as key word) : | ||
<pre> | |||
http://mysite/comm/action/agendaexport.php?format=ical&type=event&exportkey=DUMMY | |||
</pre> | |||
* Go on Google and "agenda parameters" > add an agenda > add by url, enter the above link.<br/> | |||
Problems already known: if the following message appears :<br/> | |||
''Impossible to get URL, because the robots.txt file does not allow exploration.''<br/> | ''Impossible to get URL, because the robots.txt file does not allow exploration.''<br/> | ||
edit file'' robots.txt'' that is present into your Dolibarr root web site, and change it to have: | edit file '''robots.txt''' that is present into your Dolibarr root web site, and change it to have: | ||
<pre> | <pre> | ||
| Line 18: | Line 21: | ||
User-agent: Googlebot | User-agent: Googlebot | ||
Disallow: / | Disallow: / | ||
Allow : /comm/action/agendaexport.php?format=ical&type=event&exportkey= | Allow : /comm/action/agendaexport.php?format=ical&type=event&exportkey=DUMMY | ||
</pre> | </pre> | ||
Warning; You must wait | Warning; You must wait 24 hours before the change is known by Google. | ||