freifunkmeta/README.md

39 lines
986 B
Markdown
Raw Permalink Normal View History

2014-04-02 20:34:16 +02:00
# Freifunk Metadata Wordpress Plugin
2014-06-06 15:50:40 +02:00
[![Build Status](https://travis-ci.org/mschuett/freifunkmeta.svg?branch=master)](https://travis-ci.org/mschuett/freifunkmeta)
2014-04-02 21:02:28 +02:00
A small Wordpress plugin to render Freifunk metadata according to the [api.freifunk.net](https://github.com/freifunk/api.freifunk.net) specification ([german description](http://freifunk.net/blog/2013/12/die-freifunk-api/)).
2014-04-02 20:34:16 +02:00
It reads (and caches) JSON input from a configured URL and provides shortcodes to output the data.
2014-04-06 17:09:20 +02:00
Currently implemented are `[ff_services]`, `[ff_contact]`, and `[ff_state]`.
An `[ff_location]` is also usable, but needs more work.
2014-04-02 20:34:16 +02:00
2014-04-02 20:54:57 +02:00
## Example
2014-04-02 20:34:16 +02:00
2014-04-02 20:54:57 +02:00
Text:
2014-04-08 15:08:03 +02:00
Location:
[ff_location]
2014-04-02 20:54:57 +02:00
Services:
[ff_services]
Contact:
[ff_contact]
Contact Jena:
2014-04-04 00:31:01 +02:00
[ff_contact jena]
2014-04-02 20:54:57 +02:00
Output:
2014-04-08 15:08:48 +02:00
![_location output example](http://mschuette.name/wp/wp-upload/freifunk_meta_location_sample.png)
2014-04-08 15:08:03 +02:00
2014-04-02 20:54:57 +02:00
![shortcode output example](http://mschuette.name/wp/wp-upload/freifunk_meta_example.png)
2014-04-08 15:08:03 +02:00