Javascript/jQuery function required, need experience with Regular Expressions (Regex)
$30-99 USD
Fechado
Publicado há aproximadamente 13 anos
$30-99 USD
Pago na entrega
I need a Regex and Javascript/jQuery expert to write a "content spinner" function and integrate if with some of my existing code. Basically it accepts a formatted string as input. For example:
This is an {example|test} of a {content|article} {spinner|rewriter|generator}
And turns this into a JSON array:
[
"This is an",
["example", "test"],
"of a",
["content", "article"],
["spinner", "rewritter", "generator"]
]
And then using this JSON it outputs multiple sentences. For example:
This is an example of a content spinner
This is a test of a content generator
## Deliverables
Please note the syntax sometimes goes multiple levels deep, for example:
{This is|{Has anyone|Have {we|you} ever seen}} a {example|test} of a {content|article} {spinner|rewriter|generator}
The most important thing is when it generates the sentences/articles it needs to be smart enough to create the uniquest possible articles first. We will work together to figure out the best way to generate the most unique articles. I believe at the simplest level we will select first word in each section of the JSON array, then the 2nd, 3rd...
The user can specify how many articles they would like to generate from the syntax, along with if the spins should generate the most unique articles first or just randomly generate articles. This also needs to be smart when generating unique articles, if the user generated article 1 -20 they should then be able to generate article 21 - 30 without having to generate articles 1-20 again, this comes back to the formula we will develop to create unique articles. I will help talk you through the logic behind this so don't worry if you don't understand.
Speed is really important as this code will often spin thousands of articles. The code must be able to handle this type of workload without crashing the browser. As the spin is happening I'd like to display a jQuery UI Progressbar with time taken, time remaining, % complete, articles spun, articles remaining. The easiest way for us to do this is time how long the first article takes to create and then each subsequent article and update the progressbar.
I'd also like the user to be able to stop the spin process at any time. The spins should also be able to happen in the background while the user works on something else without affecting the browser.
**A few extra requirements:**
* You must have jquery and regex experience to work on this project.
* This code must be cross browser compatible IE6, Firefox 2.x+, Chrome, Safari, Opera.
* I'd like the code to be documented really well. Especially an explanation of each character in the regular expressions. And the code should match the standards at [login to view URL]
* Please let me know if you have any experience with Git and/or GitHub, it's not required but would make collaboration much easier. I would like to be involved in the coding process and make changes to the code as we go to ensure it meets my internal standards, code updates should be sent on a daily basis.
* Also please let me know if you have Google Talk or Skype as I'd like to be able to call you when you ask questions as often it's easier to explain on the phone. And I can also screen share on Skype and show you what I'm talking about.
* Please note that once the project is finished we will require a week to send the code out to our beta testers before accepting it as final.