Richie JS version 1.1.4 🚀
Configurations

Configurations

Richie JS is pre-configured for user convenience, allowing developers to start using it immediately. For more granular control over input parsing and results, you can create an rjs.config.json file in your project's root directory.

This configuration file allows you to specify class names to look up for information in HTML, Which Richie JS will use them to generate rich results for your web pages. Additionally, it lets you customize certain behaviors and preferences of Richie JS to better suit your project's needs. By Intellisense Support we can customize configuration simpler and faster without issues.

Configuration File Structure

{
  "domainAddress": "cresteem.com",
  "timeFormat": "yyyy-MM-dd hh:mm a",
  "siteSearchBoxFieldName": "searchTerm",
  "reservedNames": {
    "aggregateRating": { ... },
    "reviews": { ... },
    "common": { ... },
    "article": { ... },
    "movie": { ... },
    "recipe": { ... },
    "course": { ... },
    "restaurant": { ... },
    "events": { ... },
    "faqPage": { ... },
    "video": { ... },
    "localBusiness": { ... },
    "organisation": { ... },
    "product": { ... },
    "profilePage": { ... },
    "softwareApp": { ... },
    "businessEntity": { ... }
  },
  "preference": { ... }
}

Configurations Description

Configurations can be divided into three parts:

Type: object
Description: Specifies where to look for information required to create rich result snippets.

Configurations available inside it are:

  1. common
  2. aggregateRating
  3. reviews
  4. article
  5. movie
  6. recipe
  7. course
  8. restaurant
  9. events
  10. faqPage
  11. video
  12. localBusiness
  13. organisation
  14. product
  15. profilePage
  16. softwareApp
  17. businessEntity

We will see each of them in dedicated page for more details about it. You can start it from Article



Let's see how to configure for each rich result in detail.




Keywords:
  • Customizing Richie JS
  • Intuitive Configuration
  • Developer Tools
  • Site Search Enhancement
  • Structured Data