Dynamic web pages on XMOS

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

Dynamic web pages on XMOS

Post by DemoniacMilk »

After some projects in the past I am kind of used to creating web content with a lot of dynamic content and modules, that the php server combined to create the web page shown to a user.

Is it possible to achieve something like this on the xmos? I would like to at least combine a header with some content from two different files. I know there is the possibility to create dynamic content with the help of functions, may I just return a file type?


DemoniacMilk
XCore Addict
Posts: 191
Joined: Tue Jul 05, 2016 2:19 pm

Post by DemoniacMilk »

My web page running on the xcore has some trouble loading the coresponding css style sheet. When directly accessing the css file using its link (xcore_ip/css/stylesheet.css) it is loaded just fine.

Is there anything I am missing? Can I not load additional files (css, js, additional HTML files) with the xmos library?

EDIT: Found out that resending the CSS file GET request is always successful (Status 200).
stylesheetLoadFail.PNG
Sometimes, loading the page is succesful as well (~10-20% success)
stylesheetLoadSuccess.PNG
You do not have the required permissions to view the files attached to this post.