Changeset 3093666
- Timestamp:
- 05/28/2024 07:09:49 AM (22 months ago)
- Location:
- trinity-audio/trunk
- Files:
-
- 4 edited
-
README.txt (modified) (1 diff)
-
inc/constants.php (modified) (1 diff)
-
inc/text.php (modified) (1 diff)
-
trinity.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trinity-audio/trunk/README.txt
r3089551 r3093666 155 155 156 156 == Changelog == 157 = 5.9 = 158 *Release Date - May 27, 2024* 159 * Change text output to support new format 160 157 161 = 5.8.3 = 158 162 *Release Date - May 20, 2024* -
trinity-audio/trunk/inc/constants.php
r2993199 r3093666 31 31 32 32 const BREAK_MACRO = '⏸'; 33 const BLOCK_MACRO = '▇'; 33 34 34 35 abstract class TRINITY_AUDIO_ERROR_TYPES { -
trinity-audio/trunk/inc/text.php
r3061955 r3093666 41 41 42 42 // remove all pause symbols that are in the beginning of the text 43 return preg_replace('/^\x{23F8}+/u', '', $content); 43 $content = preg_replace('/^\x{23F8}+/u', '', $content); 44 45 // now replace pause with pause + block symbol 46 $content = preg_replace('/\x{23F8}/u', BREAK_MACRO . BLOCK_MACRO, $content); 47 48 // just remove trailing blocks and pauses 49 $content = preg_replace('/\x{23F8}\x{2587}\s*$/u', '', $content); 50 $content = preg_replace('/\x{23F8}\s*$/u', '', $content); 51 $content = preg_replace('/\x{2587}\s*$/u', '', $content); 52 53 return $content; 44 54 } 45 55 -
trinity-audio/trunk/trinity.php
r3089551 r3093666 9 9 * Plugin URI: https://wordpress.org/plugins/trinity-audio/ 10 10 * Description: This plugin generates an audio version of the post, for absolutely FREE. You can choose the language and the gender of the voice reading your content. You also have the option to add Trinity Audio's player on select posts or have it audiofy all of your content. In both cases, it only takes a few simple clicks to get it done. The plugin is built through collaboration with the Amazon Polly team. 11 * Version: 5. 8.311 * Version: 5.9 12 12 * Author: Trinity Audio 13 13 * Author URI: https://trinityaudio.ai/
Note: See TracChangeset
for help on using the changeset viewer.