Giter Site home page Giter Site logo

microformat's Introduction

EXT:microformat

Example

fluid-template

{namespace m=HDNET\Microformat\ViewHelper}

<m:format.jsonLd showInHead="1" jsonPrettyPrint="1">
	<m:microformat.event name="Tanz in den Mai" description="Tolle Tanzveranstaltung mit netten Menschen." url="http://domaine.de/tanz-in-den-mai.html" location="Festzelt auf dem Marktplatz" isAccessibleForFree="true">
		<m:microformat.imageObject key="image" caption="Bild 1" url='http://domaine.de/bild1.jpg'></m:microformat.imageObject>
		<m:microformat.imageObject key="image" caption="Bild 2" url='http://domaine.de/bild2.jpg'></m:microformat.imageObject>
		<m:microformat.imageObject key="image" caption="Bild 3" url='http://domaine.de/bild3.jpg'></m:microformat.imageObject>
	</m:microformat.event>
</m:format.jsonLd>

output in the html

<script type="application/ld+json">
   {
       "image": [
           {
               "@context": "http://schema.org",
               "@type": "ImageObject",
               "url": "http://domaine.de/bild1.jpg",
               "caption": "Bild 1"
           },
           {
               "@context": "http://schema.org",
               "@type": "ImageObject",
               "url": "http://domaine.de/bild2.jpg",
               "caption": "Bild 2"
           },
           {
               "@context": "http://schema.org",
               "@type": "ImageObject",
               "url": "http://domaine.de/bild3.jpg",
               "caption": "Bild 3"
           }
       ],
       "@context": "http://schema.org",
       "@type": "Event",
       "description": "Tolle Tanzveranstaltung mit netten Menschen.",
       "name": "Tanz in den Mai",
       "url": "http://domaine.de/tanz-in-den-mai.html",
       "isAccessibleForFree": true,
       "location": "Festzelt auf dem Marktplatz"
   }
</script>```

microformat's People

Contributors

cabi avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.