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

14
LINES

< > BotCompany Repo | #1007782 // Find latest drawing [web bot, dev.]

JavaX source code (desktop) [tags: archive use-pretranspiled] - run with: x30.jar

Download Jar. Libraryless. Click here for Pure Java version (901L/6K).

1  
!7
2  
3  
html {
4  
  new StringBuilder buf;
5  
  O imageServer = getBot(#1004590);
6  
  L metas = cast call(get(imageServer, "mainConcepts"), "list", "ImageMeta");
7  
  metas = [O meta : metas | startsWithIC(getString(meta, "name"), "Drawing ")];
8  
  metas = sortedByFieldDesc(metas, "created");
9  
  for (O meta : metas) {
10  
    S md5 = getString(meta, "md5");
11  
    buf.append(p(himg(imageServerJPEGLink(md5))) + "\n");
12  
  }
13  
  ret buf;
14  
}

download  show line numbers  debug dex  old transpilations   

Travelled to 2 computer(s): cfunsshuasjs, mqqgnosmbjvj

No comments. add comment

Snippet ID: #1007782
Snippet name: Find latest drawing [web bot, dev.]
Eternal ID of this version: #1007782/4
Text MD5: 784d24f5b09af1bd5c7829db3f3086c6
Transpilation MD5: 7927315f1660ca3b3fab7696fc0263a1
Author: stefan
Category: javax / a.i. / html
Type: JavaX source code (desktop)
Public (visible to everyone): Yes
Archived (hidden from active list): Yes
Created/modified: 2017-04-06 13:43:34
Source code size: 425 bytes / 14 lines
Pitched / IR pitched: No / No
Views / Downloads: 486 / 803
Version history: 3 change(s)
Referenced in: [show references]