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)

sbool getSnippetTitles_verbose;

static Map<S, S> getSnippetTitles(Collection<S> ids) ctex {
  if (empty(ids)) ret new HashMap;
  S url = tb_mainServer() + "/tb-int/get-titles.php";
  S ids2 = join(" ", parseSnippetIDs(ids));
  ret trimValues(transformKeys(jsonDecodeMap(
    doPost(mapPlus(standardCredentialsMap(), ids := ids2),
      url)), func(S id) { fsI(id) }));
}

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: 706 / 739
Version history: 2 change(s)
Referenced in: [show references]