Uploaded image for project: 'Sling'
  1. Sling
  2. SLING-466

JST scripting engine: render indexable HTML and separate javascript code

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Scripting
    • Labels:
      None

      Description

      The JST scripting engine should output a default HTML rendering, meant to be indexed by search engines, with a <script> element that points to a separate javascript resource to render the page.

      The idea is that the javascript code will be cached by client browsers, being the same for all resources that have the same sling:resourceType.

      The HTML rendering should include a meaningful <title> element, using the value of a property named "title" or "description", if present, or the node name if not.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              bdelacretaz Bertrand Delacretaz
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: