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

19
LINES

< > BotCompany Repo | #1001848 // Swing: Visitors today

JavaX source code [tags: use-pretranspiled] - run with: x30.jar

Libraryless. Click here for Pure Java version (1754L/12K/40K).

!752
!image classes

m {
  p {
    showBigText("Visitors today", "getTextAndTitle", 30000);
  }
  
  static S[] getTextAndTitle() {
    S in = loadPage("http://tinybrain.blog.de");
    
    // Code from solution of #1000455
    Matcher m = Pattern.compile("<dd class=\"visitorsToday\">(\\d+)<br /></dd>").matcher(((String) in));
    in = m.find() ? m.group(1) : "";

    print(in);
    ret new S[] {in, in + " visitors today"};
  }
}

Author comment

Began life as a copy of #1000655

download  show line numbers  debug dex  old transpilations   

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

No comments. add comment

Snippet ID: #1001848
Snippet name: Swing: Visitors today
Eternal ID of this version: #1001848/1
Text MD5: 29c7e75019a0adc2e23b460c997e9380
Transpilation MD5: 4aae217cc5c267b9158c39d8f8c8ca0c
Author: stefan
Category:
Type: JavaX source code
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2015-11-27 17:27:35
Source code size: 451 bytes / 19 lines
Pitched / IR pitched: No / Yes
Views / Downloads: 459 / 507
Referenced in: [show references]