Skip to content

Commit

Permalink
Fixed topics, communities endpoints
Browse files Browse the repository at this point in the history
  • Loading branch information
nick-mon1 committed Dec 30, 2024
1 parent 952f288 commit c44d46a
Show file tree
Hide file tree
Showing 29 changed files with 19,942 additions and 25,113 deletions.
4 changes: 2 additions & 2 deletions content/authors/jon-raedeke/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
slug: jon-raedeke
display_name: "Jon Raedeke "
first_name: "Jon"
last_name: "Raedeke "
last_name: "Raedeke"

# List your pronoun(s) if you want them displayed alongside your name. If blank, we'll use just your name. Learn more http://mypronouns.org
pronoun: ""
Expand Down Expand Up @@ -44,6 +44,6 @@ linkedin: ""
youtube: ""

aliases:
- john-raedeke
- /authors/john-raedeke
# Make it better ♥
---
2 changes: 1 addition & 1 deletion content/authors/michael-horton/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ youtube: ""

# Redirects: enter the path of the URL that you want redirected to this page
aliases:
- mike-horton
- /authors/mike-horton

# Make it better ♥

Expand Down
10 changes: 5 additions & 5 deletions content/communities/artificial-intelligence.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,11 +32,11 @@ community_list:
subscribe_email: "[email protected]"
terms: "Only federal employees are eligible to join."
members: 1118
- platform: listserv
type: public
subscribe_email: "[email protected]"
terms: "Anyone is eligible to join."
members: 357
# - platform: listserv
# type: public
# subscribe_email: "[email protected]"
# terms: "Anyone is eligible to join."
# members: 357

---

Expand Down
10 changes: 5 additions & 5 deletions content/communities/blockchain.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,11 +26,11 @@ community_list:
terms: "Only federal employees are eligible to join."
members: 695

- platform: "listserv"
type: public
subscribe_email: "[email protected]"
terms: "Anyone is eligible to join."
members: 688
# - platform: "listserv"
# type: public
# subscribe_email: "[email protected]"
# terms: "Anyone is eligible to join."
# members: 688

---

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,12 +20,12 @@ community_list:
subscribe_email_subject: "Federal Join: Results-Oriented Accountability for Grants Community of Practice"
members: 539
emails_per_week: .3
- platform: "listserv"
type: public
subscribe_email: [email protected]
subscribe_email_subject: "Non-Federal Join: Results-Oriented Accountability for Grants Community of Practice"
members:
emails_per_week:
# - platform: "listserv"
# type: public
# subscribe_email: [email protected]
# subscribe_email_subject: "Non-Federal Join: Results-Oriented Accountability for Grants Community of Practice"
# members:
# emails_per_week:

---

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@ topics:
- usability
- user-experience
- open-government
- policies and regulations

slug: uswds-monthly-call-december-2024

Expand Down
4 changes: 2 additions & 2 deletions content/news/2020/06/2020-06-23-diga-o-marque-2-usagov-en.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ slug: diga-o-marque-2-usagov-en


date: 2020-06-23 9:00:00 -0500
title: "'Diga o marque 2': USAGov en Español’s New Approach to Interactive Voice Response"
deck: "'Diga o marque': USAGov en Español’s New Approach to Interactive Voice Response**—USAGov receives and responds to questions directly from the public in many ways: through social media, on page surveys on USA.gov and USAGov en Español, and through chats and calls. One powerful tool in the USAGov toolbelt is our interactive voice response (IVR) system in both English and Spanish through the USAGov Contact Center."
title: "New Approach to Interactive Voice Response"
deck: "One powerful tool in the USAGov toolbelt is our interactive voice response (IVR) system in both English and Spanish through the USAGov Contact Center."
summary: ""

# see all topics at https://digital.gov/topics
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,13 +19,10 @@ aliases:
weight: 1

topics:
- web-content-managers-forum
- design
- content
- social-media
- content-strategy
- strategy
- customer-service
- multilingual
- communication

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,13 +19,10 @@ aliases:
weight: 1

topics:
- web-content-managers-forum
- design
- content
- social-media
- content-strategy
- strategy
- customer-service
- multilingual
- communication

Expand Down
1 change: 0 additions & 1 deletion content/topics/content-strategy/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ summary: "Content strategy involves planning, creating, delivering, and governin

aliases:
- /topics/blog/
- /topics/content/
- /topics/content-management-system/
- /topics/content-models/
- /topics/content-syndication/
Expand Down
40 changes: 27 additions & 13 deletions endpoint-scripts/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,18 +28,18 @@



| content | json serializer | endpoint | notes |
| ------------ | -------------------------------------- | ------------------------------------------ | ----- |
| authors | layouts/shortcodes/api-authors.html | http://localhost:1313/authors/v1/json/ | |
| news | layouts/news/list.json.json | http://localhost:1313/news/index.json | |
| short post | layouts/shortcodes/api-shortposts.html | http://localhost:1313/short-posts/v1/json/ | |
| events | layouts/events/list.json.json | http://localhost:1313/events/index.json | |
| communities | communities/list.json.json | | |
| guides | default/list.json.json | | |
| resources | layouts/resources/list.json.json | http://localhost:1313/resources/index.json | |
| topics | topics/v1/json | | |
| sources | sources/list.json.json | | |
| ~~services~~ | ~~default/list.json.json~~ | ~~yes~~ | |
| content | json serializer | endpoint | notes |
| ------------ | -------------------------------------- | --------------------------------------------- | ----- |
| authors | layouts/shortcodes/api-authors.html | http://localhost:1313/authors/v1/json/ | valid |
| news | layouts/news/list.json.json | http://localhost:1313/news/index.json | valid |
| short post | layouts/shortcodes/api-shortposts.html | http://localhost:1313/short-posts/v1/json/ | valid |
| events | layouts/events/list.json.json | http://localhost:1313/events/index.json | valid |
| communities | communities/list.json.json | http://localhost:1313/communities/index.json | valid |
| guides | default/list.json.json | | wait |
| resources | layouts/resources/list.json.json | http://localhost:1313/resources/index.json | valid |
| topics | topics/v1/json | | |
| sources | sources/list.json.json | | |
| ~~services~~ | ~~default/list.json.json~~ | ~~yes~~ | |


## create shortposts
Expand Down Expand Up @@ -76,10 +76,17 @@ content/authors/abigail-abby-bowman/_index.md

## Communities

Write a loop to get all nested guides for HCD, etc
What data from community lists do we need, check with drupal form.

Match field names to drupal fields.

### Issues

Multiple community lists:

- content/communities/artificial-intelligence.md
- content/communities/blockchain.md
- content/communities/results-oriented-accountability-for-grants.md

## Events
http://localhost:1313/events/index.json
Expand Down Expand Up @@ -125,3 +132,10 @@ Some short posts have source_url with no value and were removed.
- content/resources/deceptive-design-how-to-identify-and-combat-consequence-design.md


## Topics
http://localhost:1313/topics/v1/json/


### Issues

"content" is a ghost topic being generated.
Loading

0 comments on commit c44d46a

Please sign in to comment.