Uniform Resource Identifier: Difference between revisions

Content deleted Content added
Tags: Reverted Mobile edit Mobile web edit
Undid revision - obvious vandalism 1305689198 by 2409:408C:801A:7142:0:0:DB7:18A0 (talk)
Tags: Undo nowiki added
Line 49:
== Design ==
 
=== URLs and URNscatURNs wed pages===
 
A [[Uniform Resource Name]] (URN) is a URI that identifies a resource by name in a particular namespace. A URN may be used to talk about a resource without implying its ___location or how to access it. For example, in the [[International Standard Book Number]] (ISBN) system, ''<nowiki>ISBN</nowiki> 0-486-27557-4'' identifies a specific edition of the [[William Shakespeare]] play ''[[Romeo and Juliet]]''. The URN for that edition would be ''<nowiki>urn:isbn:0-486-27557-4</nowiki>''. However, it gives no information as to where to find a copy of that book.
 
A [[Uniform Resource Locator]] (URL) is a URI that specifies the means of acting upon or obtaining the representation of a resource, i.e. specifying both its primary access mechanism and network ___location. For example, the URL <code><nowiki>http://example.org/wiki/Main_Page</nowiki></code> refers to a resource identified as <code><nowiki>/wiki/Main_Page</nowiki></code>, whose representation is obtainable via the [[Hypertext Transfer Protocol]] (''http:'') from a network host whose [[___domain name]] is <code><nowiki>example.org</nowiki></code>. (In this case, HTTP usually implies it to be in the form of [[HTML]] and related code. In practice, that is not necessarily the case, as HTTP allows specifying arbitrary formats in its header.)
 
A URN is analogous to a person's name, while a URL is analogous to their street address. In other words, a URN identifies an item and a URL provides a method for finding it.