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

7
LINES

< > BotCompany Repo | #1026029 // trackTitleFromIceCastStatusXSL

JavaX fragment (include) [tags: use-pretranspiled]

Libraryless. Click here for Pure Java version (4204L/28K).

sS trackTitleFromIceCastStatusXSL(S html) {
  LLS tds = findContainerTagWithParams(html, "td");
  for i over tds:
    if (eqic(trim(joinContentsOfContainerTag(tds.get(i))), "current song:"))
      ret trim(joinContentsOfContainerTag(tds.get(i+1));
  null;
}

download  show line numbers  debug dex  old transpilations   

Travelled to 6 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt

No comments. add comment

Snippet ID: #1026029
Snippet name: trackTitleFromIceCastStatusXSL
Eternal ID of this version: #1026029/3
Text MD5: c2d455c871dfaeeecaeec7fba4c01cde
Transpilation MD5: 8221ac7b93e8ed9e65db183b4caa492f
Author: stefan
Category: javax / html
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2019-11-10 20:41:31
Source code size: 263 bytes / 7 lines
Pitched / IR pitched: No / No
Views / Downloads: 234 / 326
Version history: 2 change(s)
Referenced in: [show references]