Skip to content

How to Load Blog Articles Across Sites #876

@wesleyboar

Description

@wesleyboar

Goal

Show TACC news articles [list] on LCCF. [Include pagination.] — TUP-706.

Why

  • Show news, that is directly relevant to 2 sites, on both sites.
  • Don't duplicate news content (redundant data and effort).
  • Let news writers continue to only work in one site.
  • Service LCCF in a manner worthy of its funding. LCCF is big deal. Having most of its links just go to TACC is a disservice to it having its own heavily-funded portal.

Ideas

1. How to Load?

How to load remote content from one site on another.

1.A. Via URL w/ /blog/remote/

Load https://site-A.edu/news/latest-news/.../
at https://site-B.org/blog/remote/.../.

Examples

1.B. Via URL w/ ?from=…

Load https://site-A.edu/news/latest-news/.../
at https://site-B.org/?from=https://.../news/latest-news/.../.

Examples

2. How to Configure?

How to configure what site loads what site at what URL?

2.A. Dev Configures via Settings

Tell a developer any URL requirements and which news to load.
  • /special/path/ or ?special_key
  • which websites' news to load

2.B. Admin Configures via a Model

Add a "Cross-Site Content" data entry in the admin UI.
  • /special/path/ or ?special_key
  • which websites' news to load

You could add multiple entries. Why? Load from many sources e.g.

  • load from one or more news (from other site/s)
  • load from one or more other pages (from other site/s)

Ref.

History:

  1. TUP-706
  2. feat: CMD-97 isolate breadcrumbs from content #870
  3. feat: tup 706 be able to serve blog markup raw #871
  4. feat: tup 706 conditionally serve raw markup #872
  5. feat: tup-706 news on other sites #868

Related:

Metadata

Metadata

Assignees

No one assigned

    Labels

    proposalProposal or request for new task

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions