Page webserver

For general Flowcode discussion that does not belong in the other sections.
Post Reply
max.tisc
Posts: 153
http://meble-kuchenne.info.pl
Joined: Thu Dec 10, 2020 5:40 pm
Been thanked: 12 times

Flowcode v10 Page webserver

Post by max.tisc »

Hi, I'm playing with the Webserver component. I see that the pages are limited to 4. Can I increase them? Can I use another webserver icon to get more pages?
grazie

Steve-Matrix
Matrix Staff
Posts: 1774
Joined: Sat Dec 05, 2020 10:32 am
Has thanked: 258 times
Been thanked: 414 times

Re: Page webserver

Post by Steve-Matrix »

I don't think there is a way of increasing this without editing the component (edit: there is :oops: - see Ben's answer!). An alternative is you could serve the pages manually instead of relying on static pages. It's more work, but would allow you to show any number of different pages.

BenR
Matrix Staff
Posts: 2138
Joined: Mon Dec 07, 2020 10:06 am
Has thanked: 577 times
Been thanked: 761 times

Re: Page webserver

Post by BenR »

Hello,

The easy way to allow for more files is to change from embedded pages to external using the HTML source property of the Webserver component and a FAT component. You can then put all your HTML source onto an SD card.

https://www.flowcode.co.uk/wiki/index.p ... etworking)

Steve's suggestion of serving pages up on the fly is also viable.

If you still want embedded only pages then how many would you need?

Post Reply