From c765651d89039011ab5b873fbff7379d532706ac Mon Sep 17 00:00:00 2001 From: Jason Corum Date: Mon, 21 Sep 2020 13:57:12 -0700 Subject: [PATCH 1/4] Updates Iowa Public Television to Iowa PBS --- app/views/organizations/md/1770.md | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/app/views/organizations/md/1770.md b/app/views/organizations/md/1770.md index 943d40e747..89c8e005f9 100644 --- a/app/views/organizations/md/1770.md +++ b/app/views/organizations/md/1770.md @@ -1,8 +1,8 @@ -# Iowa Public Television +# Iowa PBS ## Short name -Iowa Public Television +Iowa PBS ## State @@ -14,15 +14,19 @@ Johnston ## Logo - +iowa-pbs.jpg ## Url -http://www.iptv.org/ +http://www.iowapbs.org/ ## About +Iowa PBS is Iowa's statewide public broadcasting network. Iowa PBS provides quality, innovative media and services that educate, inform, enrich and inspire Iowans throughout the state. + +A noncommercial, public-service mission enables Iowa PBS to present an unequaled array of programs of lasting value to Iowans regardless of where they live or what they can afford. Their educational media and resources help prepare Iowa’s children for success in school and opens up the world to them in age-appropriate ways. Nearly half the households in the viewing area tune to Iowa PBS each month for programming that reflects a range of interests for Iowans in all demographic categories. +The statewide network became Iowa PBS on January 1, 2020. Prior to that, they operated as Iowa Public Television. ## Productions From 35c1711abfe021eff4bf153d60febcabe600480a Mon Sep 17 00:00:00 2001 From: Jason Corum Date: Tue, 22 Sep 2020 10:39:23 -0700 Subject: [PATCH 2/4] Fixes tests and fixtures --- spec/features/catalog_spec.rb | 6 +++--- spec/fixtures/pbcore/clean-bad-language.xml | 4 ++-- .../pbcore/clean-every-title-is-episode-number.xml | 12 ++++++------ spec/fixtures/pbcore/clean-no-relation-type.xml | 12 ++++++------ spec/fixtures/pbcore/dirty-yes-fix-bad-language.xml | 2 +- .../dirty-yes-fix-every-title-is-episode-number.xml | 4 ++-- .../pbcore/dirty-yes-fix-no-relation-type.xml | 8 ++++---- 7 files changed, 24 insertions(+), 24 deletions(-) diff --git a/spec/features/catalog_spec.rb b/spec/features/catalog_spec.rb index 1b14a49cd0..b18d67d5c1 100644 --- a/spec/features/catalog_spec.rb +++ b/spec/features/catalog_spec.rb @@ -245,13 +245,13 @@ def expect_no_transcript expect_count(5, page.text) expect(page).to have_text('You searched for: Contributing Organizations WGBH (MA) Remove constraint Contributing Organizations: WGBH (MA) '), missing_page_text_custom_error('You searched for: Contributing Organizations WGBH (MA) Remove constraint Contributing Organizations: WGBH (MA) ', page.current_path) - click_link('Iowa Public Television (IA)') + click_link('Iowa PBS (IA)') # TODO: check count when IP set in request. - expect(page).to have_text('Contributing Organizations: WGBH (MA) OR Iowa Public Television (IA)'), missing_page_text_custom_error('Contributing Organizations: WGBH (MA) OR Iowa Public Television (IA)', page.current_path) + expect(page).to have_text('Contributing Organizations: WGBH (MA) OR Iowa PBS (IA)'), missing_page_text_custom_error('Contributing Organizations: WGBH (MA) OR Iowa PBS (IA)', page.current_path) expect(page).to have_css('a', text: 'District of Columbia') click_link('District of Columbia') - expect(page).to have_text('WGBH (MA) OR Iowa Public Television (IA) OR Library of Congress (DC) OR NewsHour Productions (DC)'), missing_page_text_custom_error('WGBH (MA) OR Iowa Public Television (IA) OR Library of Congress (DC) OR NewsHour Productions (DC)', page.current_path) + expect(page).to have_text('WGBH (MA) OR Iowa PBS (IA) OR Library of Congress (DC) OR NewsHour Productions (DC)'), missing_page_text_custom_error('WGBH (MA) OR Iowa PBS (IA) OR Library of Congress (DC) OR NewsHour Productions (DC)', page.current_path) # all(:css, '.constraints-container a.remove')[1].click # remove 'WGBH OR IPTV' # TODO: check count when IP set in request. diff --git a/spec/fixtures/pbcore/clean-bad-language.xml b/spec/fixtures/pbcore/clean-bad-language.xml index 524b4c637e..1e28b0227e 100644 --- a/spec/fixtures/pbcore/clean-bad-language.xml +++ b/spec/fixtures/pbcore/clean-bad-language.xml @@ -27,8 +27,8 @@ Original footage 00:30:00 Original: footage - Iowa Public Television + Iowa PBS 2013-06-02 06:31:56 - Iowa Public Television + Iowa PBS \ No newline at end of file diff --git a/spec/fixtures/pbcore/clean-every-title-is-episode-number.xml b/spec/fixtures/pbcore/clean-every-title-is-episode-number.xml index e7b4d436b6..01895fc243 100644 --- a/spec/fixtures/pbcore/clean-every-title-is-episode-number.xml +++ b/spec/fixtures/pbcore/clean-every-title-is-episode-number.xml @@ -15,14 +15,14 @@ 32E-COL4/1 1988-05-12 3/4 inch videotape: U-matic - Iowa Public Television Library, 6450 Corporate Drive, Johnston, IA 50131 + Iowa PBS Library, 6450 Corporate Drive, Johnston, IA 50131 Moving Image Dub 00:28:30 Ch 1 MOS; Ch 2 Full Mix eng N - Iowa Public Television + Iowa PBS AACIP Record Nomination Status @@ -67,7 +67,7 @@ 00:29:04 OpenCube MXFTk Advanced 2.4.6.0.1 - Iowa Public Television + Iowa PBS cpb-aacip-37-16c2fsnr.h264.mov @@ -112,7 +112,7 @@ eng Apple QuickTime - Iowa Public Television + Iowa PBS cpb-aacip-37-16c2fsnr.mpeg2.mxf @@ -155,9 +155,9 @@ EIA-708 OC OCTk 2.4 - Iowa Public Television + Iowa PBS 2013-06-02 06:33:17 - Iowa Public Television + Iowa PBS Online Reading Room \ No newline at end of file diff --git a/spec/fixtures/pbcore/clean-no-relation-type.xml b/spec/fixtures/pbcore/clean-no-relation-type.xml index 3bcccbf67e..63b49c2209 100644 --- a/spec/fixtures/pbcore/clean-no-relation-type.xml +++ b/spec/fixtures/pbcore/clean-no-relation-type.xml @@ -17,13 +17,13 @@ Adult TV-G - Iowa Public Television + Iowa PBS Undefined - iptvtst_19821225_108 + iptvtst_19821225_108 3/4 inch videotape: U-matic 32-A-4 (IPTV ProTrack) Moving Image @@ -31,15 +31,15 @@ 00:28:50 eng 12-25-1982 - Iowa Public Television + Iowa PBS iptvtst_19821225_108_DV25 fmt/5 - Iowa Public Television + Iowa PBS Moving Image eng - Iowa Public Television + Iowa PBS AACIP Record Nomination Status @@ -49,5 +49,5 @@ 2014-07-31 19:53:13 - Iowa Public Television + Iowa PBS \ No newline at end of file diff --git a/spec/fixtures/pbcore/dirty-yes-fix-bad-language.xml b/spec/fixtures/pbcore/dirty-yes-fix-bad-language.xml index 5eba31ae5d..3502145a9d 100644 --- a/spec/fixtures/pbcore/dirty-yes-fix-bad-language.xml +++ b/spec/fixtures/pbcore/dirty-yes-fix-bad-language.xml @@ -26,5 +26,5 @@ Original: footage 2013-06-02 06:31:56 - Iowa Public Television + Iowa PBS \ No newline at end of file diff --git a/spec/fixtures/pbcore/dirty-yes-fix-every-title-is-episode-number.xml b/spec/fixtures/pbcore/dirty-yes-fix-every-title-is-episode-number.xml index 9492c629d9..9a755f93ac 100644 --- a/spec/fixtures/pbcore/dirty-yes-fix-every-title-is-episode-number.xml +++ b/spec/fixtures/pbcore/dirty-yes-fix-every-title-is-episode-number.xml @@ -15,7 +15,7 @@ 32E-COL4/1 1988-05-12 3/4 inch videotape: U-matic - Iowa Public Television Library, 6450 Corporate Drive, Johnston, IA 50131 + Iowa PBS Library, 6450 Corporate Drive, Johnston, IA 50131 Moving Image Dub 00:28:30 @@ -154,6 +154,6 @@ OC OCTk 2.4 2013-06-02 06:33:17 - Iowa Public Television + Iowa PBS Online Reading Room diff --git a/spec/fixtures/pbcore/dirty-yes-fix-no-relation-type.xml b/spec/fixtures/pbcore/dirty-yes-fix-no-relation-type.xml index 8def693f61..782a952322 100644 --- a/spec/fixtures/pbcore/dirty-yes-fix-no-relation-type.xml +++ b/spec/fixtures/pbcore/dirty-yes-fix-no-relation-type.xml @@ -21,13 +21,13 @@ Adult TV-G - Iowa Public Television + Iowa PBS Undefined - iptvtst_19821225_108 + iptvtst_19821225_108 3/4 inch videotape: U-matic 32-A-4 (IPTV ProTrack) Moving Image @@ -39,7 +39,7 @@ iptvtst_19821225_108_DV25 fmt/5 - Iowa Public Television + Iowa PBS Moving Image eng @@ -51,5 +51,5 @@ 2014-07-31 19:53:13 - Iowa Public Television + Iowa PBS \ No newline at end of file From d55feeb6ee551f0c3334554ad502467eaf65204a Mon Sep 17 00:00:00 2001 From: Jason Corum Date: Mon, 4 Jan 2021 13:38:54 -0800 Subject: [PATCH 3/4] Undoes change to org name used in facet --- app/views/organizations/md/1770.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/views/organizations/md/1770.md b/app/views/organizations/md/1770.md index 89c8e005f9..ed125e2ecc 100644 --- a/app/views/organizations/md/1770.md +++ b/app/views/organizations/md/1770.md @@ -1,8 +1,8 @@ -# Iowa PBS +# Iowa Public Television ## Short name -Iowa PBS +Iowa Public Television ## State From a1eb2621f45a4247e183507caa588541de0972cf Mon Sep 17 00:00:00 2001 From: Jason Corum Date: Tue, 5 Jan 2021 09:48:29 -0800 Subject: [PATCH 4/4] Reverts Iowa PBS in spec files --- spec/features/catalog_spec.rb | 6 +++--- spec/fixtures/pbcore/clean-bad-language.xml | 4 ++-- .../pbcore/clean-every-title-is-episode-number.xml | 12 ++++++------ spec/fixtures/pbcore/clean-no-relation-type.xml | 12 ++++++------ spec/fixtures/pbcore/dirty-yes-fix-bad-language.xml | 2 +- .../dirty-yes-fix-every-title-is-episode-number.xml | 4 ++-- .../pbcore/dirty-yes-fix-no-relation-type.xml | 8 ++++---- 7 files changed, 24 insertions(+), 24 deletions(-) diff --git a/spec/features/catalog_spec.rb b/spec/features/catalog_spec.rb index b18d67d5c1..1b14a49cd0 100644 --- a/spec/features/catalog_spec.rb +++ b/spec/features/catalog_spec.rb @@ -245,13 +245,13 @@ def expect_no_transcript expect_count(5, page.text) expect(page).to have_text('You searched for: Contributing Organizations WGBH (MA) Remove constraint Contributing Organizations: WGBH (MA) '), missing_page_text_custom_error('You searched for: Contributing Organizations WGBH (MA) Remove constraint Contributing Organizations: WGBH (MA) ', page.current_path) - click_link('Iowa PBS (IA)') + click_link('Iowa Public Television (IA)') # TODO: check count when IP set in request. - expect(page).to have_text('Contributing Organizations: WGBH (MA) OR Iowa PBS (IA)'), missing_page_text_custom_error('Contributing Organizations: WGBH (MA) OR Iowa PBS (IA)', page.current_path) + expect(page).to have_text('Contributing Organizations: WGBH (MA) OR Iowa Public Television (IA)'), missing_page_text_custom_error('Contributing Organizations: WGBH (MA) OR Iowa Public Television (IA)', page.current_path) expect(page).to have_css('a', text: 'District of Columbia') click_link('District of Columbia') - expect(page).to have_text('WGBH (MA) OR Iowa PBS (IA) OR Library of Congress (DC) OR NewsHour Productions (DC)'), missing_page_text_custom_error('WGBH (MA) OR Iowa PBS (IA) OR Library of Congress (DC) OR NewsHour Productions (DC)', page.current_path) + expect(page).to have_text('WGBH (MA) OR Iowa Public Television (IA) OR Library of Congress (DC) OR NewsHour Productions (DC)'), missing_page_text_custom_error('WGBH (MA) OR Iowa Public Television (IA) OR Library of Congress (DC) OR NewsHour Productions (DC)', page.current_path) # all(:css, '.constraints-container a.remove')[1].click # remove 'WGBH OR IPTV' # TODO: check count when IP set in request. diff --git a/spec/fixtures/pbcore/clean-bad-language.xml b/spec/fixtures/pbcore/clean-bad-language.xml index 1e28b0227e..524b4c637e 100644 --- a/spec/fixtures/pbcore/clean-bad-language.xml +++ b/spec/fixtures/pbcore/clean-bad-language.xml @@ -27,8 +27,8 @@ Original footage 00:30:00 Original: footage - Iowa PBS + Iowa Public Television 2013-06-02 06:31:56 - Iowa PBS + Iowa Public Television \ No newline at end of file diff --git a/spec/fixtures/pbcore/clean-every-title-is-episode-number.xml b/spec/fixtures/pbcore/clean-every-title-is-episode-number.xml index 01895fc243..e7b4d436b6 100644 --- a/spec/fixtures/pbcore/clean-every-title-is-episode-number.xml +++ b/spec/fixtures/pbcore/clean-every-title-is-episode-number.xml @@ -15,14 +15,14 @@ 32E-COL4/1 1988-05-12 3/4 inch videotape: U-matic - Iowa PBS Library, 6450 Corporate Drive, Johnston, IA 50131 + Iowa Public Television Library, 6450 Corporate Drive, Johnston, IA 50131 Moving Image Dub 00:28:30 Ch 1 MOS; Ch 2 Full Mix eng N - Iowa PBS + Iowa Public Television AACIP Record Nomination Status @@ -67,7 +67,7 @@ 00:29:04 OpenCube MXFTk Advanced 2.4.6.0.1 - Iowa PBS + Iowa Public Television cpb-aacip-37-16c2fsnr.h264.mov @@ -112,7 +112,7 @@ eng Apple QuickTime - Iowa PBS + Iowa Public Television cpb-aacip-37-16c2fsnr.mpeg2.mxf @@ -155,9 +155,9 @@ EIA-708 OC OCTk 2.4 - Iowa PBS + Iowa Public Television 2013-06-02 06:33:17 - Iowa PBS + Iowa Public Television Online Reading Room \ No newline at end of file diff --git a/spec/fixtures/pbcore/clean-no-relation-type.xml b/spec/fixtures/pbcore/clean-no-relation-type.xml index 63b49c2209..3bcccbf67e 100644 --- a/spec/fixtures/pbcore/clean-no-relation-type.xml +++ b/spec/fixtures/pbcore/clean-no-relation-type.xml @@ -17,13 +17,13 @@ Adult TV-G - Iowa PBS + Iowa Public Television Undefined - iptvtst_19821225_108 + iptvtst_19821225_108 3/4 inch videotape: U-matic 32-A-4 (IPTV ProTrack) Moving Image @@ -31,15 +31,15 @@ 00:28:50 eng 12-25-1982 - Iowa PBS + Iowa Public Television iptvtst_19821225_108_DV25 fmt/5 - Iowa PBS + Iowa Public Television Moving Image eng - Iowa PBS + Iowa Public Television AACIP Record Nomination Status @@ -49,5 +49,5 @@ 2014-07-31 19:53:13 - Iowa PBS + Iowa Public Television \ No newline at end of file diff --git a/spec/fixtures/pbcore/dirty-yes-fix-bad-language.xml b/spec/fixtures/pbcore/dirty-yes-fix-bad-language.xml index 3502145a9d..5eba31ae5d 100644 --- a/spec/fixtures/pbcore/dirty-yes-fix-bad-language.xml +++ b/spec/fixtures/pbcore/dirty-yes-fix-bad-language.xml @@ -26,5 +26,5 @@ Original: footage 2013-06-02 06:31:56 - Iowa PBS + Iowa Public Television \ No newline at end of file diff --git a/spec/fixtures/pbcore/dirty-yes-fix-every-title-is-episode-number.xml b/spec/fixtures/pbcore/dirty-yes-fix-every-title-is-episode-number.xml index 9a755f93ac..9492c629d9 100644 --- a/spec/fixtures/pbcore/dirty-yes-fix-every-title-is-episode-number.xml +++ b/spec/fixtures/pbcore/dirty-yes-fix-every-title-is-episode-number.xml @@ -15,7 +15,7 @@ 32E-COL4/1 1988-05-12 3/4 inch videotape: U-matic - Iowa PBS Library, 6450 Corporate Drive, Johnston, IA 50131 + Iowa Public Television Library, 6450 Corporate Drive, Johnston, IA 50131 Moving Image Dub 00:28:30 @@ -154,6 +154,6 @@ OC OCTk 2.4 2013-06-02 06:33:17 - Iowa PBS + Iowa Public Television Online Reading Room diff --git a/spec/fixtures/pbcore/dirty-yes-fix-no-relation-type.xml b/spec/fixtures/pbcore/dirty-yes-fix-no-relation-type.xml index 782a952322..8def693f61 100644 --- a/spec/fixtures/pbcore/dirty-yes-fix-no-relation-type.xml +++ b/spec/fixtures/pbcore/dirty-yes-fix-no-relation-type.xml @@ -21,13 +21,13 @@ Adult TV-G - Iowa PBS + Iowa Public Television Undefined - iptvtst_19821225_108 + iptvtst_19821225_108 3/4 inch videotape: U-matic 32-A-4 (IPTV ProTrack) Moving Image @@ -39,7 +39,7 @@ iptvtst_19821225_108_DV25 fmt/5 - Iowa PBS + Iowa Public Television Moving Image eng @@ -51,5 +51,5 @@ 2014-07-31 19:53:13 - Iowa PBS + Iowa Public Television \ No newline at end of file