Showing posts with label URL. Show all posts
Showing posts with label URL. Show all posts

Source or dataset link placeholder for double-blind review

Double-blind review is a reviewing process in academic conferences or journals for submitted papers where the ideintities of authors and reviewers should remain anonymous for each other. An alternative adopted instead of the double-blind review is single-blind review where the reviewers know the authors but the reviewers' identities remain anonymous for authors.

One of the most important thing for double-blind reiview is that, as an author, you should not reveal your identities in any manner, e.g., using "in our previous work [1]" in the Related Work or including your source code or dataset link with a URL might contain your identity information (e.g., link to your shared Drive with some of your information can be disclosed).

An interesting solution discovered recently is adding the link http://www.omitted.link/ for the reviewing process and simply replace the link later with actual link. For example, in the latex of your article:

\footnote{\url{http://www.omitted.link/}} 

Specifically, the link will point to a dummy page with the following information:







Process URL in Java

Use Regex pattern to extract URL in String:

           String url_pattern = "\\b(https?|ftp|file|ldap)://"  
       + "[-A-Za-z0-9+&@#/%?=~_|!:,.;]"  
       + "*[-A-Za-z0-9+&@#/%=~_|]";  
           Pattern p = Pattern.compile(url_pattern, Pattern.CASE_INSENSITIVE);  
           Matcher m = p.matcher(post.getContent());  
           // Find all url and do your logic  
           while (m.find()) {  
           }  
Expand shorten URL: 
http://www.srccodes.com/p/article/37/expand-shortened-link-using-java

URL Validator:
https://commons.apache.org/proper/commons-validator/

PHP function for removing URLs in string





While filtering URL information within tweet, function with regular expression to find and replace it is needed. The remove_URL() function below could do exactly what I want to do:)

PHP function for removing URLs in string:

1:  <?php  
2:  $string = "100% 준비되면 하겠다는 것은 하늘나라 가서 시작하겠다는 겁니다..http://t.co/S2sTmdF45o";  
3:  echo remove_URL($string);  
4:  function remove_URL($html){  
5:    return $result = preg_replace(  
6:      '%\b(([\w-]+://?|www[.])[^\s()<>]+(?:\([\w\d]+\)|([^[:punct:]\s]|/)))%s',  
7:      '',  
8:      $html  
9:    );  
10:  }  
11:  ?>  

IRI, URI, URL and URN

IRI : (Internationalized Resource Identifier), compare to URI, it's characters are Unicode which means including Chinese, Japanese and Koreans etc.

URI : (Uniform Resource Identifier ), includes URL and URN.

URL : (Uniform Resource Locator), usually using specific protocols to locate resource within World Wide Web is the most common type of URI.

URN : (Uniform Resource Name), is also one of the URI type with urn:scheme and the typical use example is ISBN system.