version 0.2.0 redactions
This commit is contained in:
parent
9f9b9840d2
commit
e98a580aae
2
Makefile
2
Makefile
|
@ -3,7 +3,7 @@ NAME = kal3000-gcal-import
|
||||||
ICALPARSER = icalparser
|
ICALPARSER = icalparser
|
||||||
INSTALLDIR = /usr/share/wordpress/wp-content/plugins/$(NAME)
|
INSTALLDIR = /usr/share/wordpress/wp-content/plugins/$(NAME)
|
||||||
SSHACCOUNT = root@ubuntu1804
|
SSHACCOUNT = root@ubuntu1804
|
||||||
VERSION = 0.1.0
|
VERSION = 0.2.0
|
||||||
|
|
||||||
|
|
||||||
# Make sure we always ship the latest icalparser version
|
# Make sure we always ship the latest icalparser version
|
||||||
|
|
12
README.md
12
README.md
|
@ -1,10 +1,12 @@
|
||||||
# kal3000-gcal-import
|
# kal3000-gcal-import
|
||||||
|
|
||||||
Ein Wordpress-Plugin, das auf das Grüne Wordpress-Theme <a href="http://kre8tiv.de/urwahl3000/">Urwahl3000</a> aufsetzt und eine Integration beliebig vieler öffentlicher Google-Kalender ermöglicht.
|
Ein Wordpress-Plugin, das auf das Grüne Wordpress-Theme <a href="http://kre8tiv.de/urwahl3000/">Urwahl3000</a> aufsetzt und eine Integration beliebig vieler öffentlicher Google-Kalender ermöglicht.
|
||||||
|
|
||||||
|
Version: 0.2.0 (stable)
|
||||||
|
|
||||||
## Warnung
|
## Warnung
|
||||||
|
|
||||||
Das hier ist noch "work in progress", und es ist noch nicht benutzbar!
|
Das hier ist noch "work in progress", und es ist noch nicht produktiv benutzbar! Das Plugin könnte Dein Wordpress zerschießen, Deinen Kreis- oder Ortsverband versehentlich auflösen oder den Klimawandel beschleunigen! Aber für mich funktioniert es schon recht ordentlich.
|
||||||
|
|
||||||
## Motivation
|
## Motivation
|
||||||
|
|
||||||
|
@ -26,7 +28,7 @@ Für eine solche Integration gibt es eine Reihe von Motivatoren:
|
||||||
|
|
||||||
1. Um eine auf Urwahl3000 und Wordpress basierende KV- oder OV-Seite betreiben zu können, braucht man zunächst eine irgendwo gehostete aktuelle Wordpress-Umgebung. Dazu wird auf die Dokumentation von Urwahl3000 verwiesen.
|
1. Um eine auf Urwahl3000 und Wordpress basierende KV- oder OV-Seite betreiben zu können, braucht man zunächst eine irgendwo gehostete aktuelle Wordpress-Umgebung. Dazu wird auf die Dokumentation von Urwahl3000 verwiesen.
|
||||||
|
|
||||||
2. Als nächstes holt man sich das Plugin unter https://www.gruene-freising.de/... (Attachment) und installiert es über die WP-Oberfläche wie gewohnt. (TODO: Klären, ob das Plugin evtl. in Urwahl300 eingebaut wird, ansonsten evtl. offizielles WP-Plugin).
|
2. Als nächstes holt man sich das Plugin unter https://www.gruene-freising.de/... (Attachment) und installiert es über die WP-Oberfläche wie gewohnt.
|
||||||
|
|
||||||
Hinweis: kal3000-gcal-import nutzt für das Parsen von ICAL-Files und -Feeds das PHP-Modul icalparser (https://github.com/OzzyCzech/icalparser). Die Verwendung und die Einbindung in die Release-ZIP-Files erfolgt mit freundlicher Genehmigung des Autors Roman Ožana.
|
Hinweis: kal3000-gcal-import nutzt für das Parsen von ICAL-Files und -Feeds das PHP-Modul icalparser (https://github.com/OzzyCzech/icalparser). Die Verwendung und die Einbindung in die Release-ZIP-Files erfolgt mit freundlicher Genehmigung des Autors Roman Ožana.
|
||||||
|
|
||||||
|
@ -54,7 +56,7 @@ Das Plugin benötigt den Zugriff nach "draußen", um ICAL-Feeds zu holen oder au
|
||||||
|
|
||||||
## Support
|
## Support
|
||||||
|
|
||||||
Bitte ein Ticket (issue) auf https://github.com/hmilz/kal3000-gcal-import öffnen!
|
Bitte ein Ticket (issue) auf <a href="https://github.com/hmilz/kal3000-gcal-import">https://github.com/hmilz/kal3000-gcal-import</a> öffnen!
|
||||||
|
|
||||||
## Bekannte Fehler
|
## Bekannte Fehler
|
||||||
|
|
||||||
|
@ -62,7 +64,7 @@ Vermutlich viele. Ich bin alles andere als ein begnadeter Programmierer.
|
||||||
|
|
||||||
## Internationalization
|
## Internationalization
|
||||||
|
|
||||||
Since this plugin is only relevant for people using the Urwahl3000 theme, and this includes only members of Bündnis 90 / Die Grünen, the plugin will only be available in German. Should a demand for other languages arise, feel free to contact me - and offer your support :-)
|
Since this plugin is only relevant for people using the Urwahl3000 theme, and this includes only members of Bündnis 90 / Die Grünen, the user interface of the plugin will only be available in German. Should a demand for other languages arise, feel free to contact me - contributions welcome! :-)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
85
readme.txt
85
readme.txt
|
@ -1,63 +1,55 @@
|
||||||
=== Test Plugin ===
|
=== Kal3000 Google Calender Importer ===
|
||||||
Contributors: user, user, user
|
Contributors: hmilz
|
||||||
Tags: tag, tag, tag
|
Tags: kal3000, urwahl3000, calendar
|
||||||
Donate link: http://example.com/
|
Donate link: https://www.paypal.me/HaraldMilz
|
||||||
Requires at least: 4.0
|
Requires at least: 4.0
|
||||||
Tested up to: 4.8
|
Tested up to: 4.9
|
||||||
Requires PHP: 5.6
|
Requires PHP: 7.2
|
||||||
Stable tag: 1.1
|
Stable tag: 0.2.0
|
||||||
License: GPLv2 or later
|
License: GPLv3 or later
|
||||||
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
License URI: https://www.gnu.org/licenses/gpl-3.0
|
||||||
|
|
||||||
Short description of this great plugin. No more than 150 characters, no markup.
|
Imports and Merges an Arbitrary Number of Public Google Calendars into Kal3000.
|
||||||
|
|
||||||
== Description ==
|
== Beschreibung ==
|
||||||
Long description of this great plugin. No characters limit, and you can use markdown.
|
Ein Wordpress-Plugin, das auf das Grüne Wordpress-Theme <a href="http://kre8tiv.de/urwahl3000/">Urwahl3000</a> aufsetzt und eine Integration beliebig vieler öffentlicher Google-Kalender ermöglicht.
|
||||||
|
|
||||||
For backwards compatibility, if this section is missing, the full length of the short description will be used, and
|
Das hier ist noch "work in progress", und es ist noch nicht produktiv benutzbar! Das Plugin könnte Dein Wordpress zerschießen, Deinen Kreis- oder Ortsverband versehentlich auflösen oder den Klimawandel beschleunigen! Aber für mich funktioniert es schon recht ordentlich.
|
||||||
markdown parsed.
|
|
||||||
|
|
||||||
Ordered list:
|
* Administration in Wordpress über die Admin-Oberfläche.
|
||||||
|
* Einbinden beliebig vieler Google-Kalender.
|
||||||
|
* Zuordnung dieser Google-Kalender zu bereits angelegten Terminkategorien, beispielsweise je OV.
|
||||||
|
* Geocoding von Veranstaltungsorten, wie sie aus Google Kalender übernommen werden. Derart angelegte Termine werden auf der Übersichtskarte richtig angezeigt.
|
||||||
|
|
||||||
1. Some feature
|
|
||||||
1. Another feature
|
|
||||||
1. Something else about the plugin
|
|
||||||
|
|
||||||
Unordered list:
|
|
||||||
|
|
||||||
* something
|
|
||||||
* something else
|
|
||||||
* third thing
|
|
||||||
|
|
||||||
Link to [WordPress](http://wordpress.org/ "Your favorite software") and one to [Markdown's Syntax Documentation][markdown syntax].
|
|
||||||
|
|
||||||
Titles are optional, naturally.
|
|
||||||
|
|
||||||
Asterisks for *emphasis*.
|
|
||||||
|
|
||||||
Double it up for **strong**.
|
|
||||||
|
|
||||||
== Installation ==
|
== Installation ==
|
||||||
1. Upload "test-plugin.php" to the "/wp-content/plugins/" directory.
|
|
||||||
1. Activate the plugin through the "Plugins" menu in WordPress.
|
1. Um eine auf Urwahl3000 und Wordpress basierende KV- oder OV-Seite betreiben zu können, braucht man zunächst eine irgendwo gehostete aktuelle Wordpress-Umgebung. Dazu wird auf die Dokumentation von Urwahl3000 verwiesen.
|
||||||
1. Place "do_action( 'plugin_name_hook' );" in your templates.
|
|
||||||
|
2. Als nächstes holt man sich das Plugin unter https://www.gruene-freising.de/... (Attachment) und installiert es über die WP-Oberfläche wie gewohnt.
|
||||||
|
|
||||||
|
Hinweis: kal3000-gcal-import nutzt für das Parsen von ICAL-Files und -Feeds das PHP-Modul icalparser (https://github.com/OzzyCzech/icalparser). Die Verwendung und die Einbindung in die Release-ZIP-Files erfolgt mit freundlicher Genehmigung des Autors Roman Ožana.
|
||||||
|
|
||||||
|
== Konfiguration ==
|
||||||
|
|
||||||
|
1. in WP legt man Terminkategorien an, z.B. eine pro OV und eine für den KV, plus weitere nach Bedarf. Das funktioniert am besten mit einer entsprechenden Seitenhierarchie wie auf https://www.gruene-freising.de/... .
|
||||||
|
|
||||||
|
2. Im Admin-Teil des Plugins unter "Einstellungen / GCal Importer" erscheinen die angelegten Terminkategorien. Jeder Kategorie weist man dann einen öffentlichen Google-Kalender in Form des "public ics"-Links zu, beispielsweise <a href="https://calendar.google.com/calendar/ical/gruene.freising%40gmail.com/public/basic.ics">https://calendar.google.com/calendar/ical/gruene.freising%40gmail.com/public/basic.ics</a>.
|
||||||
|
|
||||||
|
3. Im Admin-Teil kann man das Zeitintervall einstellen, mit dem die Kalender synchronisiert werden. Standardeinstellung ist 60 Minuten. Bitte beachten, dass der Wordpress-Scheduler die Zeitintervalle nur ungefähr und abhängig von der Seitenaktivität einhält.
|
||||||
|
|
||||||
|
4. Im Admin-Teil kann man das Geocoding aktivieren. Derzeit ist nur ein inoffizieller Weg über Google Maps verfügbar, den Google nicht gerne sieht. Das offizielle <a href="https://developers.google.com/maps/documentation/geocoding/start">Google-API</a> erfordert einen API-Key, der bei intensiver Nutzung nicht kostenlos ist. Auf die Google-Policy wird hingewiesen. Außerdem soll es irgendwann OpenStreetMap geben.
|
||||||
|
|
||||||
|
5. Speichern und fertig.
|
||||||
|
|
||||||
|
|
||||||
== Frequently Asked Questions ==
|
== Frequently Asked Questions ==
|
||||||
= A question that someone might have =
|
|
||||||
An answer to that question.
|
|
||||||
|
|
||||||
= What about foo bar? =
|
Keine bisher.
|
||||||
Answer to foo bar dilemma.
|
|
||||||
|
|
||||||
== Screenshots ==
|
|
||||||
1. The screenshot description corresponds to screenshot-1.(png|jpg|jpeg|gif).
|
|
||||||
2. The screenshot description corresponds to screenshot-2.(png|jpg|jpeg|gif).
|
|
||||||
3. The screenshot description corresponds to screenshot-3.(png|jpg|jpeg|gif).
|
|
||||||
|
|
||||||
== Changelog ==
|
== Changelog ==
|
||||||
= 0.2 =
|
= 0.2 =
|
||||||
* A change since the previous version.
|
* First fully functioning release.
|
||||||
* Another change.
|
|
||||||
|
|
||||||
= 0.1 =
|
= 0.1 =
|
||||||
* Initial release.
|
* Initial release.
|
||||||
|
@ -68,3 +60,4 @@ Upgrade notices describe the reason a user should upgrade
|
||||||
|
|
||||||
= 0.1 =
|
= 0.1 =
|
||||||
This version fixes a security related bug. Upgrade immediately.
|
This version fixes a security related bug. Upgrade immediately.
|
||||||
|
|
||||||
|
|
Reference in a new issue