-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Wordpress integration #7
Comments
It's on their side to develop a plugin that display, ... what ever they wish to display. I would very much like to develop some plugins, but I'm in dire need of skilled front-end (CSS, JS is not that big of a deail) developers. PPSI has a number of them (one is helping now) but most of them are very green (that's why they are working for free) and already very busy with our own projects (like nadzorovan.si which will be given to all other parties to deploy as their own). I'm very much willing to help implement anything in PHP or extend the API to include endpoints that any plugin developer mite need, but some other party will have to supply the frontend developer for those, out of scope, ideas. |
@collentine: Could you write in more detail what a wordpress plugin/theme should display or how it could be used? Maybe I can find some time to make something happen. |
@PeterTheOne mostly just making the API calls easily accessible to people not used to working with API's. e.g. dropdown lists or a way of adding several "key" stats of a country in an easy way. One example would be someone writing about a pirate party and creating a "country box" that could be added to bottom of articles with some stats. Another would be just developing a side-bar widget to fetch data from API and display all Pirate Parties (maybe with option of choosing what info to display - soc media, websites etc) Widget example = something similar to what is displayed on http://pp-international.net/ but fetching stats from API to make sure they are up to date. |
@collentine I've startet something like this just now, check it out at https://github.com/PeterTheOne/wp-pirate-parties |
@PeterTheOne how far you with that? Do you need anything for the wp integration from the API side? |
@Putr For the older version of the data it works fine, haven't tested it since. But I will fix what is broken. It does some filtering and sorting that could be done by the API, otherwise it works just fine. filters: sort: |
Yes sorting and filtering will be an easy addition (and a core one at that) when I migrate the data into a proper DB. At the moment it's using redis which is a tad harder to work with. I used it because I did not thing we would be doing anything but displaying data at the time. |
Other filters we may want to add: |
@collentine I've updated the wordpress plugin, it works with the newest API version. To install just copy the files to |
https://github.com/xwolfde/Piratenkleider
^^ wordpress theme used by several pirate parties. Implementing the API there would be very useful but guess it's mostly on their side and not on the API?
The text was updated successfully, but these errors were encountered: