Skip to content

Instantly share code, notes, and snippets.

@danielhauchler
Last active August 3, 2016 10:00
Show Gist options
  • Save danielhauchler/abf2c7a5575f21be4de5f4c2744b1b7c to your computer and use it in GitHub Desktop.
Save danielhauchler/abf2c7a5575f21be4de5f4c2744b1b7c to your computer and use it in GitHub Desktop.
schema-org-travelbusiness
<div itemscope itemtype="http://schema.org/hotel">
<img itemprop="logo" src="http://HOTEL-LOGO-PATH.svg" alt="" title="" />
<h1>
<a itemprop="url" href="#" title>
<span itemprop="name">### NAME OF HOTEL ###</span>
</a>
</h1>
<p itemprop="description">### ONE OF THE MOST BEAUTIFUL HOTELS ###</p>
<img itemprop="image" src="### http://HOTEL-IMAGE.jpg ###" title="" alt="" >
<div itemprop="address" itemscope itemtype="http://schema.org/PostalAddress">
<span itemprop="streetAddress">### STREET ADRESSE ###</span><br>
<span itemprop="postalCode">### ZIP CODE ###</span><span itemprop="addressLocality">### CITY ###</span><br>
<span itemprop="addressRegion">### REGION ###</span> / <span itemprop="addressCountry">### COUNTRY ###</span><br>
<a href="tel:### PHONE NUMBER ###">
Tel:<span itemprop="telephone">### PHONE NUMBER ###</span>
</a><br>
<a href="">
Fax:<span itemprop="faxNumber">### PHONE NUMBER ###</span>
</a><br>
<a href="mailto:### EMAIL ###">
E-mail: <span itemprop="email">### EMAIL ###</span>
</a>
</div>
<span itemprop="geo" itemscope itemtype="http://schema.org/GeoCoordinates">
<meta itemprop="latitude" content="### LATITUDE ###" />
<meta itemprop="longitude" content="### LONGITUDE ###" />
</span>
</div>
____
<script type="application/ld+json">
[
{
"@context": "http://schema.org",
"@type": "Hotel",
"owns": "Hubertushof Schönbach",
"address": {
"@type": "PostalAddress",
"addressLocality": "Schönbach",
"addressRegion": "Rheinland-Pfalz",
"postalCode": "54552",
"streetAddress": "Hubertushof"
},
"name": "Ferienwohnungen - Hubertushof Schönbach",
"openingHours": [
"Mo : 00:00 - 23:59 Uhr","Di : 00:00 - 23:59 Uhr","Mi : 00:00 - 23:59 Uhr","Do : 00:00 - 23:59 Uhr","Fr : 00:00 - 23:59 Uhr","Sa : 00:00 - 23:59 Uhr","So : 00:00 - 23:59 Uhr" ],
"priceRange": "$$$",
"paymentAccepted": "KreditKarte, EC-Karte, Barzahlung",
"currenciesAccepted": "Euro",
"telephone": "+49 (0) 2676 292",
"url": "www.hubertushof-schoenbach.de/",
"email": "kontakt@hubertushof-schoenbach.de",
"description": "Ferienhaus oder Ferienwohnung auf dem Bauernhof in der Eifel. Bauernhof Urlaub auf dem Hubertushof Schönbach in familiäre Atmosphäre in Rheinland Pfalz.",
"branchOf": "Nein",
"memberOf": ""
},
{
"@context": "http://schema.org",
"@type": "GeoCoordinates",
"longitude": "6.946347",
"latitude": "50.214849"
},
{
"@context": "http://schema.org",
"@type": "ImageObject",
"representativeOfPage": "false",
"thumbnail": "http://46.101.138.90/uploads/logo/hubertushof-schoenbach-logo.png" //not existing path to image
}
]
</script>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment