Giter Site home page Giter Site logo

myplugins's Introduction

myplugins

Description

Sample routine to run under oik-wp.php

Installation

  1. Install the pre-requisite plugins: oik-wp and oik.
  2. Clone myplugins to your wp-content\plugins directory
  3. Change directory to the myplugins folder
  4. Run oikwp myplugins.php [plugin_list]

where

  • oikwp is your command to run oik-wp.php
  • plugin_list is a comma separated list of plugin slugs
  • If you omit the plugin_list parameter a default set is chosen: @bobbingwide's plugins on wordpress.org
cd wp-content\plugins\myplugins 
oikwp myplugins.php akismet,jetpack

Expected output

oik-wp running WordPress 4.6
C:\apache\htdocs\wordpress\wp-content\plugins\myplugins
cli
Shifting argv
There are: 2
akismet,51194511,3.1.11,4.5.3,3.2
jetpack,27768343,4.2.2,4.6,4.5
Script required once: myplugins.php
Did: run_myplugins.php

Upgrade Notice

0.0.0

Tested with WordPress 4.6.

0.0.0

New plugin, also available from GitHub and oik-plugins.

Changelog

0.0.0

  • Added: New plugin - available from GitHub

myplugins's People

Contributors

bobbingwide avatar

Watchers

 avatar

myplugins's Issues

Make compatible with wp-top12

The myplugins.php routines currenty uses class-wp-org-downloads.php from play.
This routine has been improved for wp-top12.
Ensure that myplugins still works.
i.e. That the get_download and get_download_count methods still work.

Maintain a summary CSV file showing a time line for the plugins

Since 2011, when I published my first plugin on wordpress.org I’ve been keep some tabs on the total downloads. I’ve updated myplugins to extract the data so that it can be embedded into a CSV but then I have to manually copy this into another spreadsheet to keep the history.
I don’t seem to have kept the spreadsheets up to date.
I need an improved process.

Steps

  • Take stock
  • Attempt to find figures for missing periods
  • Update routine to append to a summary CSV file

Add estimating and prediction logic for total downloads

On a plugin’s advanced page display on WordPress.org e.g. https://wordpress.org/plugins/oik/advanced/
there are two charts showing downloads per day and active install growth.
It would be nice to be able to show a chart showing the history of total downloads for a plugin. With Total on the y-axis and Date on the x-axis.
If the default chart is for the current year ( or last 12 months - e.g Oct 2019 to Sep 2020 ) it would make sense to estimate the downloads for the 1st of each month.
The estimating logic could also be used for making predictions.

Requirements

  • write a simple estimating routine
  • write a simple prediction routine
  • produce a report showing last n periods with real or estimated figures for a selected figure or figures
  • display it as a chart
  • Make it work as a block

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.