<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="fr">
	<id>https://ducamp.me/index.php?action=history&amp;feed=atom&amp;title=Representative_h-card-fr</id>
	<title>Representative h-card-fr - Historique des versions</title>
	<link rel="self" type="application/atom+xml" href="https://ducamp.me/index.php?action=history&amp;feed=atom&amp;title=Representative_h-card-fr"/>
	<link rel="alternate" type="text/html" href="https://ducamp.me/index.php?title=Representative_h-card-fr&amp;action=history"/>
	<updated>2026-05-13T15:32:08Z</updated>
	<subtitle>Historique des révisions pour cette page sur le wiki</subtitle>
	<generator>MediaWiki 1.35.0</generator>
	<entry>
		<id>https://ducamp.me/index.php?title=Representative_h-card-fr&amp;diff=8924&amp;oldid=prev</id>
		<title>Xtof : Page créée avec « {{stub}}  La &#039;&#039;&#039;&lt;dfn&gt;h-card représentative&lt;/dfn&gt;&#039;&#039;&#039; d&#039;une page est une h-card sur cette page qui représente cette page, s&#039;il y en a, car toutes les pages ne sont pas des... »</title>
		<link rel="alternate" type="text/html" href="https://ducamp.me/index.php?title=Representative_h-card-fr&amp;diff=8924&amp;oldid=prev"/>
		<updated>2018-04-07T08:32:27Z</updated>

		<summary type="html">&lt;p&gt;Page créée avec « {{stub}}  La &amp;#039;&amp;#039;&amp;#039;&amp;lt;dfn&amp;gt;h-card représentative&amp;lt;/dfn&amp;gt;&amp;#039;&amp;#039;&amp;#039; d&amp;#039;une page est une h-card sur cette page qui représente cette page, s&amp;#039;il y en a, car toutes les pages ne sont pas des... »&lt;/p&gt;
&lt;p&gt;&lt;b&gt;Nouvelle page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{stub}}&lt;br /&gt;
&lt;br /&gt;
La &amp;#039;&amp;#039;&amp;#039;&amp;lt;dfn&amp;gt;h-card représentative&amp;lt;/dfn&amp;gt;&amp;#039;&amp;#039;&amp;#039; d&amp;#039;une page est une h-card sur cette page qui représente cette page, s&amp;#039;il y en a, car toutes les pages ne sont pas des pages à propos d&amp;#039;une personne ou d&amp;#039;une organisation, une page pourrait ne pas avoir de h-card représentative.&lt;br /&gt;
&lt;br /&gt;
* Pour plus d&amp;#039;informations regardez : http://microformats.org/wiki/representative-hcard et lisez avec une traduction de hCard vers h-card dans la ligne pendant que vous lisez (NDT à raffiner).&lt;br /&gt;
&lt;br /&gt;
== Cas d&amp;#039;Usages ==&lt;br /&gt;
* How to discover a person&amp;#039;s name and image from their [[homepage]] URL, e.g.:&lt;br /&gt;
** When [[creating]] a blog post, link to a person, and have that link automatically use their image and name as link text.&lt;br /&gt;
** After signing in with [[indieauth]], finding the person&amp;#039;s name and profile image&lt;br /&gt;
&lt;br /&gt;
== Comment Faire  ==&lt;br /&gt;
=== Comment Publier ===&lt;br /&gt;
Voir :&lt;br /&gt;
* comment publier : http://microformats.org/wiki/representative-hcard-authoring&lt;br /&gt;
&lt;br /&gt;
==== Comment Publier Avec WordPress ====&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Thème Twenty Fifteen / Twenty Fourteen&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
** Si vous utilisez le thème Twenty Fifteen ou Twenty Fourteen sous forme de site à auteur unique, vous pouvez modifier le fichier du thème &amp;lt;code&amp;gt;/twentyfifteen/inc/template-tags.php&amp;lt;/code&amp;gt; ou &amp;lt;code&amp;gt;/twentyfourteen/inc/template-tags.php&amp;lt;/code&amp;gt;&lt;br /&gt;
*** Cherchez la ligne avec &amp;lt;code&amp;gt;author vcard&amp;lt;/code&amp;gt;&lt;br /&gt;
*** Sur la même ligne trouvez le lien &amp;lt;code&amp;gt;a class=&amp;quot;url fn n&amp;quot;&amp;lt;/code&amp;gt;&lt;br /&gt;
*** Ajoutez &amp;lt;code&amp;gt;rel=&amp;quot;me&amp;quot;&amp;lt;/code&amp;gt; à ce lien, afin que cela ressemble à :&amp;lt;code&amp;gt;a class=&amp;quot;url fn n&amp;quot; rel=&amp;quot;me&amp;quot;&amp;lt;/code&amp;gt;&lt;br /&gt;
*** Sauvegardez le fichier template&lt;br /&gt;
&lt;br /&gt;
==== Test ====&lt;br /&gt;
* Indiewebify.me has [https://indiewebify.me/validate-h-card/ un test qui valide une h-card].&lt;br /&gt;
&lt;br /&gt;
=== Comment Découvrir ===&lt;br /&gt;
Soit :&lt;br /&gt;
* Implémentez : http://microformats.org/wiki/representative-h-card-parsing&lt;br /&gt;
OU :&lt;br /&gt;
# Utilisez a [[microformats2]] parser to parse the page / site homepage into JSON&lt;br /&gt;
# Traitez ce JSON avec https://github.com/indieweb/representative-h-card-php qui renverra une petite structure JSON avec la h-card représentative pour la page&lt;br /&gt;
&lt;br /&gt;
== Bibliothèques ==&lt;br /&gt;
* https://github.com/indieweb/representative-h-card-php - En passant un document mf2 parsé, renvoie la h-card représentative de la page.&lt;br /&gt;
&lt;br /&gt;
== Voir aussi ==&lt;br /&gt;
* [[microformats]]&lt;br /&gt;
* [[authorship]]&lt;/div&gt;</summary>
		<author><name>Xtof</name></author>
	</entry>
</feed>