Fix PHP ssml text parser that some times work on my Wordpress
Budget: $10 – $30 USD
I am looking for a developer to fix the PHP ssml text parser on my WordPress site. Currently, the parser is working sometimes but not consistently. This parser currently takes an ebook thats in text format and parses it to json and saves it in a folder and in the woocomerce product post type custom field under "book_json" and supposed to parse it into a txt file into the same folder amd save it under custom field "book_ssml"... the code works all the time for json and only sometimes creating the txt and it is not saving in custom field "book_ssml"
code atttached
Issues needing fix:
1. making sure it create .txt file every time ( $txt_file_path = $json_dir . sanitize_title($post->post_title) . '_' . $post->ID . '.txt';
file_put_contents($txt_file_path, $ssml_content); )
2. making sure it saves data into book_ssml ( update_post_meta($post->ID, 'book_ssml', $txt_file_path); )
3. clear all book_json and book_ssml and files, so u can test until works
The ideal candidate for this job should have:
- Strong experience with PHP and WordPress development
- Knowledge of ssml text parsing and troubleshooting
- Ability to quickly identify and fix issues in code
- Good communication skills and ability to work efficiently.
CODE WORKS 85% THIS IS QUICK FIX FOR SOME ONE THAT KNOWS WHAT THEY ARE DOING, ANY OVERBIDS WILL BE IGNORED AND BLOCKED!!!!!!!!!!!!!!!!!!!!!
HOW TO TEST IF HIRED:
1. go to edit edit product in admin, clear book_json and book_ssml meta field, then hit save product
2. goto front end view of product, this triggers code parsing
3. go back to product edit and you will see the book_json and book_ssml valie filled and a preview of the json
4. using file manager in cpanel go to wp-content/json/ to see if text and json file was created correctly
retest same way until complete
code atttached
Issues needing fix:
1. making sure it create .txt file every time ( $txt_file_path = $json_dir . sanitize_title($post->post_title) . '_' . $post->ID . '.txt';
file_put_contents($txt_file_path, $ssml_content); )
2. making sure it saves data into book_ssml ( update_post_meta($post->ID, 'book_ssml', $txt_file_path); )
3. clear all book_json and book_ssml and files, so u can test until works
The ideal candidate for this job should have:
- Strong experience with PHP and WordPress development
- Knowledge of ssml text parsing and troubleshooting
- Ability to quickly identify and fix issues in code
- Good communication skills and ability to work efficiently.
CODE WORKS 85% THIS IS QUICK FIX FOR SOME ONE THAT KNOWS WHAT THEY ARE DOING, ANY OVERBIDS WILL BE IGNORED AND BLOCKED!!!!!!!!!!!!!!!!!!!!!
HOW TO TEST IF HIRED:
1. go to edit edit product in admin, clear book_json and book_ssml meta field, then hit save product
2. goto front end view of product, this triggers code parsing
3. go back to product edit and you will see the book_json and book_ssml valie filled and a preview of the json
4. using file manager in cpanel go to wp-content/json/ to see if text and json file was created correctly
retest same way until complete