Plugin Directory

Changeset 2163519


Ignore:
Timestamp:
09/26/2019 09:27:24 AM (7 years ago)
Author:
awslabs
Message:

trunk 3.1.5

Location:
amazon-polly/trunk
Files:
8 edited

Legend:

Unmodified
Added
Removed
  • amazon-polly/trunk/README.md

    r2156568 r2163519  
    77| Requires PHP | 5.6 |
    88| Tested up to | 5.2 |
    9 | Stable tag | 3.1.4 |
     9| Stable tag | 3.1.5 |
    1010| License | GPLv3 ONLY |
    1111| License URI | https://www.gnu.org/licenses/gpl-3.0.html |
     
    239239#### Changelog
    240240
    241 = 3.1.1-4 =
     241= 3.1.1-5 =
    242242* Bug Fixing.
    243243
  • amazon-polly/trunk/README.txt

    r2156568 r2163519  
    55Requires PHP: 5.6
    66Tested up to: 5.2
    7 Stable tag: 3.1.4
     7Stable tag: 3.1.5
    88License: GPLv3 ONLY
    99License URI: https://www.gnu.org/licenses/gpl-3.0.html
     
    230230== Changelog ==
    231231
    232 = 3.1.1-4 =
     232= 3.1.1-5 =
    233233* Bug Fixing.
    234234
  • amazon-polly/trunk/admin/AmazonAI-Common.php

    r2142334 r2163519  
    347347    public function is_auto_breaths_enabled() {
    348348
    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) {
    351352            return false;
    352353        }
     
    574575
    575576    }
    576 
    577 
    578577
    579578    /**
     
    13541353        $clean_text = $this->add_pauses($clean_text);
    13551354
    1356         error_log("Text:");
    1357         error_log($clean_text);
    1358 
    13591355        $is_ssml_enabled = $this->is_ssml_enabled();
    13601356        if ($is_ssml_enabled) {
  • amazon-polly/trunk/admin/AmazonAI-GeneralConfiguration.php

    r2131960 r2163519  
    8484        register_setting('amazon_ai', 'amazon_polly_secret_key');
    8585
    86         if ($this->common->validate_amazon_polly_access()) {
    87 
    8886          add_settings_field('amazon_polly_region', __('AWS Region:', 'amazonpolly'), array(
    8987              $this,
     
    9492
    9593          register_setting('amazon_ai', 'amazon_polly_region');
    96 
    97         }
    9894
    9995
  • amazon-polly/trunk/admin/AmazonAI-PollyConfiguration.php

    r2133617 r2163519  
    4646    $this->common->init();
    4747
    48 
    49 
    50 
    5148            add_settings_section('amazon_ai_polly', "Amazon Polly configuration", array($this,'polly_gui'), 'amazon_ai_polly');
    5249
     
    5754        register_setting('amazon_ai_polly', 'amazon_ai_polly_enable');
    5855
    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()) {
    6158            if ($this->common->is_language_supported_for_polly()) {
    6259              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  
    330330    public function translation_enabled_gui()
    331331    {
     332
    332333        if ($this->is_language_supported()) {
    333334        if ($this->common->validate_amazon_polly_access()) {
  • amazon-polly/trunk/amazonpolly.php

    r2156568 r2163519  
    1717 * Plugin URI:        https://wordpress.org/plugins/amazon-polly/
    1818 * 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.4
     19 * Version:           3.1.5
    2020 * Author:            AWS Labs, WP Engine
    2121 * Author URI:        https://aws.amazon.com/
  • amazon-polly/trunk/includes/template-amazon-pollycast.php

    r2156568 r2163519  
    6969    <description><?php echo esc_attr($itunes_description); ?></description>
    7070    <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>
    7274        <title><?php echo esc_attr($itunes_title); ?></title>
    7375        <link><?php bloginfo_rss( 'url' ); ?></link>
Note: See TracChangeset for help on using the changeset viewer.