Find Jobs
Hire Freelancers

Code in PHP a Spintax Parser/Reader for output to screen

$100-300 USD

Cancelled
Posted almost 12 years ago

$100-300 USD

Paid on delivery
I am having multiple spintax articles written for clients. I need you to code a PHP parser to read the spintax text file, create an article from it, then save the article to a variable for later writing it to screen. I have a Spintax article example attached. When we create actual articles, each group will always be 3. The start of a Group is noted with { and the end with }. Items within are separated by | pipe character. Please note "nested" Spintax groups must be programmed for and handled properly. Also, these will NOT be "random" selected items. For any given 10 day period I want the "Spintax Parser" to spit out the EXACT same article. You might use logic like: (UPDATE: use month + day or day of year to make more random. ALSO, could we rotate, it starting position is 1, then go 2,3 then 1,2,3 etc.) $zsum = (strlen($sname) + date("j")) % 31; if ($zsum < 11) {$main="[login to view URL]"; } else if ($zsum < 21) {$main="[login to view URL]"; } else if ($zsum < 31) {$main="[login to view URL]"; } The code above is NOT for this "Spintax Parser" but only an example of date coding. You write and test, I will install and test on my server near end of project. PLEASE ASK QUESTIONS. Thanks Greg ## Deliverables SEE ATTACHED ARTICLE SPINTAX EXAMPLE Also See Attached zip Word Doc to show 10 output examples.
Project ID: 2756362

About the project

5 proposals
Remote project
Active 12 yrs ago

Looking to make some money?

Benefits of bidding on Freelancer

Set your budget and timeframe
Get paid for your work
Outline your proposal
It's free to sign up and bid on jobs
5 freelancers are bidding on average $162 USD for this job
User Avatar
See private message.
$250.75 USD in 8 days
5.0 (9 reviews)
4.8
4.8
User Avatar
See private message.
$140.25 USD in 8 days
4.6 (4 reviews)
4.1
4.1
User Avatar
See private message.
$170 USD in 8 days
5.0 (4 reviews)
3.9
3.9
User Avatar
See private message.
$200.60 USD in 8 days
5.0 (5 reviews)
3.9
3.9
User Avatar
See private message.
$50.15 USD in 8 days
5.0 (4 reviews)
2.2
2.2

About the client

Flag of UNITED STATES
San Antonio, United States
5.0
35
Payment method verified
Member since May 16, 2005

Client Verification

Thanks! We’ve emailed you a link to claim your free credit.
Something went wrong while sending your email. Please try again.
Registered Users Total Jobs Posted
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Loading preview
Permission granted for Geolocation.
Your login session has expired and you have been logged out. Please log in again.