Version Description
- Released 03/10/2021
- Added settings for Podcast Index tags: locked, location, funding, transcript, chapters
- Several small bug fixes
Download this release
Release Info
Developer | benbeecroft |
Plugin | PowerPress Podcasting plugin by Blubrry |
Version | 8.5 |
Comparing to | |
See all releases |
Code changes from version 8.4.8 to 8.5
- css/blueprint.css +0 -3
- css/blueprint.min.css +1 -1
- js/admin.js +37 -0
- powerpress-metamarks.php +27 -0
- powerpress-player.php +2 -2
- powerpress.php +64 -10
- powerpressadmin-basic.php +15 -1
- powerpressadmin-dashboard.php +4 -0
- powerpressadmin-editfeed.php +32 -0
- powerpressadmin-epbox-options.php +8 -1
- powerpressadmin-metabox.php +53 -2
- powerpressadmin-player-page.php +3 -3
- powerpressadmin-rss-import.php +9 -1
- powerpressadmin-tools.php +0 -18
- powerpressadmin.php +22 -0
- readme.txt +7 -2
- views/ep-box-settings.php +3 -0
- views/episode-box.php +16 -3
- views/settings_tab_destinations.php +1 -1
css/blueprint.css
CHANGED
@@ -6,9 +6,6 @@
|
|
6 |
html {
|
7 |
box-sizing: border-box; }
|
8 |
|
9 |
-
*, *::before, *::after {
|
10 |
-
box-sizing: inherit; }
|
11 |
-
|
12 |
[bp~='container'] {
|
13 |
width: 100%;
|
14 |
margin: 0 auto;
|
6 |
html {
|
7 |
box-sizing: border-box; }
|
8 |
|
|
|
|
|
|
|
9 |
[bp~='container'] {
|
10 |
width: 100%;
|
11 |
margin: 0 auto;
|
css/blueprint.min.css
CHANGED
@@ -2,4 +2,4 @@
|
|
2 |
Blueprint CSS 3.1.1
|
3 |
https://blueprintcss.dev
|
4 |
License MIT 2019
|
5 |
-
*/html{box-sizing:border-box}*,::after,::before{box-sizing:inherit}[bp~=container]{width:100%;margin:0 auto;display:block;max-width:1000px}[bp~=grid]{display:grid!important;grid-gap:16px;grid-template-columns:repeat(12,1fr)}[bp~=vertical-start]{align-items:start}[bp~=vertical-center]{align-items:center}[bp~=vertical-end]{align-items:end}[bp~=between]{justify-content:center}[bp~=gap-none]{grid-gap:0;margin-bottom:0}[bp~=gap-column-none]{grid-column-gap:0}[bp~=gap-row-none]{grid-row-gap:0;margin-bottom:0}[bp~=first]{order:-1}[bp~=last]{order:12}[bp~=hide]{display:none!important}[bp~=show]{display:initial!important}[bp~=grid][bp*='@']{grid-template-columns:12fr}[bp~=grid][bp*='@lg'],[bp~=grid][bp*='@md'],[bp~=grid][bp*='@sm'],[bp~=grid][bp*='@xl']{grid-template-columns:12fr}[bp~='10@lg'],[bp~='10@md'],[bp~='10@sm'],[bp~='10@xl'],[bp~='11@lg'],[bp~='11@md'],[bp~='11@sm'],[bp~='11@xl'],[bp~='12@lg'],[bp~='12@md'],[bp~='12@sm'],[bp~='12@xl'],[bp~='1@lg'],[bp~='1@md'],[bp~='1@sm'],[bp~='1@xl'],[bp~='2@lg'],[bp~='2@md'],[bp~='2@sm'],[bp~='2@xl'],[bp~='3@lg'],[bp~='3@md'],[bp~='3@sm'],[bp~='3@xl'],[bp~='4@lg'],[bp~='4@md'],[bp~='4@sm'],[bp~='4@xl'],[bp~='5@lg'],[bp~='5@md'],[bp~='5@sm'],[bp~='5@xl'],[bp~='6@lg'],[bp~='6@md'],[bp~='6@sm'],[bp~='6@xl'],[bp~='7@lg'],[bp~='7@md'],[bp~='7@sm'],[bp~='7@xl'],[bp~='8@lg'],[bp~='8@md'],[bp~='8@sm'],[bp~='8@xl'],[bp~='9@lg'],[bp~='9@md'],[bp~='9@sm'],[bp~='9@xl']{grid-column:span 12}[bp~=grid][bp~='1']{grid-template-columns:repeat(12,1fr)}[bp~='1']{grid-column:span 1/span 1}[bp~=grid][bp~='2']{grid-template-columns:repeat(6,1fr)}[bp~='2']{grid-column:span 2/span 2}[bp~=grid][bp~='3']{grid-template-columns:repeat(4,1fr)}[bp~='3']{grid-column:span 3/span 3}[bp~=grid][bp~='4']{grid-template-columns:repeat(3,1fr)}[bp~='4']{grid-column:span 4/span 4}[bp~=grid][bp~='5']{grid-template-columns:repeat(2.4,1fr)}[bp~='5']{grid-column:span 5/span 5}[bp~=grid][bp~='6']{grid-template-columns:repeat(2,1fr)}[bp~='6']{grid-column:span 6/span 6}[bp~=grid][bp~='7']{grid-template-columns:repeat(1.71429,1fr)}[bp~='7']{grid-column:span 7/span 7}[bp~=grid][bp~='8']{grid-template-columns:repeat(1.5,1fr)}[bp~='8']{grid-column:span 8/span 8}[bp~=grid][bp~='9']{grid-template-columns:repeat(1.33333,1fr)}[bp~='9']{grid-column:span 9/span 9}[bp~=grid][bp~='10']{grid-template-columns:repeat(1.2,1fr)}[bp~='10']{grid-column:span 10/span 10}[bp~=grid][bp~='11']{grid-template-columns:repeat(1.09091,1fr)}[bp~='11']{grid-column:span 11/span 11}[bp~=grid][bp~='12']{grid-template-columns:repeat(1,1fr)}[bp~='12']{grid-column:span 12/span 12}[bp~=offset-1]{grid-column-start:1}[bp~=offset-2]{grid-column-start:2}[bp~=offset-3]{grid-column-start:3}[bp~=offset-4]{grid-column-start:4}[bp~=offset-5]{grid-column-start:5}[bp~=offset-6]{grid-column-start:6}[bp~=offset-7]{grid-column-start:7}[bp~=offset-8]{grid-column-start:8}[bp~=offset-9]{grid-column-start:9}[bp~=offset-10]{grid-column-start:10}[bp~=offset-11]{grid-column-start:11}[bp~=offset-12]{grid-column-start:12}@media (min-width:480px){[bp~=grid][bp~='1@sm']{grid-template-columns:repeat(12,1fr)}[bp~='1@sm']{grid-column:span 1/span 1}[bp~=grid][bp~='2@sm']{grid-template-columns:repeat(6,1fr)}[bp~='2@sm']{grid-column:span 2/span 2}[bp~=grid][bp~='3@sm']{grid-template-columns:repeat(4,1fr)}[bp~='3@sm']{grid-column:span 3/span 3}[bp~=grid][bp~='4@sm']{grid-template-columns:repeat(3,1fr)}[bp~='4@sm']{grid-column:span 4/span 4}[bp~=grid][bp~='5@sm']{grid-template-columns:repeat(2.4,1fr)}[bp~='5@sm']{grid-column:span 5/span 5}[bp~=grid][bp~='6@sm']{grid-template-columns:repeat(2,1fr)}[bp~='6@sm']{grid-column:span 6/span 6}[bp~=grid][bp~='7@sm']{grid-template-columns:repeat(1.71429,1fr)}[bp~='7@sm']{grid-column:span 7/span 7}[bp~=grid][bp~='8@sm']{grid-template-columns:repeat(1.5,1fr)}[bp~='8@sm']{grid-column:span 8/span 8}[bp~=grid][bp~='9@sm']{grid-template-columns:repeat(1.33333,1fr)}[bp~='9@sm']{grid-column:span 9/span 9}[bp~=grid][bp~='10@sm']{grid-template-columns:repeat(1.2,1fr)}[bp~='10@sm']{grid-column:span 10/span 10}[bp~=grid][bp~='11@sm']{grid-template-columns:repeat(1.09091,1fr)}[bp~='11@sm']{grid-column:span 11/span 11}[bp~=grid][bp~='12@sm']{grid-template-columns:repeat(1,1fr)}[bp~='12@sm']{grid-column:span 12/span 12}[bp~='offset-1@sm']{grid-column-start:1}[bp~='offset-2@sm']{grid-column-start:2}[bp~='offset-3@sm']{grid-column-start:3}[bp~='offset-4@sm']{grid-column-start:4}[bp~='offset-5@sm']{grid-column-start:5}[bp~='offset-6@sm']{grid-column-start:6}[bp~='offset-7@sm']{grid-column-start:7}[bp~='offset-8@sm']{grid-column-start:8}[bp~='offset-9@sm']{grid-column-start:9}[bp~='offset-10@sm']{grid-column-start:10}[bp~='offset-11@sm']{grid-column-start:11}[bp~='offset-12@sm']{grid-column-start:12}[bp~='hide@sm']{display:none!important}[bp~='show@sm']{display:initial!important}[bp~='first@sm']{order:-1}[bp~='last@sm']{order:12}}@media (min-width:720px){[bp~=grid][bp~='1@md']{grid-template-columns:repeat(12,1fr)}[bp~='1@md']{grid-column:span 1/span 1}[bp~=grid][bp~='2@md']{grid-template-columns:repeat(6,1fr)}[bp~='2@md']{grid-column:span 2/span 2}[bp~=grid][bp~='3@md']{grid-template-columns:repeat(4,1fr)}[bp~='3@md']{grid-column:span 3/span 3}[bp~=grid][bp~='4@md']{grid-template-columns:repeat(3,1fr)}[bp~='4@md']{grid-column:span 4/span 4}[bp~=grid][bp~='5@md']{grid-template-columns:repeat(2.4,1fr)}[bp~='5@md']{grid-column:span 5/span 5}[bp~=grid][bp~='6@md']{grid-template-columns:repeat(2,1fr)}[bp~='6@md']{grid-column:span 6/span 6}[bp~=grid][bp~='7@md']{grid-template-columns:repeat(1.71429,1fr)}[bp~='7@md']{grid-column:span 7/span 7}[bp~=grid][bp~='8@md']{grid-template-columns:repeat(1.5,1fr)}[bp~='8@md']{grid-column:span 8/span 8}[bp~=grid][bp~='9@md']{grid-template-columns:repeat(1.33333,1fr)}[bp~='9@md']{grid-column:span 9/span 9}[bp~=grid][bp~='10@md']{grid-template-columns:repeat(1.2,1fr)}[bp~='10@md']{grid-column:span 10/span 10}[bp~=grid][bp~='11@md']{grid-template-columns:repeat(1.09091,1fr)}[bp~='11@md']{grid-column:span 11/span 11}[bp~=grid][bp~='12@md']{grid-template-columns:repeat(1,1fr)}[bp~='12@md']{grid-column:span 12/span 12}[bp~='offset-1@md']{grid-column-start:1}[bp~='offset-2@md']{grid-column-start:2}[bp~='offset-3@md']{grid-column-start:3}[bp~='offset-4@md']{grid-column-start:4}[bp~='offset-5@md']{grid-column-start:5}[bp~='offset-6@md']{grid-column-start:6}[bp~='offset-7@md']{grid-column-start:7}[bp~='offset-8@md']{grid-column-start:8}[bp~='offset-9@md']{grid-column-start:9}[bp~='offset-10@md']{grid-column-start:10}[bp~='offset-11@md']{grid-column-start:11}[bp~='offset-12@md']{grid-column-start:12}[bp~='hide@md']{display:none!important}[bp~='show@md']{display:initial!important}[bp~='first@md']{order:-1}[bp~='last@md']{order:12}}@media (min-width:960px){[bp~=grid][bp~='1@lg']{grid-template-columns:repeat(12,1fr)}[bp~='1@lg']{grid-column:span 1/span 1}[bp~=grid][bp~='2@lg']{grid-template-columns:repeat(6,1fr)}[bp~='2@lg']{grid-column:span 2/span 2}[bp~=grid][bp~='3@lg']{grid-template-columns:repeat(4,1fr)}[bp~='3@lg']{grid-column:span 3/span 3}[bp~=grid][bp~='4@lg']{grid-template-columns:repeat(3,1fr)}[bp~='4@lg']{grid-column:span 4/span 4}[bp~=grid][bp~='5@lg']{grid-template-columns:repeat(2.4,1fr)}[bp~='5@lg']{grid-column:span 5/span 5}[bp~=grid][bp~='6@lg']{grid-template-columns:repeat(2,1fr)}[bp~='6@lg']{grid-column:span 6/span 6}[bp~=grid][bp~='7@lg']{grid-template-columns:repeat(1.71429,1fr)}[bp~='7@lg']{grid-column:span 7/span 7}[bp~=grid][bp~='8@lg']{grid-template-columns:repeat(1.5,1fr)}[bp~='8@lg']{grid-column:span 8/span 8}[bp~=grid][bp~='9@lg']{grid-template-columns:repeat(1.33333,1fr)}[bp~='9@lg']{grid-column:span 9/span 9}[bp~=grid][bp~='10@lg']{grid-template-columns:repeat(1.2,1fr)}[bp~='10@lg']{grid-column:span 10/span 10}[bp~=grid][bp~='11@lg']{grid-template-columns:repeat(1.09091,1fr)}[bp~='11@lg']{grid-column:span 11/span 11}[bp~=grid][bp~='12@lg']{grid-template-columns:repeat(1,1fr)}[bp~='12@lg']{grid-column:span 12/span 12}[bp~='offset-1@lg']{grid-column-start:1}[bp~='offset-2@lg']{grid-column-start:2}[bp~='offset-3@lg']{grid-column-start:3}[bp~='offset-4@lg']{grid-column-start:4}[bp~='offset-5@lg']{grid-column-start:5}[bp~='offset-6@lg']{grid-column-start:6}[bp~='offset-7@lg']{grid-column-start:7}[bp~='offset-8@lg']{grid-column-start:8}[bp~='offset-9@lg']{grid-column-start:9}[bp~='offset-10@lg']{grid-column-start:10}[bp~='offset-11@lg']{grid-column-start:11}[bp~='offset-12@lg']{grid-column-start:12}[bp~='hide@lg']{display:none!important}[bp~='show@lg']{display:initial!important}[bp~='first@lg']{order:-1}[bp~='last@lg']{order:12}}@media (min-width:1440px){[bp~=grid][bp~='1@xl']{grid-template-columns:repeat(12,1fr)}[bp~='1@xl']{grid-column:span 1/span 1}[bp~=grid][bp~='2@xl']{grid-template-columns:repeat(6,1fr)}[bp~='2@xl']{grid-column:span 2/span 2}[bp~=grid][bp~='3@xl']{grid-template-columns:repeat(4,1fr)}[bp~='3@xl']{grid-column:span 3/span 3}[bp~=grid][bp~='4@xl']{grid-template-columns:repeat(3,1fr)}[bp~='4@xl']{grid-column:span 4/span 4}[bp~=grid][bp~='5@xl']{grid-template-columns:repeat(2.4,1fr)}[bp~='5@xl']{grid-column:span 5/span 5}[bp~=grid][bp~='6@xl']{grid-template-columns:repeat(2,1fr)}[bp~='6@xl']{grid-column:span 6/span 6}[bp~=grid][bp~='7@xl']{grid-template-columns:repeat(1.71429,1fr)}[bp~='7@xl']{grid-column:span 7/span 7}[bp~=grid][bp~='8@xl']{grid-template-columns:repeat(1.5,1fr)}[bp~='8@xl']{grid-column:span 8/span 8}[bp~=grid][bp~='9@xl']{grid-template-columns:repeat(1.33333,1fr)}[bp~='9@xl']{grid-column:span 9/span 9}[bp~=grid][bp~='10@xl']{grid-template-columns:repeat(1.2,1fr)}[bp~='10@xl']{grid-column:span 10/span 10}[bp~=grid][bp~='11@xl']{grid-template-columns:repeat(1.09091,1fr)}[bp~='11@xl']{grid-column:span 11/span 11}[bp~=grid][bp~='12@xl']{grid-template-columns:repeat(1,1fr)}[bp~='12@xl']{grid-column:span 12/span 12}[bp~='offset-1@xl']{grid-column-start:1}[bp~='offset-2@xl']{grid-column-start:2}[bp~='offset-3@xl']{grid-column-start:3}[bp~='offset-4@xl']{grid-column-start:4}[bp~='offset-5@xl']{grid-column-start:5}[bp~='offset-6@xl']{grid-column-start:6}[bp~='offset-7@xl']{grid-column-start:7}[bp~='offset-8@xl']{grid-column-start:8}[bp~='offset-9@xl']{grid-column-start:9}[bp~='offset-10@xl']{grid-column-start:10}[bp~='offset-11@xl']{grid-column-start:11}[bp~='offset-12@xl']{grid-column-start:12}[bp~='hide@xl']{display:none!important}[bp~='show@xl']{display:initial!important}[bp~='first@xl']{order:-1}[bp~='last@xl']{order:12}}[bp~=flex]{flex-wrap:wrap;display:flex}[bp~=fill]{flex:1 1 0%;flex-basis:0%}[bp~=fit]{flex-basis:auto}[bp~=float-center]{margin-left:auto;margin-right:auto;display:block;float:none}[bp~=float-left]{float:left}[bp~=float-right]{float:right}[bp~=clear-fix]::after{content:'';display:table;clear:both}[bp~=text-left]{text-align:left}[bp~=text-right]{text-align:right}[bp~=text-center]{text-align:center}[bp~='1--max']{max-width:83.33333px!important}[bp~='2--max']{max-width:166.66667px!important}[bp~='3--max']{max-width:250px!important}[bp~='4--max']{max-width:333.33333px!important}[bp~='5--max']{max-width:416.66667px!important}[bp~='6--max']{max-width:500px!important}[bp~='7--max']{max-width:583.33333px!important}[bp~='8--max']{max-width:666.66667px!important}[bp~='9--max']{max-width:750px!important}[bp~='10--max']{max-width:833.33333px!important}[bp~='11--max']{max-width:916.66667px!important}[bp~='12--max']{max-width:1000px!important}[bp~=full-width]{width:100%}@media (max-width:480px){[bp~='full-width-until@sm']{width:100%!important;max-width:100%!important}}@media (max-width:720px){[bp~='full-width-until@md']{width:100%!important;max-width:100%!important}}@media (max-width:960px){[bp~='full-width-until@lg']{width:100%!important;max-width:100%!important}}@media (max-width:1440px){[bp~='full-width-until@xl']{width:100%!important;max-width:100%!important}}[bp~=margin--xs]{margin:4px!important}[bp~=margin-top--xs]{margin-top:4px!important}[bp~=margin-bottom--xs]{margin-bottom:4px!important}[bp~=margin-right--xs]{margin-right:4px!important}[bp~=margin-left--xs]{margin-left:4px!important}[bp~=padding--xs]{padding:4px!important}[bp~=padding-top--xs]{padding-top:4px!important}[bp~=padding-bottom--xs]{padding-bottom:4px!important}[bp~=padding-right--xs]{padding-right:4px!important}[bp~=padding-left--xs]{padding-left:4px!important}[bp~=margin--sm]{margin:8px!important}[bp~=margin-top--sm]{margin-top:8px!important}[bp~=margin-bottom--sm]{margin-bottom:8px!important}[bp~=margin-right--sm]{margin-right:8px!important}[bp~=margin-left--sm]{margin-left:8px!important}[bp~=padding--sm]{padding:8px!important}[bp~=padding-top--sm]{padding-top:8px!important}[bp~=padding-bottom--sm]{padding-bottom:8px!important}[bp~=padding-right--sm]{padding-right:8px!important}[bp~=padding-left--sm]{padding-left:8px!important}[bp~=margin]{margin:16px!important}[bp~=margin-top]{margin-top:16px!important}[bp~=margin-bottom]{margin-bottom:16px!important}[bp~=margin-right]{margin-right:16px!important}[bp~=margin-left]{margin-left:16px!important}[bp~=padding]{padding:16px!important}[bp~=padding-top]{padding-top:16px!important}[bp~=padding-bottom]{padding-bottom:16px!important}[bp~=padding-right]{padding-right:16px!important}[bp~=padding-left]{padding-left:16px!important}[bp~=margin--lg]{margin:24px!important}[bp~=margin-top--lg]{margin-top:24px!important}[bp~=margin-bottom--lg]{margin-bottom:24px!important}[bp~=margin-right--lg]{margin-right:24px!important}[bp~=margin-left--lg]{margin-left:24px!important}[bp~=padding--lg]{padding:24px!important}[bp~=padding-top--lg]{padding-top:24px!important}[bp~=padding-bottom--lg]{padding-bottom:24px!important}[bp~=padding-right--lg]{padding-right:24px!important}[bp~=padding-left--lg]{padding-left:24px!important}[bp~=margin--none]{margin:0!important}[bp~=margin-top--none]{margin-top:0!important}[bp~=margin-bottom--none]{margin-bottom:0!important}[bp~=margin-right--none]{margin-right:0!important}[bp~=margin-left--none]{margin-left:0!important}[bp~=padding--none]{padding:0!important}[bp~=padding-top--none]{padding-top:0!important}[bp~=padding-bottom--none]{padding-bottom:0!important}[bp~=padding-right--none]{padding-right:0!important}[bp~=padding-left--none]{padding-left:0!important}
|
2 |
Blueprint CSS 3.1.1
|
3 |
https://blueprintcss.dev
|
4 |
License MIT 2019
|
5 |
+
*/html{box-sizing:border-box}[bp~=container]{width:100%;margin:0 auto;display:block;max-width:1000px}[bp~=grid]{display:grid!important;grid-gap:16px;grid-template-columns:repeat(12,1fr)}[bp~=vertical-start]{align-items:start}[bp~=vertical-center]{align-items:center}[bp~=vertical-end]{align-items:end}[bp~=between]{justify-content:center}[bp~=gap-none]{grid-gap:0;margin-bottom:0}[bp~=gap-column-none]{grid-column-gap:0}[bp~=gap-row-none]{grid-row-gap:0;margin-bottom:0}[bp~=first]{order:-1}[bp~=last]{order:12}[bp~=hide]{display:none!important}[bp~=show]{display:initial!important}[bp~=grid][bp*='@']{grid-template-columns:12fr}[bp~=grid][bp*='@lg'],[bp~=grid][bp*='@md'],[bp~=grid][bp*='@sm'],[bp~=grid][bp*='@xl']{grid-template-columns:12fr}[bp~='10@lg'],[bp~='10@md'],[bp~='10@sm'],[bp~='10@xl'],[bp~='11@lg'],[bp~='11@md'],[bp~='11@sm'],[bp~='11@xl'],[bp~='12@lg'],[bp~='12@md'],[bp~='12@sm'],[bp~='12@xl'],[bp~='1@lg'],[bp~='1@md'],[bp~='1@sm'],[bp~='1@xl'],[bp~='2@lg'],[bp~='2@md'],[bp~='2@sm'],[bp~='2@xl'],[bp~='3@lg'],[bp~='3@md'],[bp~='3@sm'],[bp~='3@xl'],[bp~='4@lg'],[bp~='4@md'],[bp~='4@sm'],[bp~='4@xl'],[bp~='5@lg'],[bp~='5@md'],[bp~='5@sm'],[bp~='5@xl'],[bp~='6@lg'],[bp~='6@md'],[bp~='6@sm'],[bp~='6@xl'],[bp~='7@lg'],[bp~='7@md'],[bp~='7@sm'],[bp~='7@xl'],[bp~='8@lg'],[bp~='8@md'],[bp~='8@sm'],[bp~='8@xl'],[bp~='9@lg'],[bp~='9@md'],[bp~='9@sm'],[bp~='9@xl']{grid-column:span 12}[bp~=grid][bp~='1']{grid-template-columns:repeat(12,1fr)}[bp~='1']{grid-column:span 1/span 1}[bp~=grid][bp~='2']{grid-template-columns:repeat(6,1fr)}[bp~='2']{grid-column:span 2/span 2}[bp~=grid][bp~='3']{grid-template-columns:repeat(4,1fr)}[bp~='3']{grid-column:span 3/span 3}[bp~=grid][bp~='4']{grid-template-columns:repeat(3,1fr)}[bp~='4']{grid-column:span 4/span 4}[bp~=grid][bp~='5']{grid-template-columns:repeat(2.4,1fr)}[bp~='5']{grid-column:span 5/span 5}[bp~=grid][bp~='6']{grid-template-columns:repeat(2,1fr)}[bp~='6']{grid-column:span 6/span 6}[bp~=grid][bp~='7']{grid-template-columns:repeat(1.71429,1fr)}[bp~='7']{grid-column:span 7/span 7}[bp~=grid][bp~='8']{grid-template-columns:repeat(1.5,1fr)}[bp~='8']{grid-column:span 8/span 8}[bp~=grid][bp~='9']{grid-template-columns:repeat(1.33333,1fr)}[bp~='9']{grid-column:span 9/span 9}[bp~=grid][bp~='10']{grid-template-columns:repeat(1.2,1fr)}[bp~='10']{grid-column:span 10/span 10}[bp~=grid][bp~='11']{grid-template-columns:repeat(1.09091,1fr)}[bp~='11']{grid-column:span 11/span 11}[bp~=grid][bp~='12']{grid-template-columns:repeat(1,1fr)}[bp~='12']{grid-column:span 12/span 12}[bp~=offset-1]{grid-column-start:1}[bp~=offset-2]{grid-column-start:2}[bp~=offset-3]{grid-column-start:3}[bp~=offset-4]{grid-column-start:4}[bp~=offset-5]{grid-column-start:5}[bp~=offset-6]{grid-column-start:6}[bp~=offset-7]{grid-column-start:7}[bp~=offset-8]{grid-column-start:8}[bp~=offset-9]{grid-column-start:9}[bp~=offset-10]{grid-column-start:10}[bp~=offset-11]{grid-column-start:11}[bp~=offset-12]{grid-column-start:12}@media (min-width:480px){[bp~=grid][bp~='1@sm']{grid-template-columns:repeat(12,1fr)}[bp~='1@sm']{grid-column:span 1/span 1}[bp~=grid][bp~='2@sm']{grid-template-columns:repeat(6,1fr)}[bp~='2@sm']{grid-column:span 2/span 2}[bp~=grid][bp~='3@sm']{grid-template-columns:repeat(4,1fr)}[bp~='3@sm']{grid-column:span 3/span 3}[bp~=grid][bp~='4@sm']{grid-template-columns:repeat(3,1fr)}[bp~='4@sm']{grid-column:span 4/span 4}[bp~=grid][bp~='5@sm']{grid-template-columns:repeat(2.4,1fr)}[bp~='5@sm']{grid-column:span 5/span 5}[bp~=grid][bp~='6@sm']{grid-template-columns:repeat(2,1fr)}[bp~='6@sm']{grid-column:span 6/span 6}[bp~=grid][bp~='7@sm']{grid-template-columns:repeat(1.71429,1fr)}[bp~='7@sm']{grid-column:span 7/span 7}[bp~=grid][bp~='8@sm']{grid-template-columns:repeat(1.5,1fr)}[bp~='8@sm']{grid-column:span 8/span 8}[bp~=grid][bp~='9@sm']{grid-template-columns:repeat(1.33333,1fr)}[bp~='9@sm']{grid-column:span 9/span 9}[bp~=grid][bp~='10@sm']{grid-template-columns:repeat(1.2,1fr)}[bp~='10@sm']{grid-column:span 10/span 10}[bp~=grid][bp~='11@sm']{grid-template-columns:repeat(1.09091,1fr)}[bp~='11@sm']{grid-column:span 11/span 11}[bp~=grid][bp~='12@sm']{grid-template-columns:repeat(1,1fr)}[bp~='12@sm']{grid-column:span 12/span 12}[bp~='offset-1@sm']{grid-column-start:1}[bp~='offset-2@sm']{grid-column-start:2}[bp~='offset-3@sm']{grid-column-start:3}[bp~='offset-4@sm']{grid-column-start:4}[bp~='offset-5@sm']{grid-column-start:5}[bp~='offset-6@sm']{grid-column-start:6}[bp~='offset-7@sm']{grid-column-start:7}[bp~='offset-8@sm']{grid-column-start:8}[bp~='offset-9@sm']{grid-column-start:9}[bp~='offset-10@sm']{grid-column-start:10}[bp~='offset-11@sm']{grid-column-start:11}[bp~='offset-12@sm']{grid-column-start:12}[bp~='hide@sm']{display:none!important}[bp~='show@sm']{display:initial!important}[bp~='first@sm']{order:-1}[bp~='last@sm']{order:12}}@media (min-width:720px){[bp~=grid][bp~='1@md']{grid-template-columns:repeat(12,1fr)}[bp~='1@md']{grid-column:span 1/span 1}[bp~=grid][bp~='2@md']{grid-template-columns:repeat(6,1fr)}[bp~='2@md']{grid-column:span 2/span 2}[bp~=grid][bp~='3@md']{grid-template-columns:repeat(4,1fr)}[bp~='3@md']{grid-column:span 3/span 3}[bp~=grid][bp~='4@md']{grid-template-columns:repeat(3,1fr)}[bp~='4@md']{grid-column:span 4/span 4}[bp~=grid][bp~='5@md']{grid-template-columns:repeat(2.4,1fr)}[bp~='5@md']{grid-column:span 5/span 5}[bp~=grid][bp~='6@md']{grid-template-columns:repeat(2,1fr)}[bp~='6@md']{grid-column:span 6/span 6}[bp~=grid][bp~='7@md']{grid-template-columns:repeat(1.71429,1fr)}[bp~='7@md']{grid-column:span 7/span 7}[bp~=grid][bp~='8@md']{grid-template-columns:repeat(1.5,1fr)}[bp~='8@md']{grid-column:span 8/span 8}[bp~=grid][bp~='9@md']{grid-template-columns:repeat(1.33333,1fr)}[bp~='9@md']{grid-column:span 9/span 9}[bp~=grid][bp~='10@md']{grid-template-columns:repeat(1.2,1fr)}[bp~='10@md']{grid-column:span 10/span 10}[bp~=grid][bp~='11@md']{grid-template-columns:repeat(1.09091,1fr)}[bp~='11@md']{grid-column:span 11/span 11}[bp~=grid][bp~='12@md']{grid-template-columns:repeat(1,1fr)}[bp~='12@md']{grid-column:span 12/span 12}[bp~='offset-1@md']{grid-column-start:1}[bp~='offset-2@md']{grid-column-start:2}[bp~='offset-3@md']{grid-column-start:3}[bp~='offset-4@md']{grid-column-start:4}[bp~='offset-5@md']{grid-column-start:5}[bp~='offset-6@md']{grid-column-start:6}[bp~='offset-7@md']{grid-column-start:7}[bp~='offset-8@md']{grid-column-start:8}[bp~='offset-9@md']{grid-column-start:9}[bp~='offset-10@md']{grid-column-start:10}[bp~='offset-11@md']{grid-column-start:11}[bp~='offset-12@md']{grid-column-start:12}[bp~='hide@md']{display:none!important}[bp~='show@md']{display:initial!important}[bp~='first@md']{order:-1}[bp~='last@md']{order:12}}@media (min-width:960px){[bp~=grid][bp~='1@lg']{grid-template-columns:repeat(12,1fr)}[bp~='1@lg']{grid-column:span 1/span 1}[bp~=grid][bp~='2@lg']{grid-template-columns:repeat(6,1fr)}[bp~='2@lg']{grid-column:span 2/span 2}[bp~=grid][bp~='3@lg']{grid-template-columns:repeat(4,1fr)}[bp~='3@lg']{grid-column:span 3/span 3}[bp~=grid][bp~='4@lg']{grid-template-columns:repeat(3,1fr)}[bp~='4@lg']{grid-column:span 4/span 4}[bp~=grid][bp~='5@lg']{grid-template-columns:repeat(2.4,1fr)}[bp~='5@lg']{grid-column:span 5/span 5}[bp~=grid][bp~='6@lg']{grid-template-columns:repeat(2,1fr)}[bp~='6@lg']{grid-column:span 6/span 6}[bp~=grid][bp~='7@lg']{grid-template-columns:repeat(1.71429,1fr)}[bp~='7@lg']{grid-column:span 7/span 7}[bp~=grid][bp~='8@lg']{grid-template-columns:repeat(1.5,1fr)}[bp~='8@lg']{grid-column:span 8/span 8}[bp~=grid][bp~='9@lg']{grid-template-columns:repeat(1.33333,1fr)}[bp~='9@lg']{grid-column:span 9/span 9}[bp~=grid][bp~='10@lg']{grid-template-columns:repeat(1.2,1fr)}[bp~='10@lg']{grid-column:span 10/span 10}[bp~=grid][bp~='11@lg']{grid-template-columns:repeat(1.09091,1fr)}[bp~='11@lg']{grid-column:span 11/span 11}[bp~=grid][bp~='12@lg']{grid-template-columns:repeat(1,1fr)}[bp~='12@lg']{grid-column:span 12/span 12}[bp~='offset-1@lg']{grid-column-start:1}[bp~='offset-2@lg']{grid-column-start:2}[bp~='offset-3@lg']{grid-column-start:3}[bp~='offset-4@lg']{grid-column-start:4}[bp~='offset-5@lg']{grid-column-start:5}[bp~='offset-6@lg']{grid-column-start:6}[bp~='offset-7@lg']{grid-column-start:7}[bp~='offset-8@lg']{grid-column-start:8}[bp~='offset-9@lg']{grid-column-start:9}[bp~='offset-10@lg']{grid-column-start:10}[bp~='offset-11@lg']{grid-column-start:11}[bp~='offset-12@lg']{grid-column-start:12}[bp~='hide@lg']{display:none!important}[bp~='show@lg']{display:initial!important}[bp~='first@lg']{order:-1}[bp~='last@lg']{order:12}}@media (min-width:1440px){[bp~=grid][bp~='1@xl']{grid-template-columns:repeat(12,1fr)}[bp~='1@xl']{grid-column:span 1/span 1}[bp~=grid][bp~='2@xl']{grid-template-columns:repeat(6,1fr)}[bp~='2@xl']{grid-column:span 2/span 2}[bp~=grid][bp~='3@xl']{grid-template-columns:repeat(4,1fr)}[bp~='3@xl']{grid-column:span 3/span 3}[bp~=grid][bp~='4@xl']{grid-template-columns:repeat(3,1fr)}[bp~='4@xl']{grid-column:span 4/span 4}[bp~=grid][bp~='5@xl']{grid-template-columns:repeat(2.4,1fr)}[bp~='5@xl']{grid-column:span 5/span 5}[bp~=grid][bp~='6@xl']{grid-template-columns:repeat(2,1fr)}[bp~='6@xl']{grid-column:span 6/span 6}[bp~=grid][bp~='7@xl']{grid-template-columns:repeat(1.71429,1fr)}[bp~='7@xl']{grid-column:span 7/span 7}[bp~=grid][bp~='8@xl']{grid-template-columns:repeat(1.5,1fr)}[bp~='8@xl']{grid-column:span 8/span 8}[bp~=grid][bp~='9@xl']{grid-template-columns:repeat(1.33333,1fr)}[bp~='9@xl']{grid-column:span 9/span 9}[bp~=grid][bp~='10@xl']{grid-template-columns:repeat(1.2,1fr)}[bp~='10@xl']{grid-column:span 10/span 10}[bp~=grid][bp~='11@xl']{grid-template-columns:repeat(1.09091,1fr)}[bp~='11@xl']{grid-column:span 11/span 11}[bp~=grid][bp~='12@xl']{grid-template-columns:repeat(1,1fr)}[bp~='12@xl']{grid-column:span 12/span 12}[bp~='offset-1@xl']{grid-column-start:1}[bp~='offset-2@xl']{grid-column-start:2}[bp~='offset-3@xl']{grid-column-start:3}[bp~='offset-4@xl']{grid-column-start:4}[bp~='offset-5@xl']{grid-column-start:5}[bp~='offset-6@xl']{grid-column-start:6}[bp~='offset-7@xl']{grid-column-start:7}[bp~='offset-8@xl']{grid-column-start:8}[bp~='offset-9@xl']{grid-column-start:9}[bp~='offset-10@xl']{grid-column-start:10}[bp~='offset-11@xl']{grid-column-start:11}[bp~='offset-12@xl']{grid-column-start:12}[bp~='hide@xl']{display:none!important}[bp~='show@xl']{display:initial!important}[bp~='first@xl']{order:-1}[bp~='last@xl']{order:12}}[bp~=flex]{flex-wrap:wrap;display:flex}[bp~=fill]{flex:1 1 0%;flex-basis:0%}[bp~=fit]{flex-basis:auto}[bp~=float-center]{margin-left:auto;margin-right:auto;display:block;float:none}[bp~=float-left]{float:left}[bp~=float-right]{float:right}[bp~=clear-fix]::after{content:'';display:table;clear:both}[bp~=text-left]{text-align:left}[bp~=text-right]{text-align:right}[bp~=text-center]{text-align:center}[bp~='1--max']{max-width:83.33333px!important}[bp~='2--max']{max-width:166.66667px!important}[bp~='3--max']{max-width:250px!important}[bp~='4--max']{max-width:333.33333px!important}[bp~='5--max']{max-width:416.66667px!important}[bp~='6--max']{max-width:500px!important}[bp~='7--max']{max-width:583.33333px!important}[bp~='8--max']{max-width:666.66667px!important}[bp~='9--max']{max-width:750px!important}[bp~='10--max']{max-width:833.33333px!important}[bp~='11--max']{max-width:916.66667px!important}[bp~='12--max']{max-width:1000px!important}[bp~=full-width]{width:100%}@media (max-width:480px){[bp~='full-width-until@sm']{width:100%!important;max-width:100%!important}}@media (max-width:720px){[bp~='full-width-until@md']{width:100%!important;max-width:100%!important}}@media (max-width:960px){[bp~='full-width-until@lg']{width:100%!important;max-width:100%!important}}@media (max-width:1440px){[bp~='full-width-until@xl']{width:100%!important;max-width:100%!important}}[bp~=margin--xs]{margin:4px!important}[bp~=margin-top--xs]{margin-top:4px!important}[bp~=margin-bottom--xs]{margin-bottom:4px!important}[bp~=margin-right--xs]{margin-right:4px!important}[bp~=margin-left--xs]{margin-left:4px!important}[bp~=padding--xs]{padding:4px!important}[bp~=padding-top--xs]{padding-top:4px!important}[bp~=padding-bottom--xs]{padding-bottom:4px!important}[bp~=padding-right--xs]{padding-right:4px!important}[bp~=padding-left--xs]{padding-left:4px!important}[bp~=margin--sm]{margin:8px!important}[bp~=margin-top--sm]{margin-top:8px!important}[bp~=margin-bottom--sm]{margin-bottom:8px!important}[bp~=margin-right--sm]{margin-right:8px!important}[bp~=margin-left--sm]{margin-left:8px!important}[bp~=padding--sm]{padding:8px!important}[bp~=padding-top--sm]{padding-top:8px!important}[bp~=padding-bottom--sm]{padding-bottom:8px!important}[bp~=padding-right--sm]{padding-right:8px!important}[bp~=padding-left--sm]{padding-left:8px!important}[bp~=margin]{margin:16px!important}[bp~=margin-top]{margin-top:16px!important}[bp~=margin-bottom]{margin-bottom:16px!important}[bp~=margin-right]{margin-right:16px!important}[bp~=margin-left]{margin-left:16px!important}[bp~=padding]{padding:16px!important}[bp~=padding-top]{padding-top:16px!important}[bp~=padding-bottom]{padding-bottom:16px!important}[bp~=padding-right]{padding-right:16px!important}[bp~=padding-left]{padding-left:16px!important}[bp~=margin--lg]{margin:24px!important}[bp~=margin-top--lg]{margin-top:24px!important}[bp~=margin-bottom--lg]{margin-bottom:24px!important}[bp~=margin-right--lg]{margin-right:24px!important}[bp~=margin-left--lg]{margin-left:24px!important}[bp~=padding--lg]{padding:24px!important}[bp~=padding-top--lg]{padding-top:24px!important}[bp~=padding-bottom--lg]{padding-bottom:24px!important}[bp~=padding-right--lg]{padding-right:24px!important}[bp~=padding-left--lg]{padding-left:24px!important}[bp~=margin--none]{margin:0!important}[bp~=margin-top--none]{margin-top:0!important}[bp~=margin-bottom--none]{margin-bottom:0!important}[bp~=margin-right--none]{margin-right:0!important}[bp~=margin-left--none]{margin-left:0!important}[bp~=padding--none]{padding:0!important}[bp~=padding-top--none]{padding-top:0!important}[bp~=padding-bottom--none]{padding-bottom:0!important}[bp~=padding-right--none]{padding-right:0!important}[bp~=padding-left--none]{padding-left:0!important}
|
js/admin.js
CHANGED
@@ -23,6 +23,14 @@ jQuery(window).on("load", function(){
|
|
23 |
return false;
|
24 |
});
|
25 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
26 |
function powerpress_openTab(evt, cityName) {
|
27 |
// Declare all variables
|
28 |
var tabcontent, tablinks;
|
@@ -477,6 +485,35 @@ function powerpress_insertArtIntoPreview(el) {
|
|
477 |
}
|
478 |
}
|
479 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
480 |
function unlinkAccount(idForm)
|
481 |
{
|
482 |
let unlinkInput = jQuery('<input name="unlinkAccount" hidden>');
|
23 |
return false;
|
24 |
});
|
25 |
|
26 |
+
function powerpress_toggle_lock_section(evt) {
|
27 |
+
if (evt.currentTarget.checked) {
|
28 |
+
jQuery('#pp-feed-lock-section').css('display', 'block');
|
29 |
+
} else {
|
30 |
+
jQuery('#pp-feed-lock-section').css('display', 'none');
|
31 |
+
}
|
32 |
+
}
|
33 |
+
|
34 |
function powerpress_openTab(evt, cityName) {
|
35 |
// Declare all variables
|
36 |
var tabcontent, tablinks;
|
485 |
}
|
486 |
}
|
487 |
|
488 |
+
//Display geo and osm settings if text is entered into the location setting
|
489 |
+
function powerpress_locationInput(event){
|
490 |
+
let el = event.currentTarget;
|
491 |
+
let location_details = jQuery("#pp-location-details");
|
492 |
+
if (el.value.length == 0) {
|
493 |
+
location_details.removeAttr("style");
|
494 |
+
location_details.attr("style", "display: none");
|
495 |
+
} else if (el.value.length > 0) {
|
496 |
+
location_details.removeAttr("style");
|
497 |
+
location_details.attr("style", "display: block");
|
498 |
+
}
|
499 |
+
}
|
500 |
+
|
501 |
+
//Display inputs if users check a box to enable an episode-level podcast index setting
|
502 |
+
function powerpress_epboxPCIToggle(el){
|
503 |
+
let id_array = el.id.split("_");
|
504 |
+
id_array[4] = id_array[3];
|
505 |
+
id_array[3] = "container";
|
506 |
+
let target_id = id_array.join("_");
|
507 |
+
let target_element = jQuery("#" + target_id);
|
508 |
+
if (el.checked) {
|
509 |
+
target_element.removeAttr("style");
|
510 |
+
target_element.attr("style", "display: block");
|
511 |
+
} else {
|
512 |
+
target_element.removeAttr("style");
|
513 |
+
target_element.attr("style", "display: none");
|
514 |
+
}
|
515 |
+
}
|
516 |
+
|
517 |
function unlinkAccount(idForm)
|
518 |
{
|
519 |
let unlinkInput = jQuery('<input name="unlinkAccount" hidden>');
|
powerpress-metamarks.php
CHANGED
@@ -151,6 +151,33 @@ function powerpress_metamarks_print_rss2($episode_data)
|
|
151 |
}
|
152 |
echo PHP_EOL;
|
153 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
154 |
}
|
155 |
|
156 |
function powerpress_metamarks_get_types()
|
151 |
}
|
152 |
echo PHP_EOL;
|
153 |
}
|
154 |
+
//If the user opted to use the podcast index soundbite tag, we need to print these as well
|
155 |
+
if (!empty($episode_data['pci_soundbites'])) {
|
156 |
+
foreach( $MetaRecords as $index => $MetaMark )
|
157 |
+
{
|
158 |
+
echo "\t\t";
|
159 |
+
echo '<podcast:soundbite';
|
160 |
+
if( !empty($MetaMark['position']) )
|
161 |
+
echo ' startTime="'. esc_attr($MetaMark['position']) .'"';
|
162 |
+
if( !empty($MetaMark['duration']) )
|
163 |
+
echo ' duration="'. esc_attr($MetaMark['duration']) .'"';
|
164 |
+
|
165 |
+
//For the node value, we'll first check the value, and if that's empty we'll check the link
|
166 |
+
$value = trim($MetaMark['value']);
|
167 |
+
if( !empty($value)) {
|
168 |
+
echo '>';
|
169 |
+
echo htmlspecialchars($value);
|
170 |
+
echo '</podcast:soundbite>';
|
171 |
+
} elseif (!empty($MetaMark['link'])) {
|
172 |
+
echo '>';
|
173 |
+
echo htmlspecialchars($MetaMark['link']);
|
174 |
+
echo '</podcast:soundbite>';
|
175 |
+
} else {
|
176 |
+
echo ' />';
|
177 |
+
}
|
178 |
+
echo PHP_EOL;
|
179 |
+
}
|
180 |
+
}
|
181 |
}
|
182 |
|
183 |
function powerpress_metamarks_get_types()
|
powerpress-player.php
CHANGED
@@ -738,8 +738,8 @@ function powerpressplayer_mediaobjects($type, $content, $media_url, $EpisodeData
|
|
738 |
if( !empty($post_title) ) {
|
739 |
$addhtml .= '<meta itemprop="name" content="'. htmlspecialchars($post_title) .'" />'.PHP_EOL_WEB;
|
740 |
}
|
741 |
-
|
742 |
-
|
743 |
$addhtml .= '<meta itemprop="encodingFormat" content="'. powerpress_get_contenttype($media_url) .'" />'.PHP_EOL_WEB;
|
744 |
if( !empty($EpisodeData['duration']) ) {
|
745 |
$addhtml .= '<meta itemprop="duration" content="'. powerpress_iso8601_duration($EpisodeData['duration']) .'" />'.PHP_EOL_WEB; // http://en.wikipedia.org/wiki/ISO_8601#Durations
|
738 |
if( !empty($post_title) ) {
|
739 |
$addhtml .= '<meta itemprop="name" content="'. htmlspecialchars($post_title) .'" />'.PHP_EOL_WEB;
|
740 |
}
|
741 |
+
|
742 |
+
$addhtml .= '<meta itemprop="uploadDate" content="'. esc_attr( get_the_date('c') ) .'" />'.PHP_EOL_WEB;
|
743 |
$addhtml .= '<meta itemprop="encodingFormat" content="'. powerpress_get_contenttype($media_url) .'" />'.PHP_EOL_WEB;
|
744 |
if( !empty($EpisodeData['duration']) ) {
|
745 |
$addhtml .= '<meta itemprop="duration" content="'. powerpress_iso8601_duration($EpisodeData['duration']) .'" />'.PHP_EOL_WEB; // http://en.wikipedia.org/wiki/ISO_8601#Durations
|
powerpress.php
CHANGED
@@ -3,11 +3,11 @@
|
|
3 |
Plugin Name: Blubrry PowerPress
|
4 |
Plugin URI: http://create.blubrry.com/resources/powerpress/
|
5 |
Description: <a href="https://create.blubrry.com/resources/powerpress/" target="_blank">Blubrry PowerPress</a> is the No. 1 Podcasting plugin for WordPress. Developed by podcasters for podcasters; features include Simple and Advanced modes, multiple audio/video player options, subscribe to podcast tools, podcast SEO features, and more! Fully supports Apple Podcasts (previously iTunes), Google Podcasts, Spotify, Stitcher, and Blubrry Podcasting directories, as well as all podcast applications and clients.
|
6 |
-
Version: 8.
|
7 |
Author: Blubrry
|
8 |
Author URI: https://blubrry.com/
|
9 |
Requires at least: 3.6
|
10 |
-
Tested up to: 5.
|
11 |
Text Domain: powerpress
|
12 |
Change Log:
|
13 |
Please see readme.txt for detailed change log.
|
@@ -36,7 +36,7 @@ if( !function_exists('add_action') ) {
|
|
36 |
|
37 |
// WP_PLUGIN_DIR (REMEMBER TO USE THIS DEFINE IF NEEDED)
|
38 |
|
39 |
-
define('POWERPRESS_VERSION', '8.
|
40 |
|
41 |
// Translation support:
|
42 |
if ( !defined('POWERPRESS_ABSPATH') )
|
@@ -601,6 +601,23 @@ function powerpress_rss2_head()
|
|
601 |
echo "\t<atom:link rel=\"hub\" href=\"https://pubsubhubbub.appspot.com/\" />" . PHP_EOL;
|
602 |
}
|
603 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
604 |
// add the itunes:new-feed-url tag to feed
|
605 |
if( powerpress_is_custom_podcast_feed() )
|
606 |
{
|
@@ -837,13 +854,23 @@ function powerpress_rss2_head()
|
|
837 |
{
|
838 |
if( !empty($Feed['parental_rating']) )
|
839 |
echo "\t<rawvoice:rating>". $Feed['parental_rating'] ."</rawvoice:rating>".PHP_EOL;
|
840 |
-
if( !empty($Feed['location']) )
|
841 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
842 |
if( !empty($Feed['frequency']) )
|
843 |
echo "\t<rawvoice:frequency>". htmlspecialchars($Feed['frequency']) ."</rawvoice:frequency>".PHP_EOL;
|
844 |
-
if( !empty($Feed['donate_link']) && !empty($Feed['donate_url']) )
|
845 |
-
|
846 |
-
|
|
|
847 |
if( !empty($Feed['itunes_url']) || !empty($Feed['blubrry_url']) || !empty($Feed['stitcher_url']) || !empty($Feed['tunein_url']) || !empty($Feed['spotify_url']) ) {
|
848 |
echo "\t<rawvoice:subscribe feed=\"";
|
849 |
self_link();
|
@@ -1057,6 +1084,20 @@ function powerpress_rss2_item()
|
|
1057 |
echo "\t\t<itunes:order>". $EpisodeData['order'] ."</itunes:order>".PHP_EOL;
|
1058 |
}
|
1059 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1060 |
// Google Play tags:
|
1061 |
if( empty($powerpress_feed['feed_maximizer_on']) ) { // These tags for the most part replicate what is in the itunes tags, so lets not include them when we want to maximize the feed
|
1062 |
if( !empty( $EpisodeData['gp_desc'] ) ) {
|
@@ -1941,6 +1982,8 @@ function powerpress_load_general_feed_settings()
|
|
1941 |
$powerpress_feed['podcast_embed_in_feed'] = true;
|
1942 |
if( !empty($Feed['maximize_feed']) )
|
1943 |
$powerpress_feed['maximize_feed'] = true;
|
|
|
|
|
1944 |
if( !empty($Feed['episode_itunes_image']) && !empty($Feed['itunes_image']) )
|
1945 |
$powerpress_feed['itunes_image'] = $Feed['itunes_image'];
|
1946 |
return;
|
@@ -2002,6 +2045,8 @@ function powerpress_load_general_feed_settings()
|
|
2002 |
$powerpress_feed['podcast_embed_in_feed'] = true;
|
2003 |
if( !empty($Feed['maximize_feed']) )
|
2004 |
$powerpress_feed['maximize_feed'] = true;
|
|
|
|
|
2005 |
if( !empty($Feed['episode_itunes_image']) && !empty($Feed['itunes_image']) )
|
2006 |
$powerpress_feed['itunes_image'] = $Feed['itunes_image'];
|
2007 |
return;
|
@@ -2078,6 +2123,8 @@ function powerpress_load_general_feed_settings()
|
|
2078 |
$powerpress_feed['podcast_embed_in_feed'] = true;
|
2079 |
if( !empty($Feed['maximize_feed']) )
|
2080 |
$powerpress_feed['maximize_feed'] = true;
|
|
|
|
|
2081 |
if( !empty($Feed['episode_itunes_image']) && !empty($Feed['itunes_image']) )
|
2082 |
$powerpress_feed['itunes_image'] = $Feed['itunes_image'];
|
2083 |
return;
|
@@ -2593,6 +2640,14 @@ function powerpress_get_contenttype($file, $use_wp_check_filetype = true)
|
|
2593 |
case 'epub':
|
2594 |
return 'document/x-epub';
|
2595 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2596 |
default: // Let it fall through
|
2597 |
}
|
2598 |
}
|
@@ -3881,8 +3936,7 @@ function powerpress_get_api_array()
|
|
3881 |
else
|
3882 |
{
|
3883 |
$return[] = 'https://api.blubrry.com/'; // Use secure URL first when possible
|
3884 |
-
$return[] = '
|
3885 |
-
$return[] = 'http://api.blubrry.com/';
|
3886 |
}
|
3887 |
|
3888 |
return $return;
|
3 |
Plugin Name: Blubrry PowerPress
|
4 |
Plugin URI: http://create.blubrry.com/resources/powerpress/
|
5 |
Description: <a href="https://create.blubrry.com/resources/powerpress/" target="_blank">Blubrry PowerPress</a> is the No. 1 Podcasting plugin for WordPress. Developed by podcasters for podcasters; features include Simple and Advanced modes, multiple audio/video player options, subscribe to podcast tools, podcast SEO features, and more! Fully supports Apple Podcasts (previously iTunes), Google Podcasts, Spotify, Stitcher, and Blubrry Podcasting directories, as well as all podcast applications and clients.
|
6 |
+
Version: 8.5
|
7 |
Author: Blubrry
|
8 |
Author URI: https://blubrry.com/
|
9 |
Requires at least: 3.6
|
10 |
+
Tested up to: 5.7
|
11 |
Text Domain: powerpress
|
12 |
Change Log:
|
13 |
Please see readme.txt for detailed change log.
|
36 |
|
37 |
// WP_PLUGIN_DIR (REMEMBER TO USE THIS DEFINE IF NEEDED)
|
38 |
|
39 |
+
define('POWERPRESS_VERSION', '8.5' );
|
40 |
|
41 |
// Translation support:
|
42 |
if ( !defined('POWERPRESS_ABSPATH') )
|
601 |
echo "\t<atom:link rel=\"hub\" href=\"https://pubsubhubbub.appspot.com/\" />" . PHP_EOL;
|
602 |
}
|
603 |
|
604 |
+
// Podcast Index Locked Tag
|
605 |
+
if (!empty($Feed['pp_enable_feed_lock'])) {
|
606 |
+
$owner_email = '';
|
607 |
+
if ( !empty($Feed['owner_email']) ) {
|
608 |
+
$owner_email = $Feed['owner_email'];
|
609 |
+
} elseif( !empty($Feed['email']) ) {
|
610 |
+
$owner_email = $Feed['email'];
|
611 |
+
}
|
612 |
+
echo "\t<podcast:locked owner=\"" . esc_attr($owner_email) . "\">";
|
613 |
+
if (!empty($Feed['unlock_podcast'])) {
|
614 |
+
echo "no";
|
615 |
+
} else {
|
616 |
+
echo "yes";
|
617 |
+
}
|
618 |
+
echo "</podcast:locked>" . PHP_EOL;
|
619 |
+
}
|
620 |
+
|
621 |
// add the itunes:new-feed-url tag to feed
|
622 |
if( powerpress_is_custom_podcast_feed() )
|
623 |
{
|
854 |
{
|
855 |
if( !empty($Feed['parental_rating']) )
|
856 |
echo "\t<rawvoice:rating>". $Feed['parental_rating'] ."</rawvoice:rating>".PHP_EOL;
|
857 |
+
if( !empty($Feed['location']) ) {
|
858 |
+
echo "\t<rawvoice:location>" . htmlspecialchars($Feed['location']) . "</rawvoice:location>" . PHP_EOL;
|
859 |
+
echo "\t<podcast:location";
|
860 |
+
if( !empty($Feed['pci_geo']) ) {
|
861 |
+
echo " geo=\"" . htmlspecialchars($Feed['pci_geo']) . "\"";
|
862 |
+
}
|
863 |
+
if( !empty($Feed['pci_osm']) ) {
|
864 |
+
echo " osm=\"" . htmlspecialchars($Feed['pci_osm']) . "\"";
|
865 |
+
}
|
866 |
+
echo ">" . htmlspecialchars($Feed['location']) . "</podcast:location>" . PHP_EOL;
|
867 |
+
}
|
868 |
if( !empty($Feed['frequency']) )
|
869 |
echo "\t<rawvoice:frequency>". htmlspecialchars($Feed['frequency']) ."</rawvoice:frequency>".PHP_EOL;
|
870 |
+
if( !empty($Feed['donate_link']) && !empty($Feed['donate_url']) ) {
|
871 |
+
echo "\t<rawvoice:donate href=\"" . htmlspecialchars($Feed['donate_url']) . "\">" . htmlspecialchars((empty($Feed['donate_label']) ? '' : $Feed['donate_label'])) . "</rawvoice:donate>" . PHP_EOL;
|
872 |
+
echo "\t<podcast:funding url=\"" . htmlspecialchars($Feed['donate_url']) . "\">" . htmlspecialchars((empty($Feed['donate_label']) ? '' : $Feed['donate_label'])) . "</podcast:funding>" . PHP_EOL;
|
873 |
+
}
|
874 |
if( !empty($Feed['itunes_url']) || !empty($Feed['blubrry_url']) || !empty($Feed['stitcher_url']) || !empty($Feed['tunein_url']) || !empty($Feed['spotify_url']) ) {
|
875 |
echo "\t<rawvoice:subscribe feed=\"";
|
876 |
self_link();
|
1084 |
echo "\t\t<itunes:order>". $EpisodeData['order'] ."</itunes:order>".PHP_EOL;
|
1085 |
}
|
1086 |
|
1087 |
+
// Podcast index tags:
|
1088 |
+
if (!empty($EpisodeData['pci_transcript']) && !empty($EpisodeData['pci_transcript_url'])) {
|
1089 |
+
echo "\t\t<podcast:transcript url=\"" . $EpisodeData['pci_transcript_url'] . "\"";
|
1090 |
+
$transcript_type = powerpress_get_contenttype($EpisodeData['pci_transcript_url']);
|
1091 |
+
if (!empty($transcript_type)) {
|
1092 |
+
echo " type=\"" . $transcript_type . "\" />".PHP_EOL;
|
1093 |
+
} else {
|
1094 |
+
echo " type=\"text/plain\" />".PHP_EOL;
|
1095 |
+
}
|
1096 |
+
}
|
1097 |
+
if (!empty($EpisodeData['pci_chapters']) && !empty($EpisodeData['pci_chapters_url'])) {
|
1098 |
+
echo "\t\t<podcast:chapters url=\"" . $EpisodeData['pci_chapters_url'] . "\" type=\"application/json+chapters\" />".PHP_EOL;
|
1099 |
+
}
|
1100 |
+
|
1101 |
// Google Play tags:
|
1102 |
if( empty($powerpress_feed['feed_maximizer_on']) ) { // These tags for the most part replicate what is in the itunes tags, so lets not include them when we want to maximize the feed
|
1103 |
if( !empty( $EpisodeData['gp_desc'] ) ) {
|
1982 |
$powerpress_feed['podcast_embed_in_feed'] = true;
|
1983 |
if( !empty($Feed['maximize_feed']) )
|
1984 |
$powerpress_feed['maximize_feed'] = true;
|
1985 |
+
if( !empty($Feed['unlock_podcast']) )
|
1986 |
+
$powerpress_feed['unlock_podcast'] = true;
|
1987 |
if( !empty($Feed['episode_itunes_image']) && !empty($Feed['itunes_image']) )
|
1988 |
$powerpress_feed['itunes_image'] = $Feed['itunes_image'];
|
1989 |
return;
|
2045 |
$powerpress_feed['podcast_embed_in_feed'] = true;
|
2046 |
if( !empty($Feed['maximize_feed']) )
|
2047 |
$powerpress_feed['maximize_feed'] = true;
|
2048 |
+
if( !empty($Feed['unlock_podcast']) )
|
2049 |
+
$powerpress_feed['unlock_podcast'] = true;
|
2050 |
if( !empty($Feed['episode_itunes_image']) && !empty($Feed['itunes_image']) )
|
2051 |
$powerpress_feed['itunes_image'] = $Feed['itunes_image'];
|
2052 |
return;
|
2123 |
$powerpress_feed['podcast_embed_in_feed'] = true;
|
2124 |
if( !empty($Feed['maximize_feed']) )
|
2125 |
$powerpress_feed['maximize_feed'] = true;
|
2126 |
+
if( !empty($Feed['unlock_podcast']) )
|
2127 |
+
$powerpress_feed['unlock_podcast'] = true;
|
2128 |
if( !empty($Feed['episode_itunes_image']) && !empty($Feed['itunes_image']) )
|
2129 |
$powerpress_feed['itunes_image'] = $Feed['itunes_image'];
|
2130 |
return;
|
2640 |
case 'epub':
|
2641 |
return 'document/x-epub';
|
2642 |
|
2643 |
+
// Content type for transcript files
|
2644 |
+
case 'srt':
|
2645 |
+
return 'application/srt';
|
2646 |
+
case 'json':
|
2647 |
+
return 'application/json';
|
2648 |
+
case 'html':
|
2649 |
+
return 'text/html';
|
2650 |
+
|
2651 |
default: // Let it fall through
|
2652 |
}
|
2653 |
}
|
3936 |
else
|
3937 |
{
|
3938 |
$return[] = 'https://api.blubrry.com/'; // Use secure URL first when possible
|
3939 |
+
$return[] = 'https://api.blubrry.net/';
|
|
|
3940 |
}
|
3941 |
|
3942 |
return $return;
|
powerpressadmin-basic.php
CHANGED
@@ -927,6 +927,10 @@ function powerpressadmin_edit_funding($FeedSettings = false, $feed_slug='podcast
|
|
927 |
|
928 |
if( !isset($FeedSettings['location']) )
|
929 |
$FeedSettings['location'] = '';
|
|
|
|
|
|
|
|
|
930 |
if( !isset($FeedSettings['frequency']) )
|
931 |
$FeedSettings['frequency'] = '';
|
932 |
?>
|
@@ -935,8 +939,18 @@ function powerpressadmin_edit_funding($FeedSettings = false, $feed_slug='podcast
|
|
935 |
<div class="pp-settings-section">
|
936 |
<h2><?php echo __('Location', 'powerpress'); ?></h2>
|
937 |
<label for="Feed[location]" class="pp-settings-label"><?php echo __('Optional', 'powerpress'); ?></label>
|
938 |
-
<input class="pp-settings-text-input" type="text" name="Feed[location]" value="<?php echo esc_attr($FeedSettings['location']); ?>" maxlength="50" />
|
939 |
<label for="Feed[location]" class="pp-settings-label-under"><?php echo __('e.g. Cleveland, Ohio', 'powerpress'); ?></label>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
940 |
</div>
|
941 |
<div class="pp-settings-section">
|
942 |
<h2><?php echo __('Episode Frequency', 'powerpress'); ?></h2>
|
927 |
|
928 |
if( !isset($FeedSettings['location']) )
|
929 |
$FeedSettings['location'] = '';
|
930 |
+
if( !isset($FeedSettings['pci_geo']) )
|
931 |
+
$FeedSettings['pci_geo'] = '';
|
932 |
+
if( !isset($FeedSettings['pci_osm']) )
|
933 |
+
$FeedSettings['pci_osm'] = '';
|
934 |
if( !isset($FeedSettings['frequency']) )
|
935 |
$FeedSettings['frequency'] = '';
|
936 |
?>
|
939 |
<div class="pp-settings-section">
|
940 |
<h2><?php echo __('Location', 'powerpress'); ?></h2>
|
941 |
<label for="Feed[location]" class="pp-settings-label"><?php echo __('Optional', 'powerpress'); ?></label>
|
942 |
+
<input class="pp-settings-text-input" type="text" name="Feed[location]" oninput="powerpress_locationInput(event)" value="<?php echo esc_attr($FeedSettings['location']); ?>" maxlength="50" />
|
943 |
<label for="Feed[location]" class="pp-settings-label-under"><?php echo __('e.g. Cleveland, Ohio', 'powerpress'); ?></label>
|
944 |
+
<div id="pp-location-details" class="pp-settings-subsection" <?php if (empty($FeedSettings['location'])) { echo "style=\"display: none;\""; } ?>>
|
945 |
+
<!-- Two text inputs for geo and osm, even listener on input for location so that pp-location-details appears when there is an input -->
|
946 |
+
<label for="Feed[pci_geo]" class="pp-settings-label"><?php echo __('Geo', 'powerpress'); ?></label>
|
947 |
+
<input class="pp-settings-text-input" type="text" name="Feed[pci_geo]" value="<?php echo esc_attr($FeedSettings['pci_geo']); ?>" maxlength="50" />
|
948 |
+
<label for="Feed[pci_geo]" class="pp-settings-label-under"><?php echo __('e.g. geo:-27.86159,153.3169', 'powerpress'); ?></label>
|
949 |
+
<br />
|
950 |
+
<label for="Feed[pci_osm]" class="pp-settings-label"><?php echo __('OSM', 'powerpress'); ?></label>
|
951 |
+
<input class="pp-settings-text-input" type="text" name="Feed[pci_osm]" value="<?php echo esc_attr($FeedSettings['pci_osm']); ?>" maxlength="50" />
|
952 |
+
<label for="Feed[pci_osm]" class="pp-settings-label-under"><?php echo __('e.g. W43678282', 'powerpress'); ?></label>
|
953 |
+
</div>
|
954 |
</div>
|
955 |
<div class="pp-settings-section">
|
956 |
<h2><?php echo __('Episode Frequency', 'powerpress'); ?></h2>
|
powerpressadmin-dashboard.php
CHANGED
@@ -162,6 +162,10 @@ function powerpress_dashboard_stats_content()
|
|
162 |
if( !empty($Settings['network_mode']) ) {
|
163 |
$content = 'Network mode is enabled, please visit the <a href="https://stats.blubrry.com/" target="_blank">Blubrry.com</a> to see your statistics';
|
164 |
}
|
|
|
|
|
|
|
|
|
165 |
else if ($creds) {
|
166 |
$success = false;
|
167 |
$api_url_array = powerpress_get_api_array();
|
162 |
if( !empty($Settings['network_mode']) ) {
|
163 |
$content = 'Network mode is enabled, please visit the <a href="https://stats.blubrry.com/" target="_blank">Blubrry.com</a> to see your statistics';
|
164 |
}
|
165 |
+
//logged in but no program selected
|
166 |
+
else if (empty($Keyword) && ( $creds || $UserPass && time() > ($StatsCached['updated']+(60*60*3)) ) ) {
|
167 |
+
$content = "No program selected. Please visit the <a href=\"https://stats.blubrry.com/\" target=\"_blank\">Blubrry.com</a> to see your statistics";
|
168 |
+
}
|
169 |
else if ($creds) {
|
170 |
$success = false;
|
171 |
$api_url_array = powerpress_get_api_array();
|
powerpressadmin-editfeed.php
CHANGED
@@ -632,6 +632,8 @@ function powerpressadmin_edit_feed_settings($FeedSettings, $General, $FeedAttrib
|
|
632 |
$FeedSettings['title'] = '';
|
633 |
if( !isset($FeedSettings['rss_language']) )
|
634 |
$FeedSettings['rss_language'] = '';
|
|
|
|
|
635 |
|
636 |
$feed_link = '';
|
637 |
switch( $FeedAttribs['type'])
|
@@ -734,6 +736,36 @@ else
|
|
734 |
<label for="Feed[posts_per_rss]" class="pp-settings-label-under">
|
735 |
<?php echo sprintf(__('episodes / posts per feed (site default: %d, maximum: %d)', 'powerpress'), get_option('posts_per_rss'), 300); ?>
|
736 |
</label>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
737 |
</div>
|
738 |
|
739 |
<?php
|
632 |
$FeedSettings['title'] = '';
|
633 |
if( !isset($FeedSettings['rss_language']) )
|
634 |
$FeedSettings['rss_language'] = '';
|
635 |
+
if( !isset($FeedSettings['owner_email']) )
|
636 |
+
$FeedSettings['owner_email'] = '';
|
637 |
|
638 |
$feed_link = '';
|
639 |
switch( $FeedAttribs['type'])
|
736 |
<label for="Feed[posts_per_rss]" class="pp-settings-label-under">
|
737 |
<?php echo sprintf(__('episodes / posts per feed (site default: %d, maximum: %d)', 'powerpress'), get_option('posts_per_rss'), 300); ?>
|
738 |
</label>
|
739 |
+
</div>
|
740 |
+
|
741 |
+
<div class="pp-settings-section">
|
742 |
+
<h2><?php echo __('Feed Lock', 'powerpress'); ?><br /></h2>
|
743 |
+
<input type="checkbox" onclick="powerpress_toggle_lock_section(event)" class="pp-settings-checkbox" name="Feed[pp_enable_feed_lock]" value="1" <?php echo ( !empty($FeedSettings['pp_enable_feed_lock']) || empty($FeedSettings['email']) ?'checked ':''); ?>/>
|
744 |
+
<div class="pp-settings-subsection" style="border: none;">
|
745 |
+
<p class="pp-sub"><?php echo __('Enable Feed Lock', 'powerpress'); ?></p>
|
746 |
+
</div>
|
747 |
+
<div id="pp-feed-lock-section" style="display: <?php echo empty($FeedSettings['pp_enable_feed_lock']) ? "none" : "block"; ?>">
|
748 |
+
<label for="Feed[owner_email]" class="pp-settings-label"><?php echo __('Lock Owner email', 'powerpress'); ?></label>
|
749 |
+
<input class="pp-settings-text-input" type="text" name="Feed[owner_email]" value="<?php echo esc_attr(!empty($FeedSettings['owner_email'])? $FeedSettings['owner_email']:''); ?>" maxlength="100" />
|
750 |
+
<label for="Feed[owner_email]" class="pp-settings-label-under">
|
751 |
+
<?php echo __('Must be a valid email address that you have access to', 'powerpress'); ?>
|
752 |
+
</label>
|
753 |
+
<p style="margin: 1em 0;" class="pp-settings-text"><?php echo __('Leave Lock Owner email blank to use your Apple Podcast email.', 'powerpress'); ?></p>
|
754 |
+
|
755 |
+
<div>
|
756 |
+
<input class="pp-settings-radio-small" type="radio" style="margin: 2ch 8px 0 1em;vertical-align: top;" class="powerpress_lock_option" id="powerpress_lock_option_1" name="Feed[unlock_podcast]" value="0" <?php if( empty($FeedSettings['unlock_podcast']) ) echo 'checked'; ?> />
|
757 |
+
<div class="pp-settings-subsection-no-border" style="padding-bottom: 0;">
|
758 |
+
<p class="pp-settings-text" style="margin: 0;"><?php echo __('Yes - Podcast cannot be imported to a new platform.', 'powerpress'); ?></p>
|
759 |
+
<p class="pp-sub" style="font-size: 14px"><?php echo __('Default', 'powerpress'); ?></p>
|
760 |
+
</div>
|
761 |
+
</div>
|
762 |
+
<div>
|
763 |
+
<input class="pp-settings-radio-small" type="radio" style="margin: 2ch 8px 0 1em;vertical-align: top;" class="powerpress_lock_option" id="powerpress_lock_option_2" name="Feed[unlock_podcast]" value="1" <?php if( isset($FeedSettings['unlock_podcast']) && $FeedSettings['unlock_podcast'] == 1 ) echo 'checked'; ?> />
|
764 |
+
<div class="pp-settings-subsection-no-border">
|
765 |
+
<p class="pp-settings-text" style="margin: 0;"><?php echo __('No - Podcast can be imported to a new platform.', 'powerpress'); ?></p>
|
766 |
+
</div>
|
767 |
+
</div>
|
768 |
+
</div>
|
769 |
</div>
|
770 |
|
771 |
<?php
|
powerpressadmin-epbox-options.php
CHANGED
@@ -49,7 +49,7 @@ function powerpress_epbox_main_tab($General) {
|
|
49 |
|
50 |
</div>
|
51 |
|
52 |
-
<p class="pp-ep-box-settings-text" style="margin-top: 3ch;"><input id="episode_box_cover_image" class="ep-box-checkbox" name="General[new_episode_box_cover_image]" type="checkbox" value="1"<?php if( !isset($General['new_episode_box_cover_image']) || $General['new_episode_box_cover_image'] == 1 ) echo ' checked'; ?> /> <?php echo __('
|
53 |
(<?php echo __('Specify URL to poster artwork specific to each episode', 'powerpress'); ?>)</p>
|
54 |
|
55 |
<p class="pp-ep-box-settings-text" style="margin-top: 3ch;"><input id="episode_box_player_size" class="ep-box-checkbox" name="General[new_episode_box_player_size]" type="checkbox" value="1"<?php if( !isset($General['new_episode_box_player_size']) || $General['new_episode_box_player_size'] == 1 ) echo ' checked'; ?> /> <?php echo __('Player Width and Height', 'powerpress'); ?>
|
@@ -160,7 +160,14 @@ function powerpress_epbox_advanced_tab($General) {
|
|
160 |
?>
|
161 |
<h4 class="pp-section-title-block"><?php echo __('Advanced Options', 'powerpress'); ?></h4>
|
162 |
<br />
|
|
|
|
|
|
|
163 |
|
|
|
|
|
|
|
|
|
164 |
<div class="pp-section-container" style="margin: 3em 0 0 2em;">
|
165 |
<p class="pp-ep-box-text"><b><?php echo __('Episode Box Appearance', 'powerpress'); ?></b></p>
|
166 |
<div class="ep-box-line-margin-bold" style="width: 100%;"></div>
|
49 |
|
50 |
</div>
|
51 |
|
52 |
+
<p class="pp-ep-box-settings-text" style="margin-top: 3ch;"><input id="episode_box_cover_image" class="ep-box-checkbox" name="General[new_episode_box_cover_image]" type="checkbox" value="1"<?php if( !isset($General['new_episode_box_cover_image']) || $General['new_episode_box_cover_image'] == 1 ) echo ' checked'; ?> /> <?php echo __('Thumbnail Image', 'powerpress'); ?>
|
53 |
(<?php echo __('Specify URL to poster artwork specific to each episode', 'powerpress'); ?>)</p>
|
54 |
|
55 |
<p class="pp-ep-box-settings-text" style="margin-top: 3ch;"><input id="episode_box_player_size" class="ep-box-checkbox" name="General[new_episode_box_player_size]" type="checkbox" value="1"<?php if( !isset($General['new_episode_box_player_size']) || $General['new_episode_box_player_size'] == 1 ) echo ' checked'; ?> /> <?php echo __('Player Width and Height', 'powerpress'); ?>
|
160 |
?>
|
161 |
<h4 class="pp-section-title-block"><?php echo __('Advanced Options', 'powerpress'); ?></h4>
|
162 |
<br />
|
163 |
+
<div class="pp-section-container" style="margin: 3em 0 0 2em;">
|
164 |
+
<p class="pp-ep-box-text"><b><?php echo __('Podcast Index Episode Settings', 'powerpress'); ?></b></p>
|
165 |
+
<div class="ep-box-line-margin-bold" style="width: 100%;"></div>
|
166 |
|
167 |
+
<p class="pp-ep-box-settings-text" style="margin: 0;"><label><input type="checkbox" class="ep-box-checkbox" name="General[new_episode_box_pci]" value="1" <?php if( !isset($General['new_episode_box_pci']) || $General['new_episode_box_pci'] == 1 ) echo ' checked'; ?>/> <?php echo __('Enable Podcast Index Settings', 'powerpress'); ?></label></p>
|
168 |
+
<p class="pp-ep-box-settings-text" style="margin: 0 0 0 3em;"><em><?php echo __('Check this box if you wish to add transcripts, chapters, and/or soundbites to your episodes using the new Podcast Index tags.', 'powerpress'); ?></em></p>
|
169 |
+
|
170 |
+
</div>
|
171 |
<div class="pp-section-container" style="margin: 3em 0 0 2em;">
|
172 |
<p class="pp-ep-box-text"><b><?php echo __('Episode Box Appearance', 'powerpress'); ?></b></p>
|
173 |
<div class="ep-box-line-margin-bold" style="width: 100%;"></div>
|
powerpressadmin-metabox.php
CHANGED
@@ -557,7 +557,7 @@ function artwork_tab($FeedSlug, $ExtraData, $object, $CoverImage, $GeneralSettin
|
|
557 |
} else {
|
558 |
$CoverImage_preview = $CoverImage;
|
559 |
}
|
560 |
-
if (isset($GeneralSettings['new_episode_box_itunes_image']) && $GeneralSettings['new_episode_box_itunes_image'] == 2 && isset($GeneralSettings['new_episode_box_cover_image']) && $GeneralSettings['new_episode_box_cover_image']) {
|
561 |
echo "<p class='pp-ep-box-text'>" . __('No artwork settings enabled', 'powerpress') . "</p></div>";
|
562 |
return;
|
563 |
}
|
@@ -712,7 +712,7 @@ function display_tab($FeedSlug, $IsVideo, $NoPlayer, $NoLinks, $Width, $Height,
|
|
712 |
<?php
|
713 |
}
|
714 |
|
715 |
-
function notes_tab($FeedSlug, $object, $GeneralSettings)
|
716 |
{
|
717 |
?>
|
718 |
|
@@ -801,6 +801,57 @@ function notes_tab($FeedSlug, $object, $GeneralSettings)
|
|
801 |
</div>
|
802 |
</div>
|
803 |
</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
804 |
</div>
|
805 |
|
806 |
<?php
|
557 |
} else {
|
558 |
$CoverImage_preview = $CoverImage;
|
559 |
}
|
560 |
+
if (isset($GeneralSettings['new_episode_box_itunes_image']) && $GeneralSettings['new_episode_box_itunes_image'] == 2 && isset($GeneralSettings['new_episode_box_cover_image']) && $GeneralSettings['new_episode_box_cover_image'] == 2) {
|
561 |
echo "<p class='pp-ep-box-text'>" . __('No artwork settings enabled', 'powerpress') . "</p></div>";
|
562 |
return;
|
563 |
}
|
712 |
<?php
|
713 |
}
|
714 |
|
715 |
+
function notes_tab($FeedSlug, $object, $GeneralSettings, $PCITranscript, $PCITranscriptURL, $PCIChapters, $PCIChaptersURL, $PCISoundbites)
|
716 |
{
|
717 |
?>
|
718 |
|
801 |
</div>
|
802 |
</div>
|
803 |
</div>
|
804 |
+
<br />
|
805 |
+
<?php if( !isset($GeneralSettings['new_episode_box_pci']) || $GeneralSettings['new_episode_box_pci'] == 1) { ?>
|
806 |
+
<div class="pp-section-container">
|
807 |
+
<h4 class="pp-section-title-block"> <?php echo esc_html(__('Podcast Index Settings', 'powerpress')); ?> </h4>
|
808 |
+
<p style="font-size: 14px;" class="pp-ep-box-text">
|
809 |
+
<input id="powerpress_pci_transcript_<?php echo $FeedSlug; ?>" title="<?php echo esc_attr(__("Add a transcript","powerpress")); ?>"
|
810 |
+
class="ep-box-checkbox" onclick="powerpress_epboxPCIToggle(this);"
|
811 |
+
name="Powerpress[<?php echo $FeedSlug; ?>][pci_transcript]" value="1"
|
812 |
+
type="checkbox" <?php echo($PCITranscript == 1 ? 'checked' : ''); ?> />
|
813 |
+
<?php echo esc_html(__('Add a transcript', 'powerpress')); ?>
|
814 |
+
</p>
|
815 |
+
<div class="powerpress_row" id="powerpress_pci_transcript_container_<?php echo $FeedSlug; ?>" <?php if (empty($PCITranscript)) { echo "style=\"display: none;\""; } ?>>
|
816 |
+
<div class="powerpress_row_content">
|
817 |
+
<input type="text" id="powerpress_transcript_url_<?php echo $FeedSlug; ?>" title="<?php echo esc_attr(__("URL to transcript file","powerpress")); ?>"
|
818 |
+
class="pp-ep-box-input"
|
819 |
+
name="Powerpress[<?php echo $FeedSlug; ?>][pci_transcript_url]"
|
820 |
+
value="<?php echo esc_attr($PCITranscriptURL); ?>"
|
821 |
+
placeholder="<?php echo esc_attr(__('URL to transcript file', 'powerpress')); ?>"
|
822 |
+
style="width: 96%; margin: 1em 4% 0 0;"/>
|
823 |
+
<label class="pp-ep-box-label-under"><?php echo esc_html(__("Can be added later by editing this post", 'powerpress')); ?></label>
|
824 |
+
</div>
|
825 |
+
</div>
|
826 |
+
<p style="font-size: 14px;" class="pp-ep-box-text">
|
827 |
+
<input id="powerpress_pci_chapters_<?php echo $FeedSlug; ?>" title="<?php echo esc_attr(__("Add chapters","powerpress")); ?>"
|
828 |
+
class="ep-box-checkbox" onclick="powerpress_epboxPCIToggle(this);"
|
829 |
+
name="Powerpress[<?php echo $FeedSlug; ?>][pci_chapters]" value="1"
|
830 |
+
type="checkbox" <?php echo($PCIChapters == 1 ? 'checked' : ''); ?> />
|
831 |
+
<?php echo esc_html(__('Add chapters', 'powerpress')); ?>
|
832 |
+
</p>
|
833 |
+
<div class="powerpress_row" id="powerpress_pci_chapters_container_<?php echo $FeedSlug; ?>" <?php if (empty($PCIChapters)) { echo "style=\"display: none;\""; } ?>>
|
834 |
+
<div class="powerpress_row_content">
|
835 |
+
<input type="text" id="powerpress_chapters_url_<?php echo $FeedSlug; ?>" title="<?php echo esc_attr(__("URL to chapters file","powerpress")); ?>"
|
836 |
+
class="pp-ep-box-input"
|
837 |
+
name="Powerpress[<?php echo $FeedSlug; ?>][pci_chapters_url]"
|
838 |
+
value="<?php echo esc_attr($PCIChaptersURL); ?>"
|
839 |
+
placeholder="<?php echo esc_attr(__('URL to chapters file', 'powerpress')); ?>"
|
840 |
+
style="width: 96%; margin: 1em 4% 0 0;"/>
|
841 |
+
<label class="pp-ep-box-label-under"><?php echo esc_html(__("Must be the format application/json+chapters", 'powerpress')); ?></label>
|
842 |
+
</div>
|
843 |
+
</div>
|
844 |
+
<!-- May be added in a future release; developed by accident
|
845 |
+
<p style="font-size: 14px;" class="pp-ep-box-text">
|
846 |
+
<input id="powerpress_pci_soundbites_<?php echo $FeedSlug; ?>" title="<?php echo esc_attr(__("Print metamarks to feed as soundbite tags","powerpress")); ?>"
|
847 |
+
class="ep-box-checkbox"
|
848 |
+
name="Powerpress[<?php echo $FeedSlug; ?>][pci_soundbites]" value="1"
|
849 |
+
type="checkbox" <?php echo($PCISoundbites == 1 ? 'checked' : ''); ?> />
|
850 |
+
<?php echo esc_html(__('Print metamarks to feed as soundbite tags', 'powerpress')); ?>
|
851 |
+
</p>-->
|
852 |
+
<br/>
|
853 |
+
</div>
|
854 |
+
<?php } ?>
|
855 |
</div>
|
856 |
|
857 |
<?php
|
powerpressadmin-player-page.php
CHANGED
@@ -178,12 +178,12 @@ jQuery(document).ready(function($) {
|
|
178 |
"&download-"+fontcolor2.substring(1)+"&downloadBackground-"+color2.substring(1)+"&subscribe-"+fontcolor3.substring(1)+"&subscribeBackground-"+color3.substring(1)+
|
179 |
"&share-"+fontcolor4.substring(1)+"&shareBackground-"+color4.substring(1);
|
180 |
|
181 |
-
document.getElementById('player_iframe_div').innerHTML = '<iframe src="
|
182 |
-
|
183 |
}
|
184 |
|
185 |
function restoreDefaultColors(){
|
186 |
-
document.getElementById('player_iframe_div').innerHTML ='<iframe src="
|
187 |
|
188 |
jQuery('input[name="BBPlayer[downloadbgcolor]"]').wpColorPicker('color',"#003366");
|
189 |
jQuery('input[name="BBPlayer[downloadcolortext]"]').wpColorPicker('color',"#ffffff");
|
178 |
"&download-"+fontcolor2.substring(1)+"&downloadBackground-"+color2.substring(1)+"&subscribe-"+fontcolor3.substring(1)+"&subscribeBackground-"+color3.substring(1)+
|
179 |
"&share-"+fontcolor4.substring(1)+"&shareBackground-"+color4.substring(1);
|
180 |
|
181 |
+
document.getElementById('player_iframe_div').innerHTML = '<iframe src="https://player.blubrry.com?podcast_id=12559710' + addition + '" id="playeriframe" scrolling="no" width="100%" height="138px" frameborder="0"></iframe>';
|
182 |
+
|
183 |
}
|
184 |
|
185 |
function restoreDefaultColors(){
|
186 |
+
document.getElementById('player_iframe_div').innerHTML ='<iframe src="https://player.blubrry.com?podcast_id=12559710" id="playeriframe" scrolling="no" width="100%" height="138px" frameborder="0"></iframe>';
|
187 |
|
188 |
jQuery('input[name="BBPlayer[downloadbgcolor]"]').wpColorPicker('color',"#003366");
|
189 |
jQuery('input[name="BBPlayer[downloadcolortext]"]').wpColorPicker('color',"#ffffff");
|
powerpressadmin-rss-import.php
CHANGED
@@ -1220,7 +1220,15 @@ jQuery(document).ready( function() {
|
|
1220 |
$ttid = '';
|
1221 |
}; break;
|
1222 |
}
|
1223 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1224 |
// First import program info...
|
1225 |
if( preg_match('/^(.*)<item>/is', $this->m_content, $matches) )
|
1226 |
{
|
1220 |
$ttid = '';
|
1221 |
}; break;
|
1222 |
}
|
1223 |
+
|
1224 |
+
// Need to check for podcast:locked tag before importing anything
|
1225 |
+
if (preg_match_all('/<podcast:locked\s*owner=["\'](.*)["\']\s*>([\s\S]*)<\/podcast:locked>/', $this->m_content, $matches)) {
|
1226 |
+
if (strpos($matches[2][0], 'yes') !== false) {
|
1227 |
+
echo '<p>Failed to import: podcast feed is locked.</p>';
|
1228 |
+
return;
|
1229 |
+
}
|
1230 |
+
}
|
1231 |
+
|
1232 |
// First import program info...
|
1233 |
if( preg_match('/^(.*)<item>/is', $this->m_content, $matches) )
|
1234 |
{
|
powerpressadmin-tools.php
CHANGED
@@ -207,24 +207,6 @@
|
|
207 |
</td>
|
208 |
</tr>
|
209 |
|
210 |
-
<tr valign="top">
|
211 |
-
<th scope="row"><?php echo __('PowerPress Beta Features', 'powerpress'); ?></th>
|
212 |
-
<td>
|
213 |
-
<?php
|
214 |
-
$powerpress_beta_url = admin_url() . wp_nonce_url("admin.php?page=powerpress/powerpressadmin_tools.php&action=powerpress-beta-features", 'powerpress-beta-features');
|
215 |
-
|
216 |
-
?>
|
217 |
-
<h4 style="margin-top: 8px;">Post to Social</h4>
|
218 |
-
<p>
|
219 |
-
Post to Social allows Blubrry podcast hosting customers to post to Twitter, Facebook and YouTube right from their WordPress site. Please go to https://www.blubrry.com, sign-in then go to the Post to Social settings in your blubrry account to setup.
|
220 |
-
</p>
|
221 |
-
<p>
|
222 |
-
This feature is currently in beta testing.
|
223 |
-
</p>
|
224 |
-
<p style="margin-top: 5px;"><strong><a href="<?php echo $powerpress_beta_url; ?>&feature=<?php echo (!empty($General['powerpress-beta-features'])?'0':'1'); ?>"><?php echo (!empty($General['powerpress-beta-features'])? __('Disable Beta Features', 'powerpress') : __('Enable Beta Features', 'powerpress') ); ?></a></strong></p>
|
225 |
-
</td>
|
226 |
-
</tr>
|
227 |
-
|
228 |
<tr valign="top">
|
229 |
<th scope="row"><?php echo __('Diagnostics', 'powerpress'); ?></th>
|
230 |
<td>
|
207 |
</td>
|
208 |
</tr>
|
209 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
210 |
<tr valign="top">
|
211 |
<th scope="row"><?php echo __('Diagnostics', 'powerpress'); ?></th>
|
212 |
<td>
|
powerpressadmin.php
CHANGED
@@ -612,6 +612,8 @@ function powerpress_admin_init()
|
|
612 |
$Feed['enhance_itunes_summary'] = false;
|
613 |
if( !isset($Feed['itunes_author_post']) )
|
614 |
$Feed['itunes_author_post'] = false;
|
|
|
|
|
615 |
|
616 |
if( !isset($Feed['itunes_block']) )
|
617 |
$Feed['itunes_block'] = false;
|
@@ -619,6 +621,8 @@ function powerpress_admin_init()
|
|
619 |
$Feed['itunes_complete'] = false;
|
620 |
if( !isset($Feed['maximize_feed']) )
|
621 |
$Feed['maximize_feed'] = false;
|
|
|
|
|
622 |
if( !isset($Feed['donate_link']) )
|
623 |
$Feed['donate_link'] = false;
|
624 |
if( !isset($Feed['episode_itunes_image']) )
|
@@ -1328,6 +1332,8 @@ function powerpress_save_settings($SettingsNew=false, $field = 'powerpress_gener
|
|
1328 |
$Settings['new_episode_box_author'] = 2;
|
1329 |
if (!isset($SettingsNew['new_episode_box_explicit']))
|
1330 |
$Settings['new_episode_box_explicit'] = 2;
|
|
|
|
|
1331 |
if (!isset($SettingsNew['new_episode_box_block']))
|
1332 |
$Settings['new_episode_box_block'] = 2;
|
1333 |
if (!isset($SettingsNew['new_episode_box_itunes_image']))
|
@@ -1392,6 +1398,8 @@ function powerpress_save_settings($SettingsNew=false, $field = 'powerpress_gener
|
|
1392 |
unset($Settings['itunes_complete']);
|
1393 |
if( isset($Settings['maximize_feed'] ) && $Settings['maximize_feed'] == 0 )
|
1394 |
unset($Settings['maximize_feed']);
|
|
|
|
|
1395 |
if( isset($Settings['donate_link'] ) && $Settings['donate_link'] == 0 )
|
1396 |
unset($Settings['donate_link']);
|
1397 |
if( empty($Settings['donate_url']) )
|
@@ -1924,6 +1932,20 @@ function powerpress_edit_post($post_ID, $post)
|
|
1924 |
$ToSerialize['feed_title'] = stripslashes(trim($Powerpress['feed_title']));
|
1925 |
if( !empty($Powerpress['category']) )
|
1926 |
$ToSerialize['category'] = stripslashes($Powerpress['category']);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1927 |
|
1928 |
if( isset($Powerpress['no_player_and_links']) && $Powerpress['no_player_and_links'] )
|
1929 |
{
|
612 |
$Feed['enhance_itunes_summary'] = false;
|
613 |
if( !isset($Feed['itunes_author_post']) )
|
614 |
$Feed['itunes_author_post'] = false;
|
615 |
+
if( !isset($Feed['pp_enable_feed_lock']) )
|
616 |
+
$Feed['pp_enable_feed_lock'] = false;
|
617 |
|
618 |
if( !isset($Feed['itunes_block']) )
|
619 |
$Feed['itunes_block'] = false;
|
621 |
$Feed['itunes_complete'] = false;
|
622 |
if( !isset($Feed['maximize_feed']) )
|
623 |
$Feed['maximize_feed'] = false;
|
624 |
+
if( !isset($Feed['unlock_podcast']) )
|
625 |
+
$Feed['unlock_podcast'] = false;
|
626 |
if( !isset($Feed['donate_link']) )
|
627 |
$Feed['donate_link'] = false;
|
628 |
if( !isset($Feed['episode_itunes_image']) )
|
1332 |
$Settings['new_episode_box_author'] = 2;
|
1333 |
if (!isset($SettingsNew['new_episode_box_explicit']))
|
1334 |
$Settings['new_episode_box_explicit'] = 2;
|
1335 |
+
if (!isset($SettingsNew['new_episode_box_pci']))
|
1336 |
+
$Settings['new_episode_box_pci'] = 2;
|
1337 |
if (!isset($SettingsNew['new_episode_box_block']))
|
1338 |
$Settings['new_episode_box_block'] = 2;
|
1339 |
if (!isset($SettingsNew['new_episode_box_itunes_image']))
|
1398 |
unset($Settings['itunes_complete']);
|
1399 |
if( isset($Settings['maximize_feed'] ) && $Settings['maximize_feed'] == 0 )
|
1400 |
unset($Settings['maximize_feed']);
|
1401 |
+
if( isset($Settings['unlock_podcast'] ) && $Settings['unlock_podcast'] == 0 )
|
1402 |
+
unset($Settings['unlock_podcast']);
|
1403 |
if( isset($Settings['donate_link'] ) && $Settings['donate_link'] == 0 )
|
1404 |
unset($Settings['donate_link']);
|
1405 |
if( empty($Settings['donate_url']) )
|
1932 |
$ToSerialize['feed_title'] = stripslashes(trim($Powerpress['feed_title']));
|
1933 |
if( !empty($Powerpress['category']) )
|
1934 |
$ToSerialize['category'] = stripslashes($Powerpress['category']);
|
1935 |
+
if( isset($Powerpress['pci_transcript']) && $Powerpress['pci_transcript'] ) {
|
1936 |
+
$ToSerialize['pci_transcript'] = 1;
|
1937 |
+
if (isset($Powerpress['pci_transcript_url']) && trim($Powerpress['pci_transcript_url']) != '') {
|
1938 |
+
$ToSerialize['pci_transcript_url'] = stripslashes($Powerpress['pci_transcript_url']);
|
1939 |
+
}
|
1940 |
+
}
|
1941 |
+
if( isset($Powerpress['pci_chapters']) && $Powerpress['pci_chapters'] ) {
|
1942 |
+
$ToSerialize['pci_chapters'] = 1;
|
1943 |
+
if (isset($Powerpress['pci_chapters_url']) && trim($Powerpress['pci_chapters_url']) != '') {
|
1944 |
+
$ToSerialize['pci_chapters_url'] = stripslashes($Powerpress['pci_chapters_url']);
|
1945 |
+
}
|
1946 |
+
}
|
1947 |
+
if( isset($Powerpress['pci_soundbites']) && $Powerpress['pci_soundbites'] )
|
1948 |
+
$ToSerialize['pci_soundbites'] = 1;
|
1949 |
|
1950 |
if( isset($Powerpress['no_player_and_links']) && $Powerpress['no_player_and_links'] )
|
1951 |
{
|
readme.txt
CHANGED
@@ -3,8 +3,8 @@ Contributors: amandato, blubrry
|
|
3 |
Tags: podcasting, podcast, podcaster, powerpress, itunes, apple, apple podcasts, google podcasts, google play, enclosure, professional, apple, apple tv, ipad, iphone, soundcloud, squarespace, youtube, viddler, ustream, podcasting, audio, video, rss2, feed, player, media, rss, mp3, music, embed, feedburner, statistics, stats, flv, flash, id3, episodes, blubrry, mp4, m4v, wordpressmu, mu, wordpress mu, multisite, multi site, mediacaster, post, plugin, posts, simple, social, dashboard, TSG, Buzzsprout, MTR, WP-boxCast, CastMyBlog, tgs podcasting, simple podcasting, seriously simple podcasting, seriously-simple-podcasting, serious, seriously, ssp, podlove, podcast.de, clammr, clammr radio, audio player, stitcher, tunein, show, shows, series, docs, documentation, support, free, add-ons, extensions, addons, libsyn, libsyn-podcasting, podbean, podomatic, spreaker
|
4 |
Requires at least: 3.6
|
5 |
Requires PHP: 5.2
|
6 |
-
Tested up to: 5.
|
7 |
-
Stable tag: 8.
|
8 |
Donate link: https://create.blubrry.com/resources/podcast-media-hosting/
|
9 |
License: GPLv2 or later
|
10 |
|
@@ -186,6 +186,11 @@ If you are a fan of PowerPress, we would greatly appreciate it if you could take
|
|
186 |
|
187 |
== Changelog ==
|
188 |
|
|
|
|
|
|
|
|
|
|
|
189 |
= 8.4.8 =
|
190 |
* Released 01/13/2021
|
191 |
* Fixed a bug in the Blubrry account linking
|
3 |
Tags: podcasting, podcast, podcaster, powerpress, itunes, apple, apple podcasts, google podcasts, google play, enclosure, professional, apple, apple tv, ipad, iphone, soundcloud, squarespace, youtube, viddler, ustream, podcasting, audio, video, rss2, feed, player, media, rss, mp3, music, embed, feedburner, statistics, stats, flv, flash, id3, episodes, blubrry, mp4, m4v, wordpressmu, mu, wordpress mu, multisite, multi site, mediacaster, post, plugin, posts, simple, social, dashboard, TSG, Buzzsprout, MTR, WP-boxCast, CastMyBlog, tgs podcasting, simple podcasting, seriously simple podcasting, seriously-simple-podcasting, serious, seriously, ssp, podlove, podcast.de, clammr, clammr radio, audio player, stitcher, tunein, show, shows, series, docs, documentation, support, free, add-ons, extensions, addons, libsyn, libsyn-podcasting, podbean, podomatic, spreaker
|
4 |
Requires at least: 3.6
|
5 |
Requires PHP: 5.2
|
6 |
+
Tested up to: 5.7
|
7 |
+
Stable tag: 8.5
|
8 |
Donate link: https://create.blubrry.com/resources/podcast-media-hosting/
|
9 |
License: GPLv2 or later
|
10 |
|
186 |
|
187 |
== Changelog ==
|
188 |
|
189 |
+
= 8.5 =
|
190 |
+
* Released 03/10/2021
|
191 |
+
* Added settings for Podcast Index tags: locked, location, funding, transcript, chapters
|
192 |
+
* Several small bug fixes
|
193 |
+
|
194 |
= 8.4.8 =
|
195 |
* Released 01/13/2021
|
196 |
* Fixed a bug in the Blubrry account linking
|
views/ep-box-settings.php
CHANGED
@@ -23,6 +23,9 @@ function powerpressadmin_edit_entry_options($General)
|
|
23 |
$General['episode_box_order'] = 0;
|
24 |
if( !isset($General['episode_box_feature_in_itunes']) )
|
25 |
$General['episode_box_feature_in_itunes'] = 0;
|
|
|
|
|
|
|
26 |
|
27 |
require_once(dirname(__FILE__) . "/../powerpressadmin-epbox-options.php");
|
28 |
?>
|
23 |
$General['episode_box_order'] = 0;
|
24 |
if( !isset($General['episode_box_feature_in_itunes']) )
|
25 |
$General['episode_box_feature_in_itunes'] = 0;
|
26 |
+
if( !isset($GeneralSettings['new_episode_box_pci']) )
|
27 |
+
$GeneralSettings['new_episode_box_pci'] = 0;
|
28 |
+
|
29 |
|
30 |
require_once(dirname(__FILE__) . "/../powerpressadmin-epbox-options.php");
|
31 |
?>
|
views/episode-box.php
CHANGED
@@ -45,6 +45,11 @@ function powerpress_meta_box($object, $box)
|
|
45 |
$iTunesCC = false;
|
46 |
$iTunesOrder = false;
|
47 |
$FeedAlways = false;
|
|
|
|
|
|
|
|
|
|
|
48 |
$iTunesBlock = false;
|
49 |
$NoPlayer = false;
|
50 |
$NoLinks = false;
|
@@ -55,8 +60,6 @@ function powerpress_meta_box($object, $box)
|
|
55 |
$FeedTitle = '';
|
56 |
$PodcastCategory = '';
|
57 |
$GeneralSettings = get_option('powerpress_general');
|
58 |
-
$FeedSettings = get_option('powerpress_feed');
|
59 |
-
$canSetSeason = $FeedSettings['itunes_type'] == 'serial' ? true : false;
|
60 |
if (!isset($GeneralSettings['set_size']))
|
61 |
$GeneralSettings['set_size'] = 0;
|
62 |
if (!isset($GeneralSettings['set_duration']))
|
@@ -143,6 +146,16 @@ function powerpress_meta_box($object, $box)
|
|
143 |
$FeedTitle = $ExtraData['feed_title'];
|
144 |
if (!isset($ExtraData['itunes_image']))
|
145 |
$ExtraData['itunes_image'] = "";
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
146 |
}
|
147 |
}
|
148 |
|
@@ -212,7 +225,7 @@ function powerpress_meta_box($object, $box)
|
|
212 |
seo_tab($FeedSlug, $ExtraData, $iTunesExplicit, $seo_feed_title, $GeneralSettings, $iTunesSubtitle, $iTunesSummary, $iTunesAuthor, $iTunesOrder, $iTunesBlock, $object);
|
213 |
artwork_tab($FeedSlug, $ExtraData, $object, $CoverImage, $GeneralSettings);
|
214 |
display_tab($FeedSlug, $IsVideo, $NoPlayer, $NoLinks, $Width, $Height, $Embed, $GeneralSettings);
|
215 |
-
notes_tab($FeedSlug, $object, $GeneralSettings);
|
216 |
echo "</div>";
|
217 |
echo "</div>";
|
218 |
if ($EnclosureURL) {
|
45 |
$iTunesCC = false;
|
46 |
$iTunesOrder = false;
|
47 |
$FeedAlways = false;
|
48 |
+
$PCITranscript = false;
|
49 |
+
$PCITranscriptURL = '';
|
50 |
+
$PCIChapters = false;
|
51 |
+
$PCIChaptersURL = '';
|
52 |
+
$PCISoundbites = false;
|
53 |
$iTunesBlock = false;
|
54 |
$NoPlayer = false;
|
55 |
$NoLinks = false;
|
60 |
$FeedTitle = '';
|
61 |
$PodcastCategory = '';
|
62 |
$GeneralSettings = get_option('powerpress_general');
|
|
|
|
|
63 |
if (!isset($GeneralSettings['set_size']))
|
64 |
$GeneralSettings['set_size'] = 0;
|
65 |
if (!isset($GeneralSettings['set_duration']))
|
146 |
$FeedTitle = $ExtraData['feed_title'];
|
147 |
if (!isset($ExtraData['itunes_image']))
|
148 |
$ExtraData['itunes_image'] = "";
|
149 |
+
if (isset($ExtraData['pci_transcript']))
|
150 |
+
$PCITranscript = $ExtraData['pci_transcript'];
|
151 |
+
if (isset($ExtraData['pci_transcript_url']))
|
152 |
+
$PCITranscriptURL = $ExtraData['pci_transcript_url'];
|
153 |
+
if (isset($ExtraData['pci_chapters']))
|
154 |
+
$PCIChapters = $ExtraData['pci_chapters'];
|
155 |
+
if (isset($ExtraData['pci_chapters_url']))
|
156 |
+
$PCIChaptersURL = $ExtraData['pci_chapters_url'];
|
157 |
+
if (isset($ExtraData['pci_soundbites']))
|
158 |
+
$PCISoundbites = $ExtraData['pci_soundbites'];
|
159 |
}
|
160 |
}
|
161 |
|
225 |
seo_tab($FeedSlug, $ExtraData, $iTunesExplicit, $seo_feed_title, $GeneralSettings, $iTunesSubtitle, $iTunesSummary, $iTunesAuthor, $iTunesOrder, $iTunesBlock, $object);
|
226 |
artwork_tab($FeedSlug, $ExtraData, $object, $CoverImage, $GeneralSettings);
|
227 |
display_tab($FeedSlug, $IsVideo, $NoPlayer, $NoLinks, $Width, $Height, $Embed, $GeneralSettings);
|
228 |
+
notes_tab($FeedSlug, $object, $GeneralSettings, $PCITranscript, $PCITranscriptURL, $PCIChapters, $PCIChaptersURL, $PCISoundbites);
|
229 |
echo "</div>";
|
230 |
echo "</div>";
|
231 |
if ($EnclosureURL) {
|
views/settings_tab_destinations.php
CHANGED
@@ -211,7 +211,7 @@ function subscribeSetting($directory, $feed_url, $listing_url) {
|
|
211 |
</p>
|
212 |
<?php }?>
|
213 |
<p class="pp-settings-text">
|
214 |
-
<b><?php echo __('Get listed on the largest podcast directory in the world! ', 'powerpress'); ?></b><?php echo sprintf(__('Once listed, %s to expand your podcast distribution to Blubrry\'s SmartTV Apps (e.g. Roku) and apply to be on Spotify.', 'powerpress'), '<a href="https://
|
215 |
</p>
|
216 |
<?php if(!$link_at_top) { ?>
|
217 |
<p class="pp-settings-text">
|
211 |
</p>
|
212 |
<?php }?>
|
213 |
<p class="pp-settings-text">
|
214 |
+
<b><?php echo __('Get listed on the largest podcast directory in the world! ', 'powerpress'); ?></b><?php echo sprintf(__('Once listed, %s to expand your podcast distribution to Blubrry\'s SmartTV Apps (e.g. Roku) and apply to be on Spotify.', 'powerpress'), '<a href="https://blubrry.com/services/blubrry-podcast-directory/" target="_blank">'. __('Get Featured', 'powerpress').'</a>' ); ?>
|
215 |
</p>
|
216 |
<?php if(!$link_at_top) { ?>
|
217 |
<p class="pp-settings-text">
|