Changeset 2163519
- Timestamp:
- 09/26/2019 09:27:24 AM (7 years ago)
- Location:
- amazon-polly/trunk
- Files:
-
- 8 edited
-
README.md (modified) (2 diffs)
-
README.txt (modified) (2 diffs)
-
admin/AmazonAI-Common.php (modified) (3 diffs)
-
admin/AmazonAI-GeneralConfiguration.php (modified) (2 diffs)
-
admin/AmazonAI-PollyConfiguration.php (modified) (2 diffs)
-
admin/AmazonAI-TranslateConfiguration.php (modified) (1 diff)
-
amazonpolly.php (modified) (1 diff)
-
includes/template-amazon-pollycast.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
amazon-polly/trunk/README.md
r2156568 r2163519 7 7 | Requires PHP | 5.6 | 8 8 | Tested up to | 5.2 | 9 | Stable tag | 3.1. 4|9 | Stable tag | 3.1.5 | 10 10 | License | GPLv3 ONLY | 11 11 | License URI | https://www.gnu.org/licenses/gpl-3.0.html | … … 239 239 #### Changelog 240 240 241 = 3.1.1- 4=241 = 3.1.1-5 = 242 242 * Bug Fixing. 243 243 -
amazon-polly/trunk/README.txt
r2156568 r2163519 5 5 Requires PHP: 5.6 6 6 Tested up to: 5.2 7 Stable tag: 3.1. 47 Stable tag: 3.1.5 8 8 License: GPLv3 ONLY 9 9 License URI: https://www.gnu.org/licenses/gpl-3.0.html … … 230 230 == Changelog == 231 231 232 = 3.1.1- 4=232 = 3.1.1-5 = 233 233 * Bug Fixing. 234 234 -
amazon-polly/trunk/admin/AmazonAI-Common.php
r2142334 r2163519 347 347 public function is_auto_breaths_enabled() { 348 348 349 $news_style_enabled = $this->is_polly_news_enabled(); 350 if ($news_style_enabled) { 349 //If Neural TTS is enabled breaths SSML tags are not supported. 350 $neural_enabled = $this->is_polly_neural_enabled(); 351 if ($neural_enabled) { 351 352 return false; 352 353 } … … 574 575 575 576 } 576 577 578 577 579 578 /** … … 1354 1353 $clean_text = $this->add_pauses($clean_text); 1355 1354 1356 error_log("Text:");1357 error_log($clean_text);1358 1359 1355 $is_ssml_enabled = $this->is_ssml_enabled(); 1360 1356 if ($is_ssml_enabled) { -
amazon-polly/trunk/admin/AmazonAI-GeneralConfiguration.php
r2131960 r2163519 84 84 register_setting('amazon_ai', 'amazon_polly_secret_key'); 85 85 86 if ($this->common->validate_amazon_polly_access()) {87 88 86 add_settings_field('amazon_polly_region', __('AWS Region:', 'amazonpolly'), array( 89 87 $this, … … 94 92 95 93 register_setting('amazon_ai', 'amazon_polly_region'); 96 97 }98 94 99 95 -
amazon-polly/trunk/admin/AmazonAI-PollyConfiguration.php
r2133617 r2163519 46 46 $this->common->init(); 47 47 48 49 50 51 48 add_settings_section('amazon_ai_polly', "Amazon Polly configuration", array($this,'polly_gui'), 'amazon_ai_polly'); 52 49 … … 57 54 register_setting('amazon_ai_polly', 'amazon_ai_polly_enable'); 58 55 59 if ($this->common-> validate_amazon_polly_access() ) {60 if ($this->common-> is_polly_enabled()) {56 if ($this->common->is_polly_enabled() ) { 57 if ($this->common->validate_amazon_polly_access()) { 61 58 if ($this->common->is_language_supported_for_polly()) { 62 59 add_settings_field( 'amazon_polly_neural', __( 'Neural Text-To-Speech:', 'amazonpolly' ), array( $this, 'neural_gui' ), 'amazon_ai_polly', 'amazon_ai_polly', array( 'label_for' => 'amazon_polly_neural' ) ); -
amazon-polly/trunk/admin/AmazonAI-TranslateConfiguration.php
r2131960 r2163519 330 330 public function translation_enabled_gui() 331 331 { 332 332 333 if ($this->is_language_supported()) { 333 334 if ($this->common->validate_amazon_polly_access()) { -
amazon-polly/trunk/amazonpolly.php
r2156568 r2163519 17 17 * Plugin URI: https://wordpress.org/plugins/amazon-polly/ 18 18 * Description: Create audio version of your posts, translate them into other languages and create podcasts! Amazon Polly is a service that turns text into lifelike speech. With dozens of voices across a variety of languages, you can select the ideal voice and build engaging speech-enabled applications that work in many different countries. The Amazon Polly plugin for WordPress is a sample application that shows how WordPress creators can easily add Text-to-Speech capabilities to written content with Amazon Polly. You can generate an audio feed for text-based content and insert it into an embedded player to increase the accessibility of your WordPress site. The sample code also enables you to publish podcasts directly from your site and make them available for listeners in the form of podcasts. In addition, the plugin allows to translate your text from one language to another using Amazon Translate– which is a neural machine translation service that delivers fast, high-quality, and affordable language translation. Amazon Translate allows you to localize content - such as websites and applications - for international users, and to easily translate large volumes of text efficiently. 19 * Version: 3.1. 419 * Version: 3.1.5 20 20 * Author: AWS Labs, WP Engine 21 21 * Author URI: https://aws.amazon.com/ -
amazon-polly/trunk/includes/template-amazon-pollycast.php
r2156568 r2163519 69 69 <description><?php echo esc_attr($itunes_description); ?></description> 70 70 <image> 71 <url><?php echo esc_url( $podcast_icon ); ?></url> 71 <url><?php 72 $podcast_icon = str_replace('https://', 'http://', $podcast_icon ); 73 echo esc_url( $podcast_icon ); ?></url> 72 74 <title><?php echo esc_attr($itunes_title); ?></title> 73 75 <link><?php bloginfo_rss( 'url' ); ?></link>
Note: See TracChangeset
for help on using the changeset viewer.