Skip to content

Commit

Permalink
Better link checker (#936)
Browse files Browse the repository at this point in the history
* Copy-and-paste link checker from OV.

* Ignores

* Some link fixes.

* lots of link fixes.

* Fix #933

* Start up a server so link checks work.

* fix one outside link, and trim ignore list.

* Two more rel links

* This link comes from BL. We redirect, but that is ok, so ignore.

* Just the path should be sufficient, I hope?
  • Loading branch information
mccalluc authored and afred committed Apr 13, 2016
1 parent c29f9b9 commit 7d099e4
Show file tree
Hide file tree
Showing 20 changed files with 1,004 additions and 838 deletions.
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,9 @@ jetty
# Coverage
/coverage

# ignore link check report
/spec/support/link-check-report.txt

# Chuck ran into gem version issues, which a gemset solved, but if you're ok,
# then it's much more efficient to use the default gemset on all projects.
.ruby-gemset
6 changes: 3 additions & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
language: ruby
sudo: false
cache: bundler
rvm:
- 2.0.0
script: 'bundle exec rake ci'
script:
- bundle exec rails server &
- bundle exec rake ci
2 changes: 1 addition & 1 deletion app/views/exhibits/climate-change/advocacy.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ Also in 2005, South Carolina Educational Television (SCETV) hosted a call-in sho

Since the late 1980s, writer and climate change activist Bill McKibben has been a leading voice on global warming. Over the course of his career, he has discussed on the issue of climate change over the airwaves of public radio and television. In 1989, [WILL interviewed him](/catalog/cpb-aacip_16-p843r0qc0z) about his first book titled *The End of Nature*, which argues for a transformational shift in how society perceives our relationship of domination with the Earth. Speaking about his latest book *Eaarth* at the [Harvard Book Store](/catalog/cpb-aacip_15-8s4jm23h6q), he said that people across the world had already begun to feel the impacts of climate change. McKibben also discussed his founding of 350.org, a grassroots effort to mobilize citizens across the world to take action on climate change. Because more than 4,000 languages are spoken across the globe, he used the number "350," universally understood as the safe upper limit of carbon dioxide parts per million in the atmosphere, for the name of the organization. Today, 350.org works in every country to effect change on both the local and global scale, and activists around the world have dedicated themselves to the effort. [Ken Ward and Andree Zaleska](/catalog/cpb-aacip_15-7940r9m78p), two activists involved in 350.org, gave a recorded public talk in 2010 about how ordinary citizens can contribute to finding solutions to global warming. Others who took personal acts of advocacy told their stories as well. In 2008, WGBH recorded a public talk given by author and environmental activist [John Francis](/catalog/cpb-aacip_15-2f7jq0sw07), who witnessed a major oil spill in San Francisco in the early 1970s and gave up motorized transportation for 22 years in protest of environmental destruction.

Next: [Communicating Climate Change through Art](communicating-art)
Next: [Communicating Climate Change through Art](/exhibits/climate-change/communicating-art)

## Main

Expand Down
6 changes: 3 additions & 3 deletions app/views/exhibits/climate-change/causes.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,9 @@ Scientists report that since the beginning of the Industrial Revolution, human
activities have been the main source of greenhouse gas emissions, which has
taken place primarily through the burning of fossil fuels.

In a call-in show about climate change and public policy, [Stephen Schneider](impacts), Professor of Environmental Biology and Global Change at Stanford University, asserts that causes of climate change are global in nature. After discussing how the United States has historically been the primary source of emissions, he contends that with the spread of industrialization, "we need a global process...where we can work with developing countries and say 'you have a right to develop, but don't do it the way we did it, but since we got rich doing it . . . we'll help you with these alternatives.'" If we don't help them, he continues, "we going to end up doubling, tripling, or worse CO2 [concentrations in Earth’s atmosphere]."
In a call-in show about climate change and public policy, [Stephen Schneider](/exhibits/climate-change/impacts), Professor of Environmental Biology and Global Change at Stanford University, asserts that causes of climate change are global in nature. After discussing how the United States has historically been the primary source of emissions, he contends that with the spread of industrialization, "we need a global process...where we can work with developing countries and say 'you have a right to develop, but don't do it the way we did it, but since we got rich doing it . . . we'll help you with these alternatives.'" If we don't help them, he continues, "we going to end up doubling, tripling, or worse CO2 [concentrations in Earth’s atmosphere]."

Scientists also contend that the process of climate change itself is a cause of further global warming. Once the climate begins to change, argues [Dr. Ronald Prinn](impacts), Professor of Atmospheric Science in MIT's Department of Earth, Atmospheric, and Planetary science, in a public talk recorded by WGBH in 2010, positive feedback loops begin "and that's bad news." He explains, "if we increase greenhouse gases leading to warming, the warming itself will induce natural emissions of greenhouse gases," which further warm the planet. He discussed the melting of Arctic sea ice as an example of a positive feedback loop. The ice reflects the sun's radiation back into space and reduces the heat added to the atmosphere. When ice melts due to greenhouse gases that have increased global temperature, then it leaves a dark colored surface behind, which absorbs the sun's radiation and leads to more warming.
Scientists also contend that the process of climate change itself is a cause of further global warming. Once the climate begins to change, argues [Dr. Ronald Prinn](/exhibits/climate-change/impacts), Professor of Atmospheric Science in MIT's Department of Earth, Atmospheric, and Planetary science, in a public talk recorded by WGBH in 2010, positive feedback loops begin "and that's bad news." He explains, "if we increase greenhouse gases leading to warming, the warming itself will induce natural emissions of greenhouse gases," which further warm the planet. He discussed the melting of Arctic sea ice as an example of a positive feedback loop. The ice reflects the sun's radiation back into space and reduces the heat added to the atmosphere. When ice melts due to greenhouse gases that have increased global temperature, then it leaves a dark colored surface behind, which absorbs the sun's radiation and leads to more warming.

The three items in this section of the exhibit are unique in their focus on drivers of climate change.

Expand All @@ -33,7 +33,7 @@ The second, another program from Maryland Public Television, is a [debate about
The third item in this section is a public lecture by [Anna Lappé](/catalog/cpb-aacip_15-930ns0m03c), focuses on what she found are often overlooked causes of climate change—our food and agricultural industries.


Next: [Impacts and Consequences of Climate Change](impacts)
Next: [Impacts and Consequences of Climate Change](/exhibits/climate-change/impacts)

## Main

Expand Down
2 changes: 1 addition & 1 deletion app/views/exhibits/climate-change/communicating-art.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
![Image of melting Arctic glaciers from After the Warming](https://s3.amazonaws.com/americanarchive.org/exhibits/ClimateChange_Section7_Art.jpg "Image of melting Arctic glaciers from After the Warming")
Some artists have taken to addressing the issue of climate change through their artwork, from basket-weaving to documentary filmmaking. According to mockumentary filmmaker [Randy Olsen](/catalog/cpb-aacip_15-cc0tq5rf2m), in a panel discussion recorded by WGBH in 2008, a challenge in artistic methods of communicating climate change is the difficulty in telling a compelling, engaging story that will resonate with audiences while effectively communicating the technical and scientific evidence of anthropogenic climate change. But it is a challenge accepted by artists like Olsen and [Nathalie Miebach](/catalog/cpb-aacip_15-1v5bc3t03w). On communicating climate change through sculpture and basket-weaving, Miebach, in a public lecture on WGBH Forum Network, stated that she is "trying to explore the kind of expectations that we bring with us when we try to address a question either through science or through art, and how this visualization influences the way we understand something."

Next: [Proposed Solutions](solutions)
Next: [Proposed Solutions](/exhibits/climate-change/solutions)

## Main

Expand Down
2 changes: 1 addition & 1 deletion app/views/exhibits/climate-change/history.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ The first Earth Day, celebrated on April 22, 1970, launched what is known as the

As [Gus Speth](/catalog/cpb-aacip_16-4j09w0978j) argued in an interview with WILL in 2004, environmental problems in the 1970s, including air and water pollution, were local, visible, and issues that personally impacted many American citizens. This has created a much more difficult challenge "in the effort to mobilize our country to give the kind of leadership on the global scale issues that we should be giving, like climate change," he stated.

Next: [Causes](causes)
Next: [Causes](/exhibits/climate-change/causes)

## Main

Expand Down
2 changes: 1 addition & 1 deletion app/views/exhibits/climate-change/impacts.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ Public broadcasting stations have recorded public lectures, interviews and call-

At a public event titled "After Copenhagen: Global Climate Change Conference," held in Boston in 2010, WGBH recorded a talk given by [Kim Knowlton](/catalog/cpb-aacip_15-w37kp7v462), PhD, a senior scientist with the Health and Environment Program at the Natural Resources Defense Council (NDRC). According to Knowlton, climate change has negative effects on allergies, respiratory health, heat stroke, and mental health, and increases the spread of many disease-causing pathogens. WGBH also recorded a public talk given by [Gwynne Dyer](/catalog/cpb-aacip_15-n00zp3w741), a journalist and historian in war studies, who discussed how some areas of the world will become uninhabitable, including low-lying coastal and hotter regions, a situation that will impact national security through increased stress on global immigration pathways. When WILL hosted a call-in show with climate scientist [Katharine Hayhoe](/catalog/cpb-aacip_16-1z41r6n955) in 2003, she reported some regions including the Great Lakes, climate changes like higher temperatures at higher latitudes and more variable precipitation will have negative impacts on crop yields. Likewise, a call-in discussion with writer and journalist [Charles Wohlforth](/catalog/cpb-aacip_16-bv79s1kz48) included a discussion about how receding glaciers in Alaska will affect runoff and water resources. Writer and photographer [Jonathan Waterman](/catalog/cpb-aacip_15-3t9d50fw80) spoke about his expedition to the Arctic National Wildlife Refuge in 2006, a voyage which revealed melting permafrost, change in tundra foliage, disappearing glaciers and dying forests. In 2004, [Paul Higgins](/catalog/cpb-aacip_16-6t0gt5fq8c), Visiting Research Fellow at the University of California, Berkeley answered listeners’ call-in questions on WILL and stated that "even the more moderate climate change scenarios . . . will also change the distribution of the goods and services that biological systems produce and that will certainly have implications for what regions and populations have resources, the resources that they need." He continued, "it's important to realize that human civilization has struggled at times with relatively small changes in climate, and we're talking about much larger changes expected as a result of human activities . . . certainly larger climate changes than any human society has ever had to endure."

Next: [Advocacy](advocacy)
Next: [Advocacy](/exhibits/climate-change/advocacy)

## Main

Expand Down
2 changes: 1 addition & 1 deletion app/views/exhibits/presidential-elections/candidates.md
Original file line number Diff line number Diff line change
Expand Up @@ -265,7 +265,7 @@ Racial diversity in the U.S. political sphere continues to be an issue. Last yea
- [Musician Carole King Endorses Democratic Candidate Gary Hart For President](/catalog/cpb-aacip_328-52j6qb23)
- [Julian Bond, Georgia State Senator, Campaigns for Democratic Candidate Walter Mondale](/catalog/cpb-aacip_15-94x54g63)

Next: [The Voters and the Issues](voters-issues)
Next: [The Voters and the Issues](/exhibits/presidential-elections/voters-issues)

## Main

Expand Down
2 changes: 1 addition & 1 deletion app/views/exhibits/presidential-elections/process.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ Over the past 60 years, public media stations have developed programming intende
- [Louisiana: The State We're In; Carter vs. Reagan Presidential Race](/catalog/cpb-aacip_17-23hx47rs)
- [Lecture on the Life and Rise of Barack Obama by New Yorker editor David Renmick](/catalog/cpb-aacip_15-jw86h4d154)

Next: [The Candidates](candidates)
Next: [The Candidates](/exhibits/presidential-elections/candidates)

## Main

Expand Down
2 changes: 1 addition & 1 deletion app/views/organizations/index.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
<h2 class="panel-title">
<%= state.name %>
<% if state.organizations %>
<a href="catalog?f[organization][]=<%= state.organizations.map { |org| org.facet}.join(AAPB::QUERY_OR) %>" class="btn btn-sm btn-link pull-right">
<a href="/catalog?f[organization][]=<%= state.organizations.map { |org| org.facet}.join(AAPB::QUERY_OR) %>" class="btn btn-sm btn-link pull-right">
All records from <%= state.name %>
</a>
<% end %>
Expand Down
10 changes: 5 additions & 5 deletions app/views/override/about-the-american-archive/projects.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,27 +10,27 @@ several exciting grant projects.

Funded by the Corporation for Public Broadcasting, this grant funded the development of the American Archive of Public Broadcasting through
a collaboration between WGBH and the Library of Congress.
[Read more about the Permanent Entity Grant](http://americanarchive.org/about-the-american-archive/projects/permanent-entity).
[Read more about the Permanent Entity Grant](/about-the-american-archive/projects/permanent-entity).

## National Educational Television (NET) Collection Catalog

The Council on Library and Information Resources (CLIR) awarded WGBH and the Library of Congress a Cataloging Hidden Special Collections
and Archives grant to lead the NET Collection Catalog Project. This project will involve the creation of a national catalog of records to provide robust descriptions
of programs distributed by NET (1952-1972). [Read more about the NET Collection Catalog](http://americanarchive.org/about-the-american-archive/projects/net-catalog).
of programs distributed by NET (1952-1972). [Read more about the NET Collection Catalog](/about-the-american-archive/projects/net-catalog).

## AAPB National Digital Stewardship Residency

In April of 2015, WGBH was awarded a Laura Bush 21st Century
grant by the Institute of Museum and Library Services (IMLS) to develop a National Digital Stewardship Residency program
focused specifically on the area of digital audiovisual preservation in the realm of public media. [Read more about the AAPB NDSR](http://americanarchive.org/about-the-american-archive/projects/ndsr).
focused specifically on the area of digital audiovisual preservation in the realm of public media. [Read more about the AAPB NDSR](/about-the-american-archive/projects/ndsr).

## Improving Access to Time-Based Media through Crowdsourcing and Machine Learning

Funded by the IMLS, WGBH and Pop Up Archive are combining technological and social approaches for metadata creation
by using computational tools and engaging the public through crowdsourcing games. [Read more about Crowdsourcing and Machine Learning](http://americanarchive.org/about-the-american-archive/projects/transcript-project).
by using computational tools and engaging the public through crowdsourcing games. [Read more about Crowdsourcing and Machine Learning](/about-the-american-archive/projects/transcript-project).

## PBS NewsHour Digitization

WGBH, the Library of Congress, WETA, and NewsHour Productions, LLC are collaborating to digitize, preserve, and allow public access via the AAPB to 32 years of *PBS NewsHour*’s predecessor programs,
including *The Robert MacNeil Report*, *The MacNeil/Lehrer Report*, *The MacNeil/Lehrer NewsHour*, and *The NewsHour with Jim Lehrer*. The project is generously funded by CLIR.
[Read more about the PBS NewsHour Digitization](http://americanarchive.org/about-the-american-archive/projects/newshour).
[Read more about the PBS NewsHour Digitization](/about-the-american-archive/projects/newshour).
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,6 @@ The centralized catalog will enable institutions holding NET materials to catalo

While we're still working on the gathering the information for the catalog, we are eager to share the title lists we've been able to compile so far. If you have any more information about these titles, please contact Sadie Roosa at [email protected].

[Individual Program Titles](net-catalog/programs)
[Individual Program Titles](/about-the-american-archive/projects/net-catalog/programs)

[Series Titles](net-catalog/series)
[Series Titles](/about-the-american-archive/projects/net-catalog/series)
Loading

0 comments on commit 7d099e4

Please sign in to comment.