Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to Load Blog Articles Across Sites #876

Open
wesleyboar opened this issue Sep 17, 2024 · 1 comment
Open

How to Load Blog Articles Across Sites #876

wesleyboar opened this issue Sep 17, 2024 · 1 comment
Labels
proposal Proposal or request for new task

Comments

@wesleyboar
Copy link
Member

wesleyboar commented Sep 17, 2024

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:

@wesleyboar wesleyboar added the proposal Proposal or request for new task label Sep 17, 2024
@wesleyboar
Copy link
Member Author

Goal

Load only a the LCCF news listing from TACC.

So, now:

  • only change href of pagination links
  • refactor to be a plugin; user enters URL of news list
  • no settings required

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
proposal Proposal or request for new task
Projects
None yet
Development

No branches or pull requests

1 participant