murl #matchurl.com

murl #matchurl.com

21.Oct.2021

For instance, instead of having to remember the full URL, one can then use for creating a short link or web page address . The murl service offers an API for generating these shortened links programmatically in your applications.  

 

Linked data URL embedding

The murl service also supports the RDFa format - which means you are able to embed machine readable semantic information into short URLs by using Linked Data technologies.

By appending 'about' with a space after the domain name, murl will interpret it as being about and parse out any IRI prefixes to resolve them properly .

Look at the following examples:

For example, if you have a web page about Murl Engine , just add the prefix " " to your shortlink's domain name, which will result in an address like this : . Now murl will infer that your link is about "Murl Engine" - so any crawler or other web app reading it can understand what this is all about.

You may also omit writing down the part while using Linked Data technologies - e.g., use directly

This will resolve to exactly the same location.

Another thing you could do to make these shortened links more interlinked would be by appending /tag/ with a space after your domain name, which will make the resulting link look like this: . Now murl automatically interprets it as being about "Tag" - again making them more interlinked.

You may also omit writing down the part while using Linked Data technologies - e.g., use directly .

This will resolve to exactly the same location.

Murl API usage

For example, if you wanted to get 30ur shortened URLs for Wikipedia's article on Quantum computing , you could write a program like this :

PHP code $domain =// The original long URL $longurl = g'; $api = new Murl; // Replace with your API key (free to register) echo "Start: ".$longurl."

". PHP_EOL; foreach ($api->queryShortUrl($longurl,30 ) as $shortlink){ print "$shortlink

"; }

PHP code using the murl API - now you can make those shortened URLS yourself and then use them in your applications and the like! For the full list of supported operations see .

This passage has been copied from the /article/ webpage, with the addition of some knowledge background . This is acceptable according to the Creative Commons ShareAlike license.

Title: Short URL API in PHP - make shortened URLs for programs

Linked data URL embedding

The murl service also supports the RDFa format - which means you are able to embed machine readable semantic information into short URLs by using Linked Data technologies.

By appending 'about' with a space after the domain name, murl will interpret it as being about and parse out any IRI prefixes to resolve them properly . Look at the following examples: For example, if you have a web page about Murl Engine , just add the prefix " " to your shortlink's domain name, which will result in an address like this : . Now murl will infer that your link is about "Murl Engine" - so any crawler or other web app reading it can understand what this is all about. You may also omit writing down the part while using Linked Data technologies - e.g., use directly This will resolve to exactly the same location. Another thing you could do to make these shortened links more interlinked would be by appending /tag/ with a space after your domain name, which will make the resulting link look like this: . Now murl automatically interprets it as being about "Tag" - again making them more interlinked. You may also omit writing down the part while using Linked Data technologies - e.g., use directly . This will resolve to exactly the same location. Murl API usage For example, if you wanted to get 30ur shortened URLs for Wikipedia's article on Quantum computing , you could write a program like this :

PHP code $domain =// The original long URL $longurl = g'; $api = new Murl; // Replace with your API key (free to register) echo "Start: ".$longurl."

". PHP_EOL; foreach ($api->queryShortUrl($longurl,30 ) as $shortlink){ print "$shortlink

"; } PHP code using the murl API - now you can make those shortened URLS yourself and then use them in your applications and the like! For the full list of supported operations see .

This passage has been copied from the /article/ webpage, with the addition of some knowledge background . This is acceptable according to the Creative Commons ShareAlike license.

Title: Short URL API in PHP - make shortened URLs for programs

Linked data URL embedding

The murl service also supports the RDFa format - which means you are able to embed machine readable semantic information into short URLs by using Linked Data technologies. By appending 'about' with a space after the domain name, murl will interpret it as being about and parse out any IRI prefixes to resolve them properly . Look at the following examples: For example, if you have a web page about Murl Engine , just add the prefix " " to your shortlink's domain name, which will result in an address like this : . Now murl will infer that your link is about "Murl Engine" - so any crawler or other web app reading it can understand what this is all about. You may also omit writing down the part while using Linked Data technologies - e.g., use directly This will resolve to exactly the same location. Another thing you could do to make these shortened links more interlinked would be by appending /tag/ with a space after your domain name, which will make the resulting link look like this: . Now murl automatically interprets it as being about "Tag" - again making them more interlinked. You may also omit writing down the part while using Linked Data technologies - e.g., use directly . This will resolve to exactly the same location. Murl API usage For example, if you wanted to get 30ur shortened URLs for Wikipedia's article on Quantum computing , you could write a program like this :

PHP code $domain =// The original long URL $longurl = g'; $api = new Murl; // Replace with your API key (free to register) echo "Start: ".$longurl."". PHP_EOL; foreach ($api->queryShortUrl($longurl,30 ) as $short

We are social