Richie JS version 1.1.4 🚀

Software app (SoftwareApplication)

What is software app?

Markup software application information on your web page to enhance the display of your app details in Google Search results.

Kindly Refer Google Doc (opens in a new tab) to know more about software app rich result.

What are necessary data for software app rich result?

1. Software / Game name

software-app.html
<div>
 
	<p class="rjs-sapp-1-name">God of War</p>
 
<div>

2. Operating system

đź’ˇ
If you have list of OS, separator should be comma (,)
software-app.html
<div>
  
  <p>
    Supported on:
    <span class="rjs-sapp-1-os">Windows, PS4</span>
  </p>
 
<div>

3. Category

software-app.html
<div>
  
  <p>
    Category:
    <span class="rjs-sapp-1-cat">Game</span>
  </p>
 
<div>

4. Aggregated Rating

software-app.html
<div>
  
  <div class="rjs-sapp-1-aggrate">
  
    <!-- rating value -->
    <p>
      <span class="arv">99</span> / <span class="mr">100</span>
    </p>
    
    <!-- rating counts -->
    <p>
      Number of rating:
      <span class="rc">90864000</span>
    </p>
    
  </div>
 
<div>

5. Price & Currency

đź’ˇ
Currency should be alpha-3 code.
software-app.html
<div>
  
  <p class="rjs-sapp-1-cost" data-currency="inr">2000</p>
 
<div>

Function and parameters

đź’ˇ
By default input file is overwriiten with result so destination is optional
This is only for API method. We prefer CLI method for keeping it simpler (refer - Working with API & CLI).
func_params.js
const richResultType = 'software';
const filePath = 'software-app.html';
const destination = 'dist/software-app.html'; /* optional */
 
richie(richResultType, filePath, destination);

Example of a Instance

software-app.html
<body>
 
	<div>
 
		<p class="rjs-sapp-1-name">God of War</p>
 
		<p>
			Category:
			<span class="rjs-sapp-1-cat">Game</span>
		</p>
 
		<p>
			Supported on:
			<span class="rjs-sapp-1-os">Windows, PS4</span>
		</p>
 
		<!-- aggregate rating -->
		<div class="rjs-sapp-1-aggrate">
			<!-- rating value -->
			<p>
				<span class="arv">99</span> / <span class="mr">100</span>
			</p>
 
			<!-- rating counts -->
			<p>Number of rating:
				<span class="rc">90864000</span>
			</p>
		</div>
 
		<p class="rjs-sapp-1-cost" data-currency="inr">2000</p>
 
	</div>
 
</body>
 

Output of a Instance

software-app.html
<script type="application/ld+json">
[
  {
    "@context": "https://schema.org",
    "@type": "SoftwareApplication",
    "name": "God of War",
    "operatingSystem": ["WINDOWS", " PS4"],
    "applicationCategory": "GameApplication",
    "aggregateRating": {
      "@type": "AggregateRating",
      "ratingValue": 99,
      "bestRating": 100,
      "ratingCount": 90864000
    },
    "offers": { "price": 2000, "priceCurrency": "INR" }
  }
]
</script>


Let's see what's next!