Not logged in.  Login/Logout/Register | List snippets | | Create snippet | Upload image | Upload data

17
LINES

< > BotCompany Repo | #1008869 // Woody Dummy Bot

JavaX source code [tags: use-pretranspiled] - run with: x30.jar

Libraryless. Click here for Pure Java version (876L/6K/23K).

!7

html {
  S referer = subBot_referer();
  S msg = params.get("message");
  ret hhtml(hhead(
    hcss([[
      body { background-color:white; }
      p { font:normal 14px Arial, Helvetica; color:black; line-height:18px; }
    ]]))
    + hbody(
    himg("http://www.web-woody-lab.de/IMG_1460%20herz.jpg", width := 180)
    + p("Hallo Welt! " + unnull(referer) + " " + 
      (nempty(msg) ? "Wie was: " + htmlencode(msg) : str(now())))
    + hformPOST(htextinput("message", style := "width: 180px", autofocus := 1))
  , style := "margin: 0px"));
}

Author comment

Began life as a copy of #1008855

download  show line numbers  debug dex  old transpilations   

Travelled to 14 computer(s): aoiabmzegqzx, bhatertpkbcr, bmzxzaunwzbi, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt

No comments. add comment

Snippet ID: #1008869
Snippet name: Woody Dummy Bot
Eternal ID of this version: #1008869/2
Text MD5: 776bfd08a864998378c7d86d2cf0822a
Transpilation MD5: d408ea95c799471832a14caac30590db
Author: stefan
Category: javax / a.i.
Type: JavaX source code
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2017-06-15 16:52:59
Source code size: 563 bytes / 17 lines
Pitched / IR pitched: No / No
Views / Downloads: 387 / 486
Version history: 1 change(s)
Referenced in: [show references]