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

8
LINES

< > BotCompany Repo | #1022776 // oldTranspilationsOfSnippet

JavaX fragment (include)

// pair(id, date), newest first
static LPair<Long, S> oldTranspilationsOfSnippet(S snippetID) {
  S html = loadPage(tb_mainServer() + "/tb/old-transpilations.php?id=" + psI(snippetID));
  new LPair<Long, S> out;
  for (LS row : dropFirst(new TableFinder(html).rows()))
    out.add(pair(parseLong(regexp_firstGroup("[&?]c_id=(\\d+)", third(row))), first(row)));
  ret out;
}

Author comment

Began life as a copy of #1012252

download  show line numbers  debug dex  old transpilations   

Travelled to 8 computer(s): bhatertpkbcr, cfunsshuasjs, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt, xrpafgyirdlv

No comments. add comment

Snippet ID: #1022776
Snippet name: oldTranspilationsOfSnippet
Eternal ID of this version: #1022776/7
Text MD5: 138544e643bd0e111d8896c93e6cdddc
Author: stefan
Category: javax / snippets
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2020-06-20 23:40:24
Source code size: 380 bytes / 8 lines
Pitched / IR pitched: No / No
Views / Downloads: 194 / 248
Version history: 6 change(s)
Referenced in: [show references]