# Uploading XML Data to Display in Bubble App

**URL:** <https://forum.bubble.io/t/uploading-xml-data-to-display-in-bubble-app/186495>\
**Category:** Need help\
**Created:** [January 14, 2022, 6:34pm UTC](https://forum.bubble.io/t/uploading-xml-data-to-display-in-bubble-app/186495 "2022-01-14T18:34:43Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![tyler7](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/tyler7/32/155829_2.png) [@tyler7](https://forum.bubble.io/u/tyler7)\
**Post date:** [January 14, 2022, 6:34pm UTC](https://forum.bubble.io/t/uploading-xml-data-to-display-in-bubble-app/186495/1 "2022-01-14T18:34:43Z")

</div>

Hello,

I am looking to upload data from a non-Bubble website to a Bubble website via an XML feed. Has anyone found a guide, able to offer some clear steps, or done this previously? It would be greatly appreciated.

Thank you,  
Tyler

---

<div class="post-metadata">

**Author:** ![gerbertdelangen](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/gerbertdelangen/32/144602_2.png) [@gerbertdelangen](https://forum.bubble.io/u/gerbertdelangen)\
**Post date:** [January 15, 2022, 12:58pm UTC](https://forum.bubble.io/t/uploading-xml-data-to-display-in-bubble-app/186495/2 "2022-01-15T12:58:33Z")

</div>

Hey Tyler,

**Update:** Check the post below, using the Bubble API connector plugin it is fairly easy to get data from an RSS-feed.

If it is a one time thing, you can use Excel to import the XML file , clean up the data and save it to CSV. After that you can import the CSV into Bubble.

If it is something you want do to on a regular basis, with [N8N.io](http://N8N.io) / [N8N.cloud](https://N8N.cloud) you can use a RSS feed import or request to get the data (or alternative option based on the specs of the feed), use the XML to JSON node to convert it, clean it up and then send it to a Bubble (Data or Workflow) API.

It seems [Google Sheets](https://support.google.com/richmedia/answer/6068516?hl=en) might be an alternative.

Let me know if you need some help.

---

<div class="post-metadata">

**Author:** ![gerbertdelangen](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/gerbertdelangen/32/144602_2.png) [@gerbertdelangen](https://forum.bubble.io/u/gerbertdelangen)\
**Post date:** [January 16, 2022, 1:29pm UTC](https://forum.bubble.io/t/uploading-xml-data-to-display-in-bubble-app/186495/3 "2022-01-16T13:29:11Z")

</div>

Hey Tyler,

It seems using the Bubble API connector plugin is a good option. I played around with it and it works well.

As an example I used the RSS feed of a Dutch news website Nu.nl, RSS-feed = [NU - Algemeen](https://www.nu.nl/feeds/rss/algemeen.rss).

This is what I did to get the items from the feed and save them:

1. Create a data type “News Item” with the following fields:

![image](https://us1.discourse-cdn.com/bubble/original/3X/8/a/8a21e42434db99e9a59b6d254b565c5992badacf.png)

1. Create a get request / API using the Bubble API connector:

 ![image](https://us1.discourse-cdn.com/bubble/original/3X/f/b/fbd6ed6cd4a9b20a0d1b58bd6d7810db3d81eb23.png)

Note: set the “Use as” to Action and “Data type” to XML.

1. Initialize the call and select which data you want to use and click Save:

 ![image](https://us1.discourse-cdn.com/bubble/original/3X/9/6/9622d84e11491d0076565c3e2ac5f00882a796ea.png)

 ![image](https://us1.discourse-cdn.com/bubble/original/3X/9/d/9d9e2710a97ac43a4ac3594552905fa8163d8481.png)

1. Create a simple page with a button to trigger the workflow (for test now, later you can create and schedule a backend workflow to do a daily or hourly run).

 ![image](https://us1.discourse-cdn.com/bubble/original/3X/a/d/adb01ff5328a72d3d3cb62772ee80d3fb6116d05.png)

1. Create a workflow (triggered by the button) which utilizes the API (created at step 2):

 ![image](https://us1.discourse-cdn.com/bubble/original/3X/5/c/5c64b1fcb2e578ce12ab8ab98b10a264ce275bee.png)

1. Create a new backend workflow to create news items (activate backend workflow through Settings - tab API):

 ![image](https://us1.discourse-cdn.com/bubble/original/3X/f/1/f1b5c8d8148bdb588daac87e484e4d62f43ad367.png)

 ![image](https://us1.discourse-cdn.com/bubble/original/3X/8/3/8379f75ef9855162c5e954ac3ac491025e912670.png)

 ![image](https://us1.discourse-cdn.com/bubble/original/3X/2/4/2480036a60ef5b697c1e422fdc211f814da1c858.png)

1. Now go back to the workflow created at step 5 and add the following action:

 ![image](https://us1.discourse-cdn.com/bubble/original/3X/5/7/5794cb41dada7dadb76b390a8a9362822fa844e0.png)

 ![image](https://us1.discourse-cdn.com/bubble/original/3X/7/f/7f058b94e9a74d809e3c64b236c47d870eafc8ff.png)

1. **Finished!!**

Click the button and new articles should appear in the data type News Item:

 ![image](https://us1.discourse-cdn.com/bubble/original/3X/c/a/caf1b642370a4391fc436f2d821471522d6b9de0.png)

Note: In order to prevent retrieving or saving the same data twice, you might want to have look at the specs of the RSS feed if it is possible to filter (or use conditions in Bubble to f.i. check wether a guid already exists and if so, do not save the new news item).

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/bubble/original/3X/2/8/2847faa74692c2ffa5d939d3dc3724cdd060d247.png) [@system](https://forum.bubble.io/u/system)\
**Post date:** [March 25, 2022, 6:35pm UTC](https://forum.bubble.io/t/uploading-xml-data-to-display-in-bubble-app/186495/4 "2022-03-25T18:35:09Z")

</div>

Closed on March 25, 2022, 6:35pm UTC

This topic was automatically closed after 70 days. New replies are no longer allowed.
