Date de publication: le samedi 30 juin 2007 à 13h10
Dernière modification: par Pascal BOYER le jeudi 24 février 2011 à 01h02
Summary / Résumé
Validates and stores a URL / address.
Contrôle la validité d'un URI (adresse http) et le stocke.
Properties / Propriétés
|
Name Nom |
Internal name Nom interne |
Searchable Interrogeable |
Information collector Collecteur d'information |
|---|---|---|---|
| URL | ezurl | No / Non | No / Non |
Description
This datatype allows the validation and storage of a hyperlink. The following screenshot shows the class attribute edit interface for this datatype.
Ce datatype permet de contrôler la validité d'un hyperlien et de stocker. La capture d'écran suivante montre l'interface d'édition de l'attribut de classe basé sur ce datatype:
Class attribute edit interface for the "URL" datatype
Interface d'édition de l'attribut de classe basé sur le datatype URL
Object attribute edit interface / Interface d'édition de l'attribut de classe
For each link, an address and an additional text may be stored. The following screenshot shows the object attribute edit interface for this datatype.
Pour chaque lien, une adresse et un texte aditionnel peuvent être stockés. L'image ci-dessous illustre l'interface d'édition de l'attribut d'objet basé sur ce datatype:
Object attribute edit interface for the "URL" datatype
Interface d'édition de l'attribut d'objet basé sur le datatype URL
URL storage and checking / Stockage et contrôle d'URI
URLs that are input either using the URL or the XML block datatype, are stored and handled in a special way. This solution makes it possible to view, edit and check if the URLs actually work on a massive scale.
Les URI saisis soit dans un champ basé sur le datatype URL soit dans un champ basé sur le datatype XML block sont stockés puis manipulés de façon particulière permettant de voir, d'éditer et de contrôler, à grande échelle, leur validité.
Important note / Note importante
Keep in mind that if an URL is marked as invalid by the linkcheck.php cronjob script, the has_content attribute for the matching ezurl attribute will return FALSE. The has_content attribute normally only returns FALSE if the attribute has no content.
Gardez à l'esprit que lorsqu'un URI est marqué comme étant validé par le script linkcheck.php alors l'attribut has_content de l'attribut ezurl correspondant retournera FALSE. L'attribut has_content ne retourne normalement FALSE que s'il ne contient rien.
Please refer to the URL storage section of the Concepts and basics chapter for more information about this feature.
Référez-vous à l'article
URL storage -- Stockage d'URL
de la section
Concepts and basics -- Concepts et bases
pour de plus amples informations.
Raw output / Sortie brute
The ".content" of an ezcontentobjectattribute object using this datatype returns a string containing the actual address.
La partie .content d'un objet
ezcontentobjectattribute
utilisant le datatype URL renvoie une chaîne de caractères contenant la véritable adresse.














