We need a php programmer with experience writing wordpress plugins. This plugin will basically allow our system to query the plugin in order to loop through the blogs' articles.
The software will need to do the following:
1. When a user uploads/installs the plugin:
a. The plugin will check to see if curl is enabled, if it is not enabled then present an error message to the user and does NOT continue installing the plugin
b. It generates a 20 character random alpha numeric string in the format of: aaaa-aaaa-aaaa-aaaa where "a" is random letters/numbers and stores this in the wordpress database
c. Using curl, the plugin posts back to a URL (we will provide) the alphanumeric code specified above and also a public URL to the plugin (example: http://userblog.com/plugins/api.php)
2. After the plugin is installed:
a. Our system can call the wordpress plugins URL (example: http://userblog.com/plugins/api.php) with the following information as posted variables:
api_key = aaaa-aaaa-aaaa-aaaa (unique key)
api_start = 0 (unix timestamp)
b. The plugin will first check to make sure the posted api_key matches the api key stored in the database, if it does not match then echo 'invalid key'; exit;
b. If the api key matches then it will query the database and output all articles published newer than api_start timestamp with a limit of 20 articles at a time ordered by oldest first in a valid RSS format. If there are more than 20 articles available then in the RSS output it will have a next_group tag with the timestamp of the most recent article in the RSS output, our system will then make another call to fetch all articles newer than that timestmap.
We will provide an example RSS output for you to match up the wordpress output.