                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                exable_column ];
		\call_user_func( [ $this, $map_info['map_method'] ], $indexable, $map_info['post_meta_key'], $indexable_column, $delete_empty );
	}

	/**
	 * Uses a simple set_value for non-empty data.
	 *
	 * @param Indexable $indexable        The Yoast indexable.
	 * @param string    $post_meta_key    The post_meta key that will be populated.
	 * @param string    $indexable_column The indexable data that will be mapped to post_meta.
	 * @param bool      $delete_empty     Whether an empty value should delete the post meta key.
	 *
	 * @return void
	 */
	public function simple_map( $indexable, $post_meta_key, $indexable_column, $delete_empty = false ) {
		$value = $indexable->{$indexable_column};

		// Strict emptiness check because empty() would treat the literal string '0' as empty and drop it.
		if ( $value === null || $value === '' ) {
			if ( $delete_empty ) {
				$this->meta->delete( $post_meta_key, $indexable->object_id );
			}
			return;
		}

		$this->meta->set_value( $post_meta_key, $value, $indexable->object_id );
	}

	/**
	 * Maps the cornerstone flag, which is stored as '1' when on and absent when off.
	 *
	 * @param Indexable $indexable        The Yoast indexable.
	 * @param string    $post_meta_key    The post_meta key that will be populated.
	 * @param string    $indexable_column The indexable data that will be mapped to post_meta.
	 * @param bool      $delete_empty     Whether a disabled flag should delete the post meta key.
	 *
	 * @return void
	 */
	public function cornerstone_map( $indexable, $post_meta_key, $indexable_column, $delete_empty = false ) {
		if ( $indexable->is_cornerstone === true ) {
			$this->meta->set_value( $post_meta_key, '1', $indexable->object_id );
			return;
		}

		if ( $delete_empty ) {
			$this->meta->delete( $post_meta_key, $indexable->object_id );
		}
	}

	/**
	 * Map social image data only if social image is explicitly set.
	 *
	 * @param Indexable $indexable        The Yoast indexable.
	 * @param string    $post_meta_key    The post_meta key that will be populated.
	 * @param string    $indexable_column The indexable data that will be mapped to post_meta.
	 *
	 * @return void
	 */
	public function social_image_map( $indexable, $post_meta_key, $indexable_column ) {
		if ( empty( $indexable->{$indexable_column} ) ) {
			return;
		}

		switch ( $indexable_column ) {
			case 'open_graph_image':
			case 'open_graph_image_id':
				$source = $indexable->open_graph_image_source;
				break;
			case 'twitter_image':
			case 'twitter_image_id':
				$source = $indexable->twitter_image_source;
				break;
		}

		// Map the social image data only when the social image is explicitly set.
		if ( $source === 'set-by-user' || $source === 'imported' ) {
			$value = (string) $indexable->{$indexable_column};

			$this->meta->set_value( $post_meta_key, $value, $indexable->object_id );
		}
	}

	/**
	 * Deletes the noindex post_meta key if no noindex in the indexable. Populates the post_meta key appropriately if there is noindex in the indexable.
	 *
	 * @param Indexable $indexable     The Yoast indexable.
	 * @param string    $post_meta_key The post_meta key that will be populated.
	 *
	 * @return void
	 */
	public function noindex_map( $indexable, $post_meta_key ) {
		if ( $indexable->is_robots_noindex === null ) {
			$this->meta->delete( $post_meta_key, $indexable->object_id );
			return;
		}

		if ( $indexable->is_robots_noindex === false ) {
			$this->meta->set_value( $post_meta_key, 2, $indexable->object_id );
		}

		if ( $indexable->is_robots_noindex === true ) {
			$this->meta->set_value( $post_meta_key, 1, $indexable->object_id );
		}
	}

	/**
	 * Deletes the nofollow post_meta key if no nofollow in the indexable or if nofollow is false. Populates the post_meta key appropriately if there is a true nofollow in the indexable.
	 *
	 * @param Indexable $indexable     The Yoast indexable.
	 * @param string    $post_meta_key The post_meta key that will be populated.
	 *
	 * @return void
	 */
	public function nofollow_map( $indexable, $post_meta_key ) {
		if ( $indexable->is_robots_nofollow === null || $indexable->is_robots_nofollow === false ) {
			$this->meta->delete( $post_meta_key, $indexable->object_id );
		}

		if ( $indexable->is_robots_nofollow === true ) {
			$this->meta->set_value( $post_meta_key, 1, $indexable->object_id );
		}
	}

	/**
	 * Deletes the nofollow post_meta key if no nofollow in the indexable or if nofollow is false. Populates the post_meta key appropriately if there is a true nofollow in the indexable.
	 *
	 * @param Indexable $indexable     The Yoast indexable.
	 * @param string    $post_meta_key The post_meta key that will be populated.
	 *
	 * @return void
	 */
	public function robots_adv_map( $indexable, $post_meta_key ) {
		$adv_settings_to_be_imported = [];
		$no_adv_settings             = true;

		if ( $indexable->is_robots_noimageindex === true ) {
			$adv_settings_to_be_imported[] = 'noimageindex';
			$no_adv_settings               = false;
		}
		if ( $indexable->is_robots_noarchive === true ) {
			$adv_settings_to_be_imported[] = 'noarchive';
			$no_adv_settings               = false;
		}
		if ( $indexable->is_robots_nosnippet === true ) {
			$adv_settings_to_be_imported[] = 'nosnippet';
			$no_adv_settings               = false;
		}

		if ( $no_adv_settings === true ) {
			$this->meta->delete( $post_meta_key, $indexable->object_id );
			return;
		}

		$this->meta->set_value( $post_meta_key, \implode( ',', $adv_settings_to_be_imported ), $indexable->object_id );
	}
}
<?xml version="1.0" encoding="UTF-8"?><?xml-stylesheet type="text/xsl" href="//aurelienrabet.com/wp-content/plugins/wordpress-seo/css/main-sitemap.xsl"?>
<sitemapindex xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
	<sitemap>
		<loc>https://aurelienrabet.com/index.php/post-sitemap.xml</loc>
		<lastmod>2026-07-08T15:28:27+00:00</lastmod>
	</sitemap>
	<sitemap>
		<loc>https://aurelienrabet.com/index.php/page-sitemap.xml</loc>
		<lastmod>2026-07-08T15:28:27+00:00</lastmod>
	</sitemap>
	<sitemap>
		<loc>https://aurelienrabet.com/index.php/competence-sitemap.xml</loc>
		<lastmod>2026-07-10T11:41:48+00:00</lastmod>
	</sitemap>
	<sitemap>
		<loc>https://aurelienrabet.com/index.php/application-sitemap.xml</loc>
		<lastmod>2026-07-10T11:41:49+00:00</lastmod>
	</sitemap>
	<sitemap>
		<loc>https://aurelienrabet.com/index.php/formation-sitemap.xml</loc>
		<lastmod>2026-07-10T11:41:49+00:00</lastmod>
	</sitemap>
	<sitemap>
		<loc>https://aurelienrabet.com/index.php/category-sitemap.xml</loc>
		<lastmod>2026-07-08T15:28:27+00:00</lastmod>
	</sitemap>
	<sitemap>
		<loc>https://aurelienrabet.com/index.php/author-sitemap.xml</loc>
		<lastmod>2026-07-09T19:36:37+00:00</lastmod>
	</sitemap>
</sitemapindex>
<!-- XML Sitemap generated by Yoast SEO -->