Open Sitez Documentation

Documentation main page

 

Web directories are a type of website that lists and organizes links to other websites. They were very popular in the early days of the internet, but have declined in popularity in recent years due to the rise of search engines. However, web directories can still be useful for finding websites on specific topics or for finding local businesses.

Example YAML for a link directory in Open Sitez:

routes:
  directory:
    type: linkdirectory
    feature: 12
    map:
      show: true
      api-key: [mapbox_apikey]
      address-fields:
        - title
        - address
        - zipcode
        - state
        - country
    category:
      hide:
        - publicaccess
        - cost
        - phone
    before:
      <h1>This is the link directory.</h1>
    after:
      <p>This is the end of the link directory.</p>

Parameter explanations:

  • type: linkdirectory: This option specifies that the route is a link directory route.
  • feature: 12: This option specifies whether the link directory should be featured on the homepage. If this option is set to 1, the link directory will be featured on the homepage.
  • map: show: true: This option enables the map for the link directory.
  • map: api-key: [mapbox_apikey]: This option specifies the Mapbox API key to use for the map.
  • map: address-fields: [title, address, zipcode, state, country]: This option specifies the address fields to use for the map.
  • category: hide: [publicaccess, cost, phone]: This option hides the specified categories from the link directory.
  • before: This section is displayed before the link directory.
  • after: This section is displayed after the link directory.

Example with before and after:

routes:
  directory:
    type: linkdirectory
    feature: 12
    before:
      <h1>This is the link directory.</h1>
    after:
      <p>This is the end of the link directory.</p>

This link directory will have the text "This is the link directory." displayed before it and the text "This is the end of the link directory." displayed after it. Link directories are a way to store a group of information that is hierarchical, like Yahoo! Directory in its original form. They allow you to organize your links into categories and subcategories, making them easy to find and browse.

Given each item supports custom content types, Link directories can be used for a variety of purposes, such as:

  • Creating a directory of your favorite websites
  • Creating a directory of resources for a specific topic, each item can have specific fields
  • Creating a directory of your own website pages
  • Creating a directory of local businesses or organizations
  • Creating a directory of products or services

The link directory plugin in Open Sitez allows you to create and manage link directories on your website. It provides a variety of features, such as the ability to:

  • Add links to your directory
  • Organize your links into categories and subcategories
  • Add images and descriptions to your links
  • Hide categories from your directory
  • Display a map of the links in your directory