# Blog post from squarespace to thunkable

**URL:** <https://community.thunkable.com/t/blog-post-from-squarespace-to-thunkable/325941>\
**Category:** Questions about Thunkable X\
**Tags:** webapi\
**Created:** [November 18, 2019, 1:41pm UTC](https://community.thunkable.com/t/blog-post-from-squarespace-to-thunkable/325941 "2019-11-18T13:41:53Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![danyklein](https://avatars.discourse-cdn.com/v4/letter/d/c37758/32.png) [@danyklein](https://community.thunkable.com/u/danyklein)\
**Post date:** [November 18, 2019, 1:41pm UTC](https://community.thunkable.com/t/blog-post-from-squarespace-to-thunkable/325941/1 "2019-11-18T13:41:53Z")

</div>

Hello,

I want to have my blog post in my thunkable app, I watched the videos of web api but don’t get it done.

Can anyone explain me or help please, how to get all posts and on click show all the other informations, I know how that works but what I don’t know is how to fetch the data.

[https://developers.squarespace.com/view-json-data](https://developers.squarespace.com/view-json-data)

This will be the page where the blog is on son view

[https://cod-whale-gcy6.squarespace.com/pressroom/?format=json-pretty](https://cod-whale-gcy6.squarespace.com/pressroom/?format=json-pretty)

---

<div class="post-metadata">

**Author:** ![domhnallohanlon](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/domhnallohanlon/32/29554_2.png) [@domhnallohanlon](https://community.thunkable.com/u/domhnallohanlon)\
**Post date:** [November 18, 2019, 1:45pm UTC](https://community.thunkable.com/t/blog-post-from-squarespace-to-thunkable/325941/2 "2019-11-18T13:45:24Z")

</div>

All of the blog post data seems to be in HTML format with a lot of extra/unnecessary characters - is there any endpoint your can use to get it in plain text?

 ![14](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/5/4/546bfaefb67647f3124ab6203547ed50b0d6582c.png)

---

<div class="post-metadata">

**Author:** ![danyklein](https://avatars.discourse-cdn.com/v4/letter/d/c37758/32.png) [@danyklein](https://community.thunkable.com/u/danyklein)\
**Post date:** [November 18, 2019, 1:59pm UTC](https://community.thunkable.com/t/blog-post-from-squarespace-to-thunkable/325941/3 "2019-11-18T13:59:35Z")

</div>

Yes I can add a plein text to it

---

<div class="post-metadata">

**Author:** ![domhnallohanlon](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/domhnallohanlon/32/29554_2.png) [@domhnallohanlon](https://community.thunkable.com/u/domhnallohanlon)\
**Post date:** [November 18, 2019, 2:01pm UTC](https://community.thunkable.com/t/blog-post-from-squarespace-to-thunkable/325941/4 "2019-11-18T14:01:10Z")

</div>

cool! can you do that? does it change the endpoint or does it just add an extra field to the JSON response?

---

<div class="post-metadata">

**Author:** ![danyklein](https://avatars.discourse-cdn.com/v4/letter/d/c37758/32.png) [@danyklein](https://community.thunkable.com/u/danyklein)\
**Post date:** [November 18, 2019, 2:02pm UTC](https://community.thunkable.com/t/blog-post-from-squarespace-to-thunkable/325941/5 "2019-11-18T14:02:59Z")

</div>

It will be the same json  
Just added a dummy text it to the first post Helloooo and the other 2 test of the blog  
You should see this now in the json -\>

( sqs-block-markdown" data-block-type=“44” id=“block-yui\_3\_17\_2\_1\_1574084199394\_18021”\>\<div class=“sqs-block-content”\>

Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet. Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet.

If this io not okay I can add that what you need 🙂 just tell me what

---

<div class="post-metadata">

**Author:** ![danyklein](https://avatars.discourse-cdn.com/v4/letter/d/c37758/32.png) [@danyklein](https://community.thunkable.com/u/danyklein)\
**Post date:** [November 18, 2019, 2:05pm UTC](https://community.thunkable.com/t/blog-post-from-squarespace-to-thunkable/325941/6 "2019-11-18T14:05:17Z")

</div>

Here is the sample app i will design it like on the site  
[https://x.thunkable.com/copy/711fe97e47e7feab8980b8dd10ac6550](https://x.thunkable.com/copy/711fe97e47e7feab8980b8dd10ac6550)

All what I need is Thumbnail image url, Tags, Date, title, text from the blog, but I think if I now how I fetch 1-2 things I will learn how to fetch the rest I hope so hahah

---

<div class="post-metadata">

**Author:** ![domhnallohanlon](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/domhnallohanlon/32/29554_2.png) [@domhnallohanlon](https://community.thunkable.com/u/domhnallohanlon)\
**Post date:** [November 18, 2019, 3:08pm UTC](https://community.thunkable.com/t/blog-post-from-squarespace-to-thunkable/325941/7 "2019-11-18T15:08:44Z")

</div>

you mentioned in a PM that you could use Airtable instead - do you need to use Square space at all?

I’m confused now by the different information.

---

<div class="post-metadata">

**Author:** ![danyklein](https://avatars.discourse-cdn.com/v4/letter/d/c37758/32.png) [@danyklein](https://community.thunkable.com/u/danyklein)\
**Post date:** [November 18, 2019, 3:12pm UTC](https://community.thunkable.com/t/blog-post-from-squarespace-to-thunkable/325941/8 "2019-11-18T15:12:36Z")

</div>

no in the worst worst case only i will do it with airtable but there i know how to do it , But I want to do it with squarespace… if the squaresapce json don’t work to do what I want !!  
If we can do it with Squarespace it would be nice like that I don’t have to add the information on two places !

---

<div class="post-metadata">

**Author:** ![domhnallohanlon](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/domhnallohanlon/32/29554_2.png) [@domhnallohanlon](https://community.thunkable.com/u/domhnallohanlon)\
**Post date:** [November 18, 2019, 3:18pm UTC](https://community.thunkable.com/t/blog-post-from-squarespace-to-thunkable/325941/9 "2019-11-18T15:18:49Z")

</div>

It’s pretty easy to get the contents of the `body` here, but the issue yo have now is getting the text out if the HTML, and it’s not even valid HTML, so I’m not sure how you’d go about that.

 ![10](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/e/3/e3880911b4535982ec95dd4aef6a1f95efec84ba.png)

---

<div class="post-metadata">

**Author:** ![danyklein](https://avatars.discourse-cdn.com/v4/letter/d/c37758/32.png) [@danyklein](https://community.thunkable.com/u/danyklein)\
**Post date:** [November 18, 2019, 3:20pm UTC](https://community.thunkable.com/t/blog-post-from-squarespace-to-thunkable/325941/10 "2019-11-18T15:20:42Z")

</div>

> [@danyklein](#):
>
> ( sqs-block-markdown" data-block-type=“44” id=“block-yui\_3\_17\_2\_1\_1574084199394\_18021”\>
> 
> Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet. Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet.

For that I added a markdown \<div class="sqs-block markdown-block sqs-block-markdown" data-block-type="44" id="block-yui\_3\_17\_2\_1\_1574084199394\_18021"\>\<div class="sqs-block-content"\>

Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet. Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet.

The will be the text for the app

[https://cod-whale-gcy6.squarespace.com](https://cod-whale-gcy6.squarespace.com)

---

<div class="post-metadata">

**Author:** ![danyklein](https://avatars.discourse-cdn.com/v4/letter/d/c37758/32.png) [@danyklein](https://community.thunkable.com/u/danyklein)\
**Post date:** [November 18, 2019, 3:23pm UTC](https://community.thunkable.com/t/blog-post-from-squarespace-to-thunkable/325941/11 "2019-11-18T15:23:28Z")

</div>

And this one: [https://cod-whale-gcy6.squarespace.com/pressroom/?format=json](https://cod-whale-gcy6.squarespace.com/pressroom/?format=json) ?

---

<div class="post-metadata">

**Author:** ![domhnallohanlon](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/domhnallohanlon/32/29554_2.png) [@domhnallohanlon](https://community.thunkable.com/u/domhnallohanlon)\
**Post date:** [November 18, 2019, 3:23pm UTC](https://community.thunkable.com/t/blog-post-from-squarespace-to-thunkable/325941/12 "2019-11-18T15:23:45Z")

</div>

I read that the first time you posted it…

---

<div class="post-metadata">

**Author:** ![danyklein](https://avatars.discourse-cdn.com/v4/letter/d/c37758/32.png) [@danyklein](https://community.thunkable.com/u/danyklein)\
**Post date:** [November 18, 2019, 3:27pm UTC](https://community.thunkable.com/t/blog-post-from-squarespace-to-thunkable/325941/14 "2019-11-18T15:27:40Z")

</div>

sorry, just added this to my blog article with this id

> id="blogtext"

could that help ?

> Bonjour leLorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet. Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet. monde !
> 
> ![35|690x388](upload://id8TxXnZySqB5e2Ao0UBHaxkzkH.jpeg)

---

<div class="post-metadata">

**Author:** ![domhnallohanlon](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/domhnallohanlon/32/29554_2.png) [@domhnallohanlon](https://community.thunkable.com/u/domhnallohanlon)\
**Post date:** [November 18, 2019, 3:42pm UTC](https://community.thunkable.com/t/blog-post-from-squarespace-to-thunkable/325941/15 "2019-11-18T15:42:21Z")

</div>

there just doesn’t seem to be a straightforward way of doing this - you can pull out all the heading and paragraphs pretty easily, but there’s no way to tell **how many** headings, paragraphs, images, quotes, snippets etc are in any given blog post.

The best you could hope for here is to just display the posts in the WebViewer, but if you user has a web browser on their phone there’s little point in this.

---

<div class="post-metadata">

**Author:** ![danyklein](https://avatars.discourse-cdn.com/v4/letter/d/c37758/32.png) [@danyklein](https://community.thunkable.com/u/danyklein)\
**Post date:** [November 18, 2019, 5:52pm UTC](https://community.thunkable.com/t/blog-post-from-squarespace-to-thunkable/325941/18 "2019-11-18T17:52:00Z")

</div>

It will be 1 text block and 1 images and 1 button, deleted everything from the first blog there is only one image one button and text blog now

 ![43](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/7/3/73fc5625ea03c0b3d63e7e0e71c1a932c1be71cc.jpeg)

could you show me only how I get the title and date and all that after that I will try my self please…

Should I give up ?

---

<div class="post-metadata">

**Author:** ![domhnallohanlon](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/domhnallohanlon/32/29554_2.png) [@domhnallohanlon](https://community.thunkable.com/u/domhnallohanlon)\
**Post date:** [November 18, 2019, 5:52pm UTC](https://community.thunkable.com/t/blog-post-from-squarespace-to-thunkable/325941/19 "2019-11-18T17:52:41Z")

</div>

What have you tried so far?

---

<div class="post-metadata">

**Author:** ![danyklein](https://avatars.discourse-cdn.com/v4/letter/d/c37758/32.png) [@danyklein](https://community.thunkable.com/u/danyklein)\
**Post date:** [November 19, 2019, 1:57pm UTC](https://community.thunkable.com/t/blog-post-from-squarespace-to-thunkable/325941/22 "2019-11-19T13:57:03Z")

</div>

all the videos from youtube from thunkable and from the docs … never got it done. Have only the design for the moment smile

squarespace is build with json… so i don’t really understand where the problem could be 😕

> [@domhnallohanlon](#):
>
> It’s pretty easy to get the contents of the `body` here, but the issue yo have now is getting the text out if the HTML, and it’s not even valid HTML, so I’m not sure how you’d go about that.

So it’s easy why nobody in the coummunity or you helps me …thx

---

<div class="post-metadata">

**Author:** ![domhnallohanlon](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/domhnallohanlon/32/29554_2.png) [@domhnallohanlon](https://community.thunkable.com/u/domhnallohanlon)\
**Post date:** [November 19, 2019, 1:59pm UTC](https://community.thunkable.com/t/blog-post-from-squarespace-to-thunkable/325941/23 "2019-11-19T13:59:17Z")

</div>

I don’t think you understand me - the content is not suitable to use in your app. it will have brackets and line breaks and escape characters all over the place and it won’t look nice on the screen.

Why are you sending me PMs with random characters? please do not send so many different messages it’s very difficult to follow the three threads that you have open at the moment.

---

<div class="post-metadata">

**Author:** ![danyklein](https://avatars.discourse-cdn.com/v4/letter/d/c37758/32.png) [@danyklein](https://community.thunkable.com/u/danyklein)\
**Post date:** [November 19, 2019, 2:01pm UTC](https://community.thunkable.com/t/blog-post-from-squarespace-to-thunkable/325941/24 "2019-11-19T14:01:07Z")

</div>

Its the api key for the other problem in the other post …

and yeah normal that I write and ask everywhere for help if I get no return no where

---

<div class="post-metadata">

**Author:** ![danyklein](https://avatars.discourse-cdn.com/v4/letter/d/c37758/32.png) [@danyklein](https://community.thunkable.com/u/danyklein)\
**Post date:** [November 19, 2019, 10:47am UTC](https://community.thunkable.com/t/blog-post-from-squarespace-to-thunkable/325941/25 "2019-11-19T10:47:30Z")

</div>

Hello, I need help to connect my app with my blog api from sqaurespace. I have the design only need is that anyone add the api and the clones and all that, I will pay up to 200 euro, I will pay 50% amount directly thx.

What i need to fetch: Title, description, tags , date, blog text, image url …

For more informations ask me please need it for tomorrow

The json:  
here the [https://cod-whale-gcy6.squarespace.com/pressroom/?format=json-pretty](https://cod-whale-gcy6.squarespace.com/pressroom/?format=json-pretty)

The page where the blog will be:  
[https://cod-whale-gcy6.squarespace.com/pressroom?noredirect](https://cod-whale-gcy6.squarespace.com/pressroom?noredirect)

[Next page](https://community.thunkable.com/t/blog-post-from-squarespace-to-thunkable/325941.md?page=2)
