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).

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

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