department-of-veterans-affairs / va.gov-cms

Editor-centered management for Veteran-centered content.
https://prod.cms.va.gov
GNU General Public License v2.0
97 stars 69 forks source link

Space force content audit #9085

Closed wesrowe closed 2 years ago

wesrowe commented 2 years ago

Description

Space Force needs to be added wherever Air Force is mentioned in specific content types below.

Search details

Related and previous issues that provide context on potential deliverables:

Acceptance Criteria

CMS Team

Please check the team(s) that will do this work.

wesrowe commented 2 years ago

@RLHecht Google search found R&S articles:

If I keep using google, the benefit hub/detail pages are a little inconvenient to check – each benefit has a different base url (e.g. /health-care, /disability, /education etc). But there are only 10 so could brute force it. Alternatively, could try eliminating "bad" subdirectories as I notice them (as in search example above).

wesrowe commented 2 years ago

@kevwalsh, could you add an example grep command here, to be used by a developer with the modernized va.gov site running locally?

[edit] Here are Kev's steps: Until we have an external search index of Drupal content for building better keyword-based content audits, i can’t think of a lighter dev burden than

  1. Rebuilding va.gov locally (or grabbing a tarball created during content release, maybe that can be done by a non-dev?)
  2. Running grep -i -r "air force" [directoryname] (i think)
  3. Copy/pasting the results
wesrowe commented 2 years ago

@rlhecht, FYI Tanner will be helping us with this in the next couple days.

tjheffner commented 2 years ago

I built va.gov locally using the content-build repo. Then I used grep to grab content that matched the different service branches.

from the root of my local content-build repo: grep -Rli "air force" build/localhost > airforce.txt grep -Rli "army" build/localhost > army.txt grep -Rli "navy" build/localhost > navy.txt grep -Rli "marines" build/localhost > marines.txt

This generated 4 separate text files that had links to all content matching a single service branch. Again using grep, I checked for matches between these new files.

Matches between Army & Air Force grep -Fxf airforce.txt army.txt > matches1.txt Matches between Army, Air Force, Marines grep -Fxf marines.txt matches1.txt > matches2.txt Matches between Army, Air Force, Marines, Navy grep -Fxf navy.txt matches2.txt > matches3.txt

That list is:

/generated/gi.entry.js.map
/generated/gi.entry.js
/generated/discharge-upgrade-instructions.entry.js.map
/generated/discharge-upgrade-instructions.entry.js
/houston-health-care/stories/index.html
/houston-health-care/stories/page-2/index.html
/houston-health-care/stories/page-3/index.html
/houston-health-care/work-with-us/volunteer-or-donate/index.html
/life-insurance/options-eligibility/sgli/index.html
/charleston-health-care/about-us/leadership/index.html
/charleston-health-care/staff-profiles/christopher-d-blasy/index.html
/charleston-health-care/stories/page-6/index.html
/charleston-health-care/stories/page-8/index.html
/charleston-health-care/stories/page-9/index.html
/charleston-health-care/stories/page-7/index.html
/charleston-health-care/stories/index.html
/charleston-health-care/stories/page-10/index.html
/charleston-health-care/stories/page-11/index.html
/charleston-health-care/stories/page-2/index.html
/charleston-health-care/stories/page-5/index.html
/charleston-health-care/stories/page-4/index.html
/charleston-health-care/stories/page-3/index.html
/charleston-health-care/stories/page-13/index.html
/charleston-health-care/stories/page-12/index.html
/resources/life-insurance/index.html
/resources/how-do-i-get-college-credits-for-my-military-service/index.html
/resources/education-and-training/index.html
/resources/search/articles.json
/resources/how-to-find-out-if-you-should-get-a-higher-tsgli-payment/index.html
/resources/tag/payments-and-debt/index.html
/resources/tag/all-veterans/4/index.html
/columbia-south-carolina-health-care/stories/index.html
/nebraska-western-iowa-health-care/stories/index.html
/pittsburgh-health-care/about-us/leadership/index.html
/pittsburgh-health-care/news-releases/va-celebrates-veterans-day-every-day-in-november-0/index.html
/salisbury-health-care/about-us/leadership/index.html
/gulf-coast-health-care/stories/index.html
/gulf-coast-health-care/stories/page-2/index.html
/gulf-coast-health-care/stories/page-3/index.html
/salt-lake-city-health-care/stories/index.html
/salt-lake-city-health-care/stories/page-2/index.html
/salt-lake-city-health-care/stories/page-5/index.html
/salt-lake-city-health-care/stories/page-4/index.html
/salt-lake-city-health-care/stories/page-3/index.html
/sierra-nevada-health-care/stories/index.html
/sierra-nevada-health-care/stories/page-2/index.html
/pacific-islands-health-care/about-us/leadership/index.html
/pacific-islands-health-care/stories/index.html
/pacific-islands-health-care/stories/page-2/index.html
/pacific-islands-health-care/stories/page-5/index.html
/pacific-islands-health-care/stories/page-4/index.html
/pacific-islands-health-care/stories/page-3/index.html
/files/2021-05/Eagle_Spring2020.pdf
/butler-health-care/stories/index.html
/butler-health-care/stories/page-2/index.html
/butler-health-care/stories/page-3/index.html

The links that include /stories/ are flagged because there may be individual stories about multiple service branches in the index page. js.map files are helper files for development. Removing these from the list gives us:

/generated/gi.entry.js
/generated/discharge-upgrade-instructions.entry.js
/houston-health-care/work-with-us/volunteer-or-donate/index.html
/life-insurance/options-eligibility/sgli/index.html
/charleston-health-care/about-us/leadership/index.html
/charleston-health-care/staff-profiles/christopher-d-blasy/index.html
/resources/life-insurance/index.html
/resources/how-do-i-get-college-credits-for-my-military-service/index.html
/resources/education-and-training/index.html
/resources/search/articles.json
/resources/how-to-find-out-if-you-should-get-a-higher-tsgli-payment/index.html
/resources/tag/payments-and-debt/index.html
/resources/tag/all-veterans/4/index.html
/pittsburgh-health-care/about-us/leadership/index.html
/pittsburgh-health-care/news-releases/va-celebrates-veterans-day-every-day-in-november-0/index.html
/salisbury-health-care/about-us/leadership/index.html
/pacific-islands-health-care/about-us/leadership/index.html
/files/2021-05/Eagle_Spring2020.pdf
tjheffner commented 2 years ago

I do see now that this ticket specifically request for Air Force mentions... there are 712 results in airforce.txt. After trimming out index pages/stories/etc to benefit detail page, benefit hub landing page, or resources and support it seems these may be the relevant results:


/life-insurance/options-eligibility/sgli/index.html

/playbook/downloads/Voices_Of_Veterans.pdf
/playbook/downloads/VBA_Graphic_Styleguide.pdf
/records/get-military-service-records/reconstruct-records/index.html
/records/discharge-documents/index.html

/resources/combat-related-special-compensation-crsc/index.html
/resources/life-insurance/index.html
/resources/how-do-i-get-college-credits-for-my-military-service/index.html
/resources/education-and-training/index.html
/resources/search/articles.json
/resources/disability/index.html
/resources/how-to-find-out-if-you-should-get-a-higher-tsgli-payment/index.html
/resources/tag/payments-and-debt/index.html
/resources/tag/all-veterans/4/index.html
/resources/tag/all-veterans/2/index.html

/education/about-gi-bill-benefits/index.html
/education/about-gi-bill-benefits/montgomery-selected-reserve/index.html
/education/other-va-education-benefits/index.html
/education/other-va-education-benefits/veap/index.html
/education/eligibility/index.html
/education/transfer-post-9-11-gi-bill-benefits/index.html
/housing-assistance/home-loans/eligibility/index.html
/housing-assistance/home-loans/home-buying-process/index.html

/pension/how-to-apply/index.html

/initiatives/have-questions-before-you-get-your-covid-19-vaccine/index.html

/burials-memorials/eligibility/index.html

/disability/survivor-dic-rates/index.html
/disability/survivor-dic-rates/past-rates-2020/index.html
/disability/survivor-dic-rates/past-rates-2018/index.html
/disability/survivor-dic-rates/past-rates-2019/index.html
/disability/survivor-dic-rates/past-rates-2021/index.html
/disability/eligibility/hazardous-materials-exposure/agent-orange/index.html
/disability/how-to-file-claim/evidence-needed/index.html
/disability/how-to-file-claim/evidence-needed/fully-developed-claims/index.html

/files/2021-09/Vet Quarterly 2.3 Fall 2021 September FINAL.pdf
/files/2021-09/Jean_Artown.pdf
/files/2021-09/2019_Zablocki_Annual_Report_508.pdf
/files/2021-09/Isabel_Artown.pdf
/files/2021-07/VISN1_Newsletter_Summer_2020.pdf
/files/2021-07/VISN1_Newsletter_Spring_2020.pdf
/files/2021-07/VISN1_Newsletter_Fall_2020.pdf
/files/2021-12/WHS-NoHeores_Poster_Print-8-5x11.pdf
/files/2022-05/EHRM_Veteran_Rack_Card.pdf
/files/2021-05/Eagle_Spring2020.pdf
/files/2021-10/Veterans Day Flyer.pdf

/careers-employment/family-resources/index.html
/careers-employment/veteran-owned-business-support/index.html
/outreach-and-events/outreach-materials/index.html
/outreach-and-events/events/43902/index.html
/outreach-and-events/events/national-veterans-memorial-and-museum-virtual-ceremony/index.html

/veterans-portrait-project/index.html
wesrowe commented 2 years ago

@rlhecht - Can you please leave a comment regarding whether this work has met your needs? And then we can close the issue.

RLHecht commented 2 years ago

Yes, thank you, @wesrowe. This can be closed. We are doing the work with this in our own content ticket. Thanks again.