# I want to display third pary rss or api on my home page in a custom theme

**URL:** <https://forum.ghost.org/t/i-want-to-display-third-pary-rss-or-api-on-my-home-page-in-a-custom-theme/45950>\
**Category:** Integrations & API\
**Created:** [March 22, 2024, 7:32pm UTC](https://forum.ghost.org/t/i-want-to-display-third-pary-rss-or-api-on-my-home-page-in-a-custom-theme/45950 "2024-03-22T19:32:05Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Brendan\_Hogan](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.ghost.org/brendan_hogan/32/29534_2.png) [@Brendan\_Hogan](https://forum.ghost.org/u/Brendan_Hogan)\
**Post date:** [March 22, 2024, 7:32pm UTC](https://forum.ghost.org/t/i-want-to-display-third-pary-rss-or-api-on-my-home-page-in-a-custom-theme/45950/1 "2024-03-22T19:32:05Z")

</div>

I want to create a custom theme where i can also have three displayed embeds on my home page above the rss of my recent posts. These three third party embeds I would like to somehow update through an api or rss(not sure what is more appropriate on ghost). I tried finding info on the forums and documentation but I was having trouble. Please advise. Thank you

---

<div class="post-metadata">

**Author:** ![Cathy\_Sarisky](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.ghost.org/cathy_sarisky/32/25750_2.png) [@Cathy\_Sarisky](https://forum.ghost.org/u/Cathy_Sarisky)\
**Post date:** [March 22, 2024, 9:52pm UTC](https://forum.ghost.org/t/i-want-to-display-third-pary-rss-or-api-on-my-home-page-in-a-custom-theme/45950/2 "2024-03-22T21:52:42Z")

</div>

You can do this in Ghost. If it’s a post or page, just use an HTML card to put in whatever needed JavaScript. If it’s for the theme, add the javascript to the theme.

---

<div class="post-metadata">

**Author:** ![hafidzaini](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.ghost.org/hafidzaini/32/20043_2.png) [@hafidzaini](https://forum.ghost.org/u/hafidzaini)\
**Post date:** [April 2, 2024, 6:34pm UTC](https://forum.ghost.org/t/i-want-to-display-third-pary-rss-or-api-on-my-home-page-in-a-custom-theme/45950/3 "2024-04-02T18:34:27Z")

</div>

you can do that with simple javascript fetch

> **[Using the Fetch API - Web APIs | MDN](https://developer.mozilla.org/en-US/docs/Web/API/Fetch_API/Using_Fetch)**
>
> The Fetch API provides a JavaScript interface for accessing and manipulating parts of the protocol, such as requests and responses. It also provides a global fetch() method that provides an easy, logical way to fetch resources asynchronously across...

and modify the DOM

> **[Introduction to the DOM - Web APIs | MDN](https://developer.mozilla.org/en-US/docs/Web/API/Document_Object_Model/Introduction)**
>
> The Document Object Model (DOM) is the data representation of the objects
> that comprise the structure and content of a document on the web.
> This guide will introduce the DOM,
> look at how the DOM represents an HTML document in memory
> and how...

all you need is fetch and modify the DOM.

1. if you want to do the hard way, edit the theme and put the script there
2. if you want simple way, inject the script on header or footer
3. if you want simple way and care about SEO, put the script on Cloudflare worker or similar
