php - need a simple wordpress plugin
This project was successfully completed by namithj for $180 USD in 5 days.Get free quotes for a project like this
Project Budget$30-$250 USD
Completed In5 days
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: [url removed, login to view])
2. After the plugin is installed:
a. Our system can call the wordpress plugins URL (example: [url removed, login to view]) 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.
Looking to make some money?
- Set your budget and the timeframe
- Outline your proposal
- Get paid for your work
Hire Freelancers who also bid on this project
Looking for work?
Work on projects like this and make money from home!Sign Up Now
- The New York Times
- Wall Street Journal
- Times Online