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

10
LINES

< > BotCompany Repo | #1003764 // getSnippetTitles - returns formatted snippet IDs as keys

JavaX fragment (include)

1  
sbool getSnippetTitles_verbose;
2  
3  
static Map<S, S> getSnippetTitles(Collection<S> ids) ctex {
4  
  if (empty(ids)) ret new HashMap;
5  
  S url = tb_mainServer() + "/tb-int/get-titles.php";
6  
  S ids2 = join(" ", parseSnippetIDs(ids));
7  
  ret trimValues(transformKeys(jsonDecodeMap(
8  
    doPost(mapPlus(standardCredentialsMap(), ids := ids2),
9  
      url)), func(S id) { fsI(id) }));
10  
}

Author comment

Began life as a copy of #1001012

download  show line numbers  debug dex  old transpilations   

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

No comments. add comment

Snippet ID: #1003764
Snippet name: getSnippetTitles - returns formatted snippet IDs as keys
Eternal ID of this version: #1003764/3
Text MD5: 32d0fdefd17b55b9bbb0f4785daf6420
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2017-08-29 16:53:49
Source code size: 380 bytes / 10 lines
Pitched / IR pitched: No / No
Views / Downloads: 707 / 741
Version history: 2 change(s)
Referenced in: [show references]