I am pulling data from a wordpress website and I get tags like these:
I had to upload an image because they are html tags and they only show what it is meant to be such as an apostrophe or speech marks.
I am wondering, is there any way to remove html tags in thunkable x? If not where is the best place to find the most common html tags so I can use the replace text block and just make a load of them.
To clear the tags you need to create your own algorithm. For example, lines of the form Ӓ are deleted like this: find the left position of the next line “&#” and then the right position - the symbol “;”. After that, delete the substring from the left position to the right one inclusively.
Similarly, tags are deleted, only you need to look for the characters “<” and “>”.
The label shows up things like < p > and < /p > and I think for < br > as well. I need it to show it as it would look in html. I am linking to a wordpress blog and the blog of course contains things like this, and the json from the wordpress site sends me this data but i need the label to interpret it or remove it. i would rather it acted like html though.
I understand correctly that you want to keep some tags and remove others? If so, then either make exceptions when searching and replacing tags, or first convert the non-removable tags to unique characters, delete the rest, and finally do the reverse conversion.
I looked at examples. Take the second text example. I added it to the WebViewer and in iOS on Live, paragraphs and characters \ n between them are displayed.