{"id":18866388,"url":"https://github.com/localgovdrupal/localgov_news","last_synced_at":"2025-07-13T20:07:39.880Z","repository":{"id":39373741,"uuid":"322662408","full_name":"localgovdrupal/localgov_news","owner":"localgovdrupal","description":"Provides news articles and news listing pages for LocalGov Drupal","archived":false,"fork":false,"pushed_at":"2025-06-16T16:18:45.000Z","size":255,"stargazers_count":0,"open_issues_count":25,"forks_count":2,"subscribers_count":7,"default_branch":"2.x","last_synced_at":"2025-06-16T17:42:00.464Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/localgovdrupal.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2020-12-18T17:31:41.000Z","updated_at":"2025-04-29T11:14:56.000Z","dependencies_parsed_at":"2024-02-20T16:48:44.892Z","dependency_job_id":"0db5a516-6598-461e-9567-50432751ddee","html_url":"https://github.com/localgovdrupal/localgov_news","commit_stats":{"total_commits":143,"total_committers":7,"mean_commits":"20.428571428571427","dds":0.3426573426573427,"last_synced_commit":"14e222ef10ebcec21f792b3026c27b8414c91b23"},"previous_names":[],"tags_count":25,"template":false,"template_full_name":null,"purl":"pkg:github/localgovdrupal/localgov_news","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/localgovdrupal%2Flocalgov_news","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/localgovdrupal%2Flocalgov_news/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/localgovdrupal%2Flocalgov_news/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/localgovdrupal%2Flocalgov_news/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/localgovdrupal","download_url":"https://codeload.github.com/localgovdrupal/localgov_news/tar.gz/refs/heads/2.x","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/localgovdrupal%2Flocalgov_news/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":265198361,"owners_count":23726449,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-08T05:06:25.088Z","updated_at":"2025-07-13T20:07:39.838Z","avatar_url":"https://github.com/localgovdrupal.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"\n\u003ca hre=\"https://packagist/localgovdrupal/localgov_news/\"\u003e\u003cimg alt=\"Packagist Version\" src=\"https://img.shields.io/packagist/v/localgovdrupal/localgov_news\"\u003e\u003c/a\u003e\n\u003ca href=\"https://github.com/localgovdrupal/localgov_news/actions\"\u003e\n  \u003cimg alt=\"GitHub Actions Workflow Status\" src=\"https://img.shields.io/github/actions/workflow/status/localgovdrupal/localgov_news/test.yml\"\u003e\u003c/a\u003e\n\u003ca href=\"https://github.com/localgovdrupal/localgov_news/graphs/contributors\" alt=\"Contributors\"\u003e\n  \u003cimg src=\"https://img.shields.io/github/contributors/localgovdrupal/localgov_news\" /\u003e\u003c/a\u003e\n\n# LocalGov Drupal News\n\nProvides the pages and navigation for presenting news articles. A part of the LocalGovDrupal distribution.\n\n## What is in it?\n- Content types:\n  - News article - a single news article, optionally categorised;\n  - Newsroom - a landing page to list and feature news articles.\n- Blocks:\n  - News search form;\n  - Facets - by default date and category.\n\n## Install process\n- Standard Drupal module installation process applies.\n\n- By default the search and facet blocks for news are shown in the view mode for the newsroom, and as blocks on all pages under the `news/*` path if you have the localgov_base theme installed. Alternatively, add, or change the configuration for, these three blocks from the Drupal block layout admin page.\n\n## Usage\n- Create a Newsroom\n  - Create one, or more, newsrooms for articles to go into.\n  - A newsroom has a field in which it is possible to select 3 featured articles.\n  - The Featured News block shows up to 3 featured articles - if there are fewer than 3 explicitly featured articles the remainder will be filled by the latest promoted articles (if any).\n  - The Article List block will show 10 articles per page, excluding those in the featured block.\n  - The limits (3 and 10) can be changed in the localgov_news_list view on the all_news and featured_news displays.\n- Add news articles. By default:\n  - The Categories field uses the LocalGov Topics vocabulary. Edit the field to use alternative or additional vocabularies.\n  - Image is a required field - authors can upload a new image or select an image from the media library.\n  - Article nodes are not promoted - see the Featured News section below.\n  - Article aliases are: [node:localgov_newsroom:entity:url:relative]/[node:localgov_news_date:date:html_year]/[node:title] thus prefacing the path with that of their newsroom, followed by year and sanitised title.\n\n## Structured data\n- The Schema.org Metatag module is used to generate structured data for individual news articles. This is rendered as JSON LD in the `\u003chead\u003e` element.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flocalgovdrupal%2Flocalgov_news","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flocalgovdrupal%2Flocalgov_news","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flocalgovdrupal%2Flocalgov_news/lists"}