URL

From BC$ MobileTV Wiki
Jump to: navigation, search

A Uniform Resource Locator (commonly abbreviated as URL) is a link to document or application on the World Wide Web. In popular language, a URL is also referred to as a Web address.


Specifications





Tools

URL Shorteners


LinkChecker

Color Codes Key

Valid linkHTTP status code 200
Invalid linkHTTP status code 404 or non-existant domain or status header
Forwarded or forbidden linkHTTP status code 403 or 3xx
Skipped linkon banned list, timed out, or email, telnet, etc.
ESCStop checking links

Will run until all links on a given page have been checked (does not continue beyond or crawl any further on linked-to pages).

Resources

Java

[10] [11]

JavaScript

[12]

PHP

Objective-C


Tutorials


External Links


References

  1. Tinyurl has an API: http://scripting.com/stories/2007/06/27/tinyurlHasAnApi.html
  2. Create a shortened URL using the TinyURL API (in 2 lines of PHP): http://www.richardcastera.com/blog/creating-a-tinyurl-with-tinyurl-api
  3. Create a shortened URL using the TinyURL API where file_get_contents is not available (using a few more lines of PHP + cURL lib): http://davidwalsh.name/create-tiny-url-php
  4. BitLy (bit.ly) PHP Class – Shorten and Expand URLs (and Hashes) with BitLy API: http://www.if-not-true-then-false.com/2009/bitly-bit-ly-php-class-shorten-and-expand-urls-and-hashes-with-bitly-api/
  5. is.GD URL Shortener API example: http://is.gd/apiexample.php.txt
  6. Ow.LY PHP API implementation: https://github.com/invokemedia/owly-api-php
  7. Why SnipURL’s API is Unsafe a.k.a. How NOT to design your Web API: http://blog.welldesignedurls.org/2008/01/26/snipurls-unsafe-api/
  8. Next steps with the t.co link wrapper: https://dev.twitter.com/blog/next-steps-with-the-tco-link-wrapper
  9. t.co link wrapper/shortener FAQ: https://dev.twitter.com/docs/tco-link-wrapper/faq
  10. http://java.sun.com/j2se/1.5.0/docs/api/java/net/URLEncoder.html
  11. http://www.mkyong.com/java/how-to-encode-a-url-string-or-form-parameter-in-java/
  12. Javascript URL encoding and decoding: http://cass-hacks.com/articles/code/js_url_encode_decode/
  13. URL encoding an NSString on iOS: http://madebymany.com/blog/url-encoding-an-nsstring-on-ios

See Also

URI | URN | HTTP | WWW | Crawler