Web page dynamic content question

Technical questions regarding the XTC tools and programming with XMOS.
Post Reply
DemoniacMilk
XCore Addict
Posts: 191
Joined: Tue Jul 05, 2016 2:19 pm

Web page dynamic content question

Post by DemoniacMilk »

Web page files allow adding dynamic content by calling functions via {% foo() %}. Adding a function call to test.html will be translated into an array by a python script, functions are represented by an index, preceeded by 255:

Code: Select all

char _web_test_dot_html[] = {..., 255, 0, ...};
 
 //in web_server_dyn_exp():
 case 0: foo();
I have an image file containing "255,xxx" 327 times. Will this trigger 327 'random' function calls or is there a mechanism to exclude specific files?


Post Reply