Amazon Polly Gives WordPress a Voice!
Today AWS in partnership with WP Engine is announcing the release of an Amazon Polly plugin for WordPress. The sample plugin enables WordPress creators to easily add Text-to-Speech capabilities to written content. As voice interaction becomes more common, it’s essential to provide your website’s content in audio formats. And, visitors who are drawn to your websites by voice capabilities can now consume your content through new channels, such as inline audio players and mobile podcast applications. Now your readers and listeners can listen to your posts, even while they are away from the screen – driving, riding a bike, or even jogging.
WordPress powers 29% of websites, and is well on its way to powering 50% of the web. With its ambitious goal of “democratizing publishing on the web,” WordPress thrives on simplifying the relationship between the creative and the technical. With this philosophy in mind, we at AWS knew we could provide a unique digital experience for consumers of web content by bringing an actual “voice” to WordPress websites.
The Amazon Polly plugin for WordPress lets consumers of the world’s most popular website management system “listen” to a natural, friendly narration of their websites’ content. With dozens of lifelike voices across a variety of languages, you can select the ideal voice and build other speech-enabled applications using the full-featured Amazon Polly service.
Begin voicing your WordPress content today, it’s easy to get started with this step-by-step tutorial.
How it Works
The experience begins when a WordPress site administrator, let’s assume that’s you, installs and configures the plugin using the native WordPress Install Plugin page. Then, you navigate to the Amazon Polly Settings page and connect the plugin to your AWS account. If the site is hosted on AWS, you can handle authentication by using IAM roles. Otherwise, provide the plugin with your AWS credentials, and you’ll be on your way to creating your first voice-enabled web application.
Let’s look at how you configure settings. Many options are configurable, but we provide a default configuration to get your site speaking content as quickly as possible. The following screen shows the plugin’s typical configuration:
You can set these options:
- AWS Access Key and AWS Secret Key – AWS credentials, which allow the plugin to use Amazon Polly and Amazon S3. If you are hosting your WordPress site on Amazon EC2, you can use IAM roles. In that case, leave these two fields blank.
- Sample Rate – The sample rate of the audio files that will be generated (higher sampling rates mean higher-quality audio).
- Voice Name – The Amazon Polly voice to use to create the audio file.
- Player Position – Where to position the audio player on the website. You can put it before or after the post, or, if you want to use only podcast functionality, not use it at all.
- New Post Default – Specifies whether Amazon Polly should automatically be enabled for all new posts. If so, Amazon Polly uses the configuration settings to create an audio file for each new post.
- Autoplay – Specifies whether the audio player should automatically start playing the audio when a user visits a site for a specific post.
- Store audio in Amazon S3 – If you want audio files to be stored on Amazon S3, not on the server itself, choose this option. Amazon Polly creates the bucket automatically.
- Amazon CloudFront (CDN) Domain Name – If you want to broadcast your audio files with Amazon CloudFront, provide the name of your domain (you should create it yourself).
- ITunes email–The editorial contact for the podcast channel.
- ITunes Category – The category for your blog posts. Choosing a category makes it easier for podcast users to find your posts in the podcast catalog.
- ITunes Explicit – Specifies whether to enable Amazon Pollycast (podcast) functionality.
- Bulk Update All Posts – If you want to convert all posts using the current plugin settings, choose this option.
After you install and configure the plugin, it can create audio files for any new content. You can configure audio file creation to occur automatically upon publication or on a per-submission basis. If you have historical content, you can process it in batches to provide your site visitors with an enhanced experience with existing content.
Now, when users publish content, it’s sent to the Amazon Polly API for synthesis. By default, audio files are stored locally on disk on the web server. If you need to scale, you can integrate with Amazon S3 cloud storage and the CloudFront content delivery network. Long posts are split into blocks for processing and are recombined into a single audio file when all files have been processed.
The following diagram shows how WordPress users can listen to audio content from your website:
- In the first method, the audio files are provided to users directly from the WordPress server.
- When you use S3, all audio files are stored and broadcast from Amazon S3.
- If you use CloudFront distribution, your files are stored in S3, but are broadcast using Amazon CloudFront (CDN).
To highlight your website’s new capabilities, you can configure the HTML player to appear either above or below text. Or you can completely disable it. Amazon Polly automatically uses the default audio settings, but you can choose other options to customize individual posts and pages with custom voices and sample rates.
We also enable podcast capabilities through Amazon Pollycast feeds. These feeds are RSS 2.0 compliant and provide the necessary XML data for aggregation by popular podcast mobile applications and podcast directories, such as iTunes. Amazon Pollycast endpoints are added automatically to all WordPress archive URLs, which gives you the option to syndicate site-wide or targeted podcasts based on categories, tags, author, and so on. With Amazon Pollycast podcast syndication, you can now expand your audience to include users who are away from their screens, such as commuters and ambitious multi-taskers. For example, you could submit your WordPress podcast as an official ITunes podcast source to make it available to a wider audience!
The following screenshots show the WordPress site view and podcast view from a mobile phone.
Although our first priority was to provide immediate value with the plugin’s initial release, we also created a framework for future features. In the spirit of the open web, the plugin source code is available on our GitHub repository. Collaboration is both welcome and encouraged.
We look forward to hearing from you and seeing your WordPress sites soon! If you have questions or ideas for new features, use the comment section below to let us know.
About the Authors
Steven Word is the Innovation Program Manager at WP Engine, where he evaluates, recommends, and architects WordPress technology solutions for customers and partners. A WordPress veteran of 10 years and Core Contributor, Steven is passionate about providing technical and strategic guidance to content creators, developers, and product teams.
Tomasz Stachlewski is a Solutions Architect at AWS, where he helps companies of all sizes (from startups to enterprises) in their cloud journey. He is a big believer in innovative technology, such as serverless architecture, which allows companies to accelerate their digital transformation.
相關推薦
Amazon Polly Gives WordPress a Voice!
Today AWS in partnership with WP Engine is announcing the release of an Amazon Polly plugin for WordPress. The sample plugin enables Word
Amazon Polly 讓 WordPress 有了自己的聲音!
今天,AWS 與 WP Engine 聯合釋出了適用於 WordPress 的 Amazon Polly 外掛。示例外掛讓 WordPress 創作者可以輕鬆為書面內容新增文字轉語音功能。隨著語音互動日益普及,為網站內容賦予音訊形式也成了一項必要的工作。此外,被語音功能吸引
Beyond text: How Spokata uses Amazon Polly to make news and information universally accessible as real
This is a guest blog post by Zack Sherman, Founder of Spokata. In their own words, “Spokata is a mobile audio platform that streams real-time news
Develop a voice-based interface for your products using cognitive IoT services
Summary Building audio into your applications can be challenging, but Node-RED and Watson services makes it quicker and simpler than
Organisational Agility: Give People a VOICE
Organisational Agility: Give People a VOICEDon’t Mandate One Way™.“You are special, you are a beautiful and unique snowflake”You are, your team is and so a
Launch an Amazon EMR Cluster in a VPC Environment
Amazon Web Services is Hiring. Amazon Web Services (AWS) is a dynamic, growing business unit within Amazon.com. We are currently hiring So
FAQ sur Amazon Polly
Q : Qu'est-ce qu'Amazon Polly ? Amazon Polly est un service qui convertit le texte en un enregistrement audio réaliste. Amazon Pol
Amazon Kinesis- Setting up a Streaming Data Pipeline
Ray Zhu from the Amazon Kinesis team wrote this great post about how to set up a streaming data pipeline. He carefully shows you step by step how
Amazon Polly Pricing
You are billed monthly for the number of characters of text that you processed. Amazon Polly is priced at $4.00 per 1 million characters for s
Tarification d'Amazon Polly
La facturation se fait mensuellement pour le nombre de caractères de texte traités. Amazon Polly est facturé à hauteur de 4,00 USD par million
FICO CSS Amazon Polly Video Case Study
Amazon Web Services is Hiring. Amazon Web Services (AWS) is a dynamic, growing business unit within Amazon.com. We are currently hiring So
Amazon Polly
Amazon Polly permet aux développeurs de proposer des applications avec une expérience visuelle améliorée, notamment des fonctions de synchronisa
Amazon Polly Features
With Amazon Polly’s custom lexicons, or vocabularies, you can modify the pronunciation of particular words, such as company names, acronyms, fore
Démarrez avec Amazon Polly
Amazon Web Services recrute. Amazon Web Services (AWS) est une unité opérationnelle dynamique en pleine croissance faisant partie du group
Amazon Polly 語音合成服務_人工智慧服務
藉助 Amazon Polly,您的客戶聯絡中心可以使用自然的聲音與客戶互動。您可以快取並重放 Amazon Polly 的語音輸出,以便在互動式語音應答(IVR)系統中對來電客戶進行語音提示,例如 Amazon Connect 。此外,您可以使用 Amazon Polly API 提供
Amazon Polly常見問題_文字轉語音服務常見問題
問:什麼是 Amazon Polly? Amazon Polly 是一項將文字轉換為逼真語音的服務。Amazon Polly 可以為現有應用程式新增先進的語音功能,支援構建具有語音功能的全新類別產品,從移動應用程式和汽車到裝置和家電,均涵蓋其中。Amazon
Build A Voice Enabled Cognitive Application with Watson
The new IBM Voice Agent with Watson service links your telephone network with Waston as a self-service call centre agent. In this webcast, Ronan Dalt
Web Design a fully functioning Wordpress website
Web Design作業代寫、代做CS/python程式作業、代寫C/C++語言作業、代做CSS/website作業Web Design – Final Assignment, a fully functioning Wordpress websiteYou must complete a fully fin
wordpress 出現ajaxsubmit is not a function
解決這個問題的思路: 1. 缺失 js.form.js 或者js.form.min.js 2. jquery.js jquery.form.min.js 順序問題,按照jquery.js、form.js的順序 <script ty
How to Easily Create a Multilingual WordPress Site
透過 wordpress 寫多國語言的網站還滿簡單的耶。 裝好外掛後,要先新增語言(Langages)。 由於 zh_TW, zh_CN 預設用的程式碼都是 zh, 不能2個都用zh, 所以我改用 tw 和 cn, 理論上用 chs / cht 也不錯。 翻譯一些字串: 翻譯文章: 編輯文