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

19
LINES

< > BotCompany Repo | #1010367 // relativeRawBotLink - link to a bot, "raw" page version (no title)

JavaX fragment (include)

1  
sS relativeRawBotLink() {
2  
  ret relativeRawBotLink(programID());
3  
}
4  
5  
static S relativeRawBotLink(long botID) {
6  
  ret "/" + botID + "/raw";
7  
}
8  
9  
static S relativeRawBotLink(S botID) {
10  
  ret relativeRawBotLink(parseSnippetID(botID));
11  
}
12  
13  
static S relativeRawBotLink(long botID, S uri) {
14  
  ret "/" + botID + "/raw" + addPrefix("/", uri);
15  
}
16  
17  
static S relativeRawBotLink(S botID, S uri) {
18  
  ret relativeRawBotLink(parseSnippetID(botID), uri);
19  
}

Author comment

Began life as a copy of #1003095

download  show line numbers  debug dex  old transpilations   

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

No comments. add comment

Snippet ID: #1010367
Snippet name: relativeRawBotLink - link to a bot, "raw" page version (no title)
Eternal ID of this version: #1010367/4
Text MD5: 1e61f7979062a7ede4e75764a66f3a6a
Author: stefan
Category: eleu
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2018-09-16 14:39:49
Source code size: 455 bytes / 19 lines
Pitched / IR pitched: No / No
Views / Downloads: 645 / 696
Version history: 3 change(s)
Referenced in: [show references]