
Viser innlegg med etiketten nerd. Vis alle innlegg
Viser innlegg med etiketten nerd. Vis alle innlegg
onsdag 17. oktober 2007
fredag 13. juli 2007
/?p= versus ?p= versus /index.php?p=
Et problem for en ikke-techie har vært det såkalte alias-problemet som har vært litt av et prosjekt å finne ut av. Det skulle la seg gjøre å opprette alias for å ivareta gamle lenker, som er av typen /?p= og /index.php?p=. Utvikler sa at dette var njemas problemas, og det ble testet med jevne mellomrom. Men jeg fikk det fanken ikke til. Ei heller var det mulig å legge inn flere alias på hver side, så en høkkert-løsning med skyggesider ble valgt. Ikke bra, siden det må lages minst to skyggesider til hver side fra gammel web. En side som viser til /?p=, en side som viser til /dok/navn.pdf og kanskje også en side som viser til /index.php?p=navn; for å være sikker på at vi ikke mister noen. Uansett, problemet syntes uløselig, inntil det ble klart at et alias selvsagt ikke kan være /?p= men må være ?p=. Selvsagt. Doh!
onsdag 20. juni 2007
URI
Sånt er skikkelig skøy for en statsviter, vettu: "A Uniform Resource Identifier (URI) is a compact string of characters used to identify or name a resource? The main purpose of this identification is to enable interaction with representations of the resource over a network, typically the World Wide Web, using specific protocols. URIs are defined in schemes defining a specific syntax and associated protocols. A URI can be classified as a locator (URL) or a name (URN) or both. A Uniform Resource Locator (URL) is a URI that, in addition to identifying a resource, provides means of acting upon or obtaining a representation of the resource by describing its primary access mechanism or network "location". A Uniform Resource Name (URN) is a URI that identifies a resource by name in a particular namespace. A URN can be used to talk about a resource without implying its location or how to dereference it. The term URI is more general than URL or URN and may include them as special cases. In technical publications, especially standards produced by the IETF and the W3C, the term URL has long been deprecated, as it is rarely necessary to distinguish between URLs and URIs. However, in nontechnical contexts and in software for the World Wide Web, the term URL remains ubiquitous. Additionally, the term web address, which has no formal definition, is often used in nontechnical publications as a synonym for URL or URI, although it generally refers only to 'http' and 'https' URIs" (wikipedia.com)
Abonner på:
Innlegg (Atom)