Web Structured Page - PageMaps

What is pagemaps ?

PageMaps is a web markup format that adds arbitrary metadata to a web page.

They are useful to add any data to a web page that make sense only to your web application and that you might not want to display to users.

PageMaps supports arbitrary data as it does not require to follow a schema


They are blocks of XML that can be added to:

Web Page

PageMaps metadata are invisible blocks of XML included in the head section of the HTML page (not in the body of the HTML)

     <DataObject type="document">
        <Attribute name="title">What is pagesmap</Attribute>
        <Attribute name="author">Nicolas GERARD</Attribute>
        <Attribute name="description">Pagesmap add structure to your web page in order to extract meaningful information (ie structured)</Attribute>
        <Attribute name="rating">10</Attribute>
        <Attribute name="last_update">28/05/2020</Attribute>
     <DataObject type="thumbnail">
        <Attribute name="src" value="https://gerardnico.com/favicon.png" />
        <Attribute name="width" value="28" />
        <Attribute name="height" value="28" />
<!-- The content of the web page -->


Sitemap example (Ref)

<?xml version="1.0" encoding="UTF-8"?>
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
   <PageMap xmlns="http://www.google.com/schemas/sitemap-pagemap/1.0">
     <DataObject type="document" id="hibachi">
       <Attribute name="name">Dragon</Attribute>
       <Attribute name="review">3.5</Attribute>
   <PageMap xmlns="http://www.google.com/schemas/sitemap-pagemap/1.0">
     <DataObject type="document" id="biggreenegg">
       <Attribute name="name">Ribs</Attribute>
       <Attribute name="review">4.0</Attribute>

Documentation / Reference

Powered by ComboStrap