I want a form where someone
could write an article, spin several
articles from it and send it to some sites.
The code should be written in PHP with
MySQL database with NO OBJECT ORIENTATION.
The process has 2 components.
First Component
---------------
* A web page in which someone writes an article and has 6 buttons:
Load, Save, Add Variation, Recommend Variations, Show Variations and
Word Count.
* The article has a title, text, tags and resource box.
* The title should support the word %keyword%
which will read the keyword table for the corresponding project
and replace with one of them (could be a word or phrase).
The title part should allow at least 2,000 characters.
Variations for the title are taken from the titles table, the
same way as the body of the article.
* The tags part whould support the word %tag% which will read the
tag table from the MySQL Database for that project and replace
with between 3 to 5 of them when sending because not all
sites behave the same with tags.
* The Load button shows the list of articles in that project
and load the selected one.
* The save button save that article into the database (the text
of the article is saved directly into the database, separating
the title, body, resource box and tags in differente fields)
* The add variation, let people select the text and be able to
write several alternate words or phrases to the one selected
and add it to the database.
* The spinning engine of the article body looks for matches
for the phrases in the database and replaces with the
ones found until the number of suggested replace count
have been met (a variable) or it is not possible to
replace anymore because there are not enough phrases in
the database. This search is global, not per project.
* The replace count is different for the title, tags, summary
and body of the article (since the length is different).
The article body also should support the word %keyword%
which will read the keyword table for the project and replace
with one of them.
* The keywords and tags will be added manually, so no form is
needed for this.
* The show button, shows a spun version and shows how much
substitutions have been made to the original article to
get this one (not the percentage of change, but the quantity
of substitutions). The application should take random possible
substitutions to create the new version.
* The Word Count button shows how many words are in the article.
(This could be javascript code).
* The recommend variation take random, between 3 to 5 word
phrases from the article, search the database and if doesn't
find matches, then highlight those. The system should
recommend 3 variations per paragraph, changing the color of
the text that matches.
Second Component
----------------
This component produces a variation of the article and send it
out to 5 places using CURL:
* My Wordpress blog ([login to view URL])
* A Blogger blog which should be created if doesn't
exists. ([login to view URL]) After creation, login,
password and url info is stored in the urls table
for this project
* An online Wordpress blog which should be created
if doesn't exists. ([login to view URL]). After creation
user, password and url should be saved in the urls
table.
* Each user has 1 global profile this will be added
manually, so no form is necessary to add this.
* To Ezine Articles using General profile user, password
and category.
* To Article base using General profile user, password
and category.
Each time an article is sent to a website, the usage
count for that article should be incremented by 1.
Once sent, the url of the site sent should be saved
in the database (sometimes it will be useful, sometimes
not, but it could be handy)