Giter Club home page Giter Club logo

Comments (10)

bondrogeen avatar bondrogeen commented on August 22, 2024

<?lua local a=frj("listtitle") local r if a~= false then r='<h2>Пълен списък на таговете с описание:</h2><a style="font-weight:bold;" href="fulllist.html">'..a.lt..'</a>' else r='<h2>Няма генериран списък</h2>' end return r?>

and if so?

p.s. if the function returns a boolean, why not specify how
if a then ... ?

from dot.

nedoskiv avatar nedoskiv commented on August 22, 2024

Code that you suggest do not work either, it is displayed "as is" into browser. Guess regexpr do not catch it somehow, but i'm not good with regexpr and cannot fix it :)
(If I execute that one line code into lua console, it works fine)

from dot.

bondrogeen avatar bondrogeen commented on August 22, 2024

Is there no new line in the code?
Can I look at the whole file?

from dot.

nedoskiv avatar nedoskiv commented on August 22, 2024

rfidlist.html.gz

from dot.

bondrogeen avatar bondrogeen commented on August 22, 2024

The file you have compressed it will not handle the embedded code. If you want the code to be processed, do not compress it in .gz
https://github.com/bondrogeen/web-server/blob/master/doc/en/README.md#restrictions

from dot.

nedoskiv avatar nedoskiv commented on August 22, 2024

I compress it because github do not allow me to upload .html file - it is just an .html file

from dot.

bondrogeen avatar bondrogeen commented on August 22, 2024

OK, I'll check later.

from dot.

bondrogeen avatar bondrogeen commented on August 22, 2024

I checked. The readline () problem in the documentation says that it reads 1024 bytes, but it turns out that 256 bytes

from dot.

bondrogeen avatar bondrogeen commented on August 22, 2024

Update the firmware, in the new version this problem was eliminated.

I just checked it.
http://nodemcu-build.com/builds/nodemcu-master-19-modules-2018-04-04-15-06-33-integer.bin
This was built against the master branch and includes the following modules: adc, cron, crypto, file, gpio, http, i2c, mqtt, net, node, ow, pcm, pwm, rotary, sjson, spi, tmr, uart, wifi.

from dot.

nedoskiv avatar nedoskiv commented on August 22, 2024

Thank you, I will stick to dev release.

from dot.

Related Issues (14)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.