Content Type Blog Series - NCIOCPL/cgov-digital-platform GitHub Wiki

Things to Discuss

  • What is the Blog Series Shortname for? It is currently not a required field.
  • Can we set a default for Number of Posts to Display? If so, let's set that to either 10 or 15.

Naming

  • Display Name: Blog Series
  • Machine Name: cgov_blog_series

Description

Landing page for a specific blog that displays a dynamic listing (in reverse chronological order) of recent posts. The right rail includes an Archive; Featured Posts and Categories can be added to the right rail, should the blog have them.

Fields

Common Fields

Unique Fields for This Content Type

Allow Comments

If Allow Comments is selected, display comment policy text (appears directly below public use text on each blog post)

  • Field Name: field_allow_comments
  • Label: Allow Comments
  • Type: Dropdown (default to Do Not Allow Comments)
  • Required:
  • Tooltip Text: n/a
  • Cardinality: 1
  • Translatable:

Blog Series Shortname

  • Field Name: field_blog_series_shortname
  • Label: Blog Series Shortname
  • Type: Text (plain)
  • Required:
  • Max Characters:
  • Tooltip Text:
  • Cardinality: 1
  • Translatable: Yes

Number of Posts to Display

  • Field Name: field_num_display_posts
  • Label: Number of Posts to Display
  • Type:
  • Required:
  • Max Characters:
  • Tooltip Text:
  • Cardinality: 1
  • Translatable:

About Blog

  • Field Name: field_about_blog
  • Label: About Blog
  • Type: Streamlined WYSIWYG
  • Required:
  • Max Characters:
  • Tooltip Text: Text that appears below the blog title and above the first blog post. Should be no more than 1-2 sentences.
  • Cardinality: 1
  • Translatable: Yes

Feedburner URL

  • Field Name: field_feedburner_url
  • Label: Feedburner URL
  • Type: Link
  • Required:
  • Tooltip Text: Link to allow users to sign up for blog updates. Appears as 'Subscribe' link below blog series title.
  • Cardinality: 1
  • Translatable:

Featured Posts

Featured Posts appear as a list in the top right rail of the blog series and all posts associated with the series. Allows up to 3 posts associated with the series. See wireframe.

  • Field Name: field_featured_posts
  • Label: Featured Posts
  • Type: Entity Reference
  • Required: No
  • Cardinality: Infinite
  • Translatable: Yes

Categories

Currently, only the Cancer Currents blog has categories. When DCEG migrates onto C.gov as a microsite, their blog will likely also need categories.

  • Field Name: field_blog_categories
  • Label: Blog Categories
  • Required: No

Archive

Most blogs on Cancer.gov have an Archive by year only, as they do not post multiple times per month (see RAS blog as an example). Cancer Currents blog, which posts often, has an Archive that shows year and then links the number of posts by month.

  • Number of Years to Archive

    • Field Name: field_archive_years
    • Label: Years to Archive
    • Type: text or dropdown?
    • Required: Yes
    • Tooltip Text: Indicate the number of years the blog should go back to in its archive.
  • Group Archive By

    • Field Name: field_group_archive
    • Label: Group Archive By
    • Type: Dropdown
      • Years
      • Month
    • Required: Yes
    • Tooltip Text: Select if the blog archive should be listed by month or only by year.

Recommended Content Header (aka clickbait header)

This is the text that appears on blog posts in the blog series, above Recommended Content (see the bottom of this Cancer Currents blog post as an example — the Feature Cards Header is "Recommended from NCI")

  • Field Name: field_recommended_content_header
  • Label: Recommended Content Header
  • Type:
  • Required:
  • Max Characters:
  • Tooltip Text: Header that displays above Recommended Content added to the bottom of blog posts in this blog series
  • Cardinality:
  • Translatable:

Banner Image (aka Body Header slot)

  • Field Name: field_banner_image
  • Label: Banner Image
  • Type:
  • Required:
  • Max Characters:
  • Tooltip Text:
  • Cardinality:
  • Translatable:

Meta Data

Common Metadata

TBD

Local Metadata

TBD

Form Display Order

How the fields should display on the form

  • Language Dropdown
  • Site Section
  • Page Title
  • Browser Title
  • Short Title
  • Card Title
  • Meta Description
  • List Description
  • Feature Card Description
  • Blog Series Shortname
  • Number of Posts to Display
  • Allow Comments (dropdown)
  • About Blog (streamlined wysiwyg)
  • Pretty URL
    • On the blog series, tooltip text should be: Used as the last segment of the URL, not including slash. Leave blank if blog series is the designated landing page in the site section.
  • Feedburner URL
  • Featured Posts
  • Recommended Content Header
  • Banner Image
  • Promotional Image
  • Public Use Text
  • Search Engine Restrictions

Example URLs:

Page Display

https://hzgfzw.axshare.com/#g=1&p=blog_series_desktop https://hzgfzw.axshare.com/#g=1&p=blog_series_tablet___mobile

⚠️ **GitHub.com Fallback** ⚠️