Skip to content

samuelgoto/microapps

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

permalink
index.html

microapps is an early proposal to extend schema.org with a presentation-based markup language (akin to HTML) that enables creating domain-agnostic interactable snippets in search engines (i.e. within their security and consistency constrains).

The XML-based notation is designed to de-couple application-specific factual semantics in schema.org (e.g. restaurants, museums, people and actions) with general-purpose presentation building blocks (e.g. paragraphs, text formatting, lists, headers, footers and forms), while still enabling their association.

<doc itemscope itemtype="http://schema.org/Restaurant">
  <title itemprop="name">Sam's restaurant</title>
  <p itemprop="description">Welcome to my restaurant!</p>
  <form itemprop="potentialAction" 
    itemscope
    itemtype="http://schema.org/ReserveAction"
    action="/create.php">
    <label for="name"></label>
    <input itemprop="agent name" name="name"></input>
    <input type="button"></input>
  </form>
</doc>

The elements are designed to be as compatible as possible to (and to resemble as much as possible) HTML. Unlike HTML, microapps elements operate under an environment (i.e. search engine results pages) with stricter requirements of styling consistency (e.g. they don't allow CSS) and scripting (e.g. no JS), increasing their embedability at the cost of their expressivity.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published