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)

sS relativeRawBotLink() {
  ret relativeRawBotLink(programID());
}

static S relativeRawBotLink(long botID) {
  ret "/" + botID + "/raw";
}

static S relativeRawBotLink(S botID) {
  ret relativeRawBotLink(parseSnippetID(botID));
}

static S relativeRawBotLink(long botID, S uri) {
  ret "/" + botID + "/raw" + addPrefix("/", uri);
}

static S relativeRawBotLink(S botID, S uri) {
  ret relativeRawBotLink(parseSnippetID(botID), uri);
}

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: 644 / 695
Version history: 3 change(s)
Referenced in: #1006654 - Standard functions list 2 (LIVE, continuation of #761)
#1010843 - rawBotLink_rel - synonym of relativeRawBotLink - link to a bot, "raw" page version (no title)
#1013424 - relativeBotLink - link to a bot, non-"raw" version
#1013880 - myRelativeRawLink - link to myself (sub bot), "raw" page version