SlideShare a Scribd company logo
1 of 12
Download to read offline
Linking in Cascade Server


           Adam Griffis
        Software Engineer
      Hannon Hill Corporation
Outline


 ● Managed vs. Non-Managed Links
    ○ Why are some links managed and others not?
 ● Cross-Site Linking
 ● <link> Element for Index Blocks
    ○ Why is it preferable to path?
 ● Cross-Configuration Linking
Managed Links
 ● Tracked
     ○ If the linked asset is moved, the link will be updated.
 ● Link to another asset in Cascade
     ○ No prefix if in the same site
          ■ /path/to/asset
     ○ Site name prefix if in another site
          ■ site://sitename/path/to/asset
 ● Automatic for some attributes in XML-based assets
     ○ Pages, XML & XHTML Blocks, Templates, XSLT
       Formats
     ○ http://www.hannonhill.com/kb/Linking/#managed-
       links-within-assets-containing-xml
Managed Link Attributes
           Element   href   src   background
    a                 x
    area              x     x         x
    body                    x         x
    td                                x
    table                             x
    embed             x     x
    frame                   x
    iframe                  x
    img                     x
    input             x     x         x
    param             x     x         x
    link              x     x
    script                  x
Manually Making Links Managed
 ● Non XML-based Assets
     ○ Velocity Template
     ○ CSS
     ○ Javascript
 ● Attributes that aren't normally tracked
 ● [system-asset] tag
 ● "Rewrite Links in File" attribute must be checked.
Why would a link not be managed?
 ● No Asset with the given path present
 ● The path is in the wrong format
    ○ http://www.site.com/path/to/asset
 ● The path isn't within [system-asset] tags and isn't tracked
   automatically:
    ○ The path is not in a supported attribute
    ○ The document is not an xml-based asset.
Cross-Site Linking
 ● Just include the site://[site name]/ prefix
    ○ site://example.com/images/01.jpg
 ● Can only link between sites.
    ○ The global area can only be linked to by assets in the
      global area and can only link to other assets in the
      global area.
    ○ Any asset in a site can link to any other asset in the
      same site or another site, but cannot link to Global
      assets.
system-asset:local
 ● The system-asset:local tag means that the given path is
   evaluated for the page in which the link ultimately exists.
     ○ Useful for templates, reused blocks
 ● Example: Single banner HTML code, automatically
   customized to each site if they all have the banner image
   in the same location.
    ○ <img src="[system-asset:local]files/images/banner.jpg[/system-asset:local]"
      />
Index Blocks - <link> tag

 ● Preferable to the path tag because it includes the site prefix.
    ○ Should be used whenever using index blocks indexing
      other sites.
Linking between Configurations
  ● Links from a given configuration link to the same
    configuration on other pages.
      ○ Based on configuration name.
  ● [system-asset:configuration]
      ○ A page can link to a different configuration with the
        "system-asset:configuration" tag.
          ■ For example: a PDF download
               ■ <a href="[system-asset:configuration=pdf]/about/companyinfo.pdf
                 [/system-asset:configuration]"> Download our Company Guide PDF
                 </a>




 2011 User Conference
Destination URLs
  ● Introduced in 6.10
  ● Destination URLs are URL prefixes used when linking to
    configurations solely published to the given destination.




 2011 User Conference
Questions?



Email: adam.griffis@hannonhill.com

More Related Content

What's hot (11)

Drop acid
Drop acidDrop acid
Drop acid
 
Bootstrap Web Development Framework
Bootstrap Web Development FrameworkBootstrap Web Development Framework
Bootstrap Web Development Framework
 
Chapter 13
Chapter 13Chapter 13
Chapter 13
 
PhDigital 2020: Web Development
PhDigital 2020: Web DevelopmentPhDigital 2020: Web Development
PhDigital 2020: Web Development
 
Web Development Intro
Web Development IntroWeb Development Intro
Web Development Intro
 
Resume_RuiqiZhou_1012
Resume_RuiqiZhou_1012Resume_RuiqiZhou_1012
Resume_RuiqiZhou_1012
 
CSS
CSSCSS
CSS
 
Why Drupal?
Why Drupal?Why Drupal?
Why Drupal?
 
Html5
Html5Html5
Html5
 
Html5
Html5Html5
Html5
 
Languages and tools for web programming
Languages and tools for web  programmingLanguages and tools for web  programming
Languages and tools for web programming
 

Viewers also liked

Viewers also liked (6)

Strategy, Style and Students
Strategy, Style and Students Strategy, Style and Students
Strategy, Style and Students
 
Web services101
Web services101Web services101
Web services101
 
W&M's Responsive Design
W&M's Responsive DesignW&M's Responsive Design
W&M's Responsive Design
 
Ucf a utility belt approach to mobile
Ucf a utility belt approach to mobileUcf a utility belt approach to mobile
Ucf a utility belt approach to mobile
 
Cascade + Bootstrap = Awesome
Cascade + Bootstrap = AwesomeCascade + Bootstrap = Awesome
Cascade + Bootstrap = Awesome
 
Recruitment Marketing: Bridging the Gap Between Awareness & Commitment
Recruitment Marketing: Bridging the Gap Between Awareness & CommitmentRecruitment Marketing: Bridging the Gap Between Awareness & Commitment
Recruitment Marketing: Bridging the Gap Between Awareness & Commitment
 

Similar to Linking webinar

Contributions: what they are and how to find them
Contributions: what they are and how to find themContributions: what they are and how to find them
Contributions: what they are and how to find them
Pedro Cambra
 
Asp Net Advance Topics
Asp Net Advance TopicsAsp Net Advance Topics
Asp Net Advance Topics
Ali Taki
 

Similar to Linking webinar (20)

Performance (browser)
Performance (browser)Performance (browser)
Performance (browser)
 
Lightning web components - Introduction, component Lifecycle, Events, decorat...
Lightning web components - Introduction, component Lifecycle, Events, decorat...Lightning web components - Introduction, component Lifecycle, Events, decorat...
Lightning web components - Introduction, component Lifecycle, Events, decorat...
 
Implementing a Symfony Based CMS in a Publishing Company
Implementing a Symfony Based CMS in a Publishing CompanyImplementing a Symfony Based CMS in a Publishing Company
Implementing a Symfony Based CMS in a Publishing Company
 
Ez platform meetup, madrid 21 marzo 2018 english
Ez platform meetup, madrid 21 marzo 2018   englishEz platform meetup, madrid 21 marzo 2018   english
Ez platform meetup, madrid 21 marzo 2018 english
 
OpenCms Days 2015 Modern templates with nested containers
OpenCms Days 2015 Modern templates with nested containersOpenCms Days 2015 Modern templates with nested containers
OpenCms Days 2015 Modern templates with nested containers
 
Introduction to Web Components
Introduction to Web ComponentsIntroduction to Web Components
Introduction to Web Components
 
You Can Work on the Web Patform! (GOSIM 2023)
You Can Work on the Web Patform! (GOSIM 2023)You Can Work on the Web Patform! (GOSIM 2023)
You Can Work on the Web Patform! (GOSIM 2023)
 
Operation Migration: Migrating Static Content into Cascade Server with our ne...
Operation Migration: Migrating Static Content into Cascade Server with our ne...Operation Migration: Migrating Static Content into Cascade Server with our ne...
Operation Migration: Migrating Static Content into Cascade Server with our ne...
 
Web components
Web componentsWeb components
Web components
 
Tech Talk Live on Share Extensibility
Tech Talk Live on Share ExtensibilityTech Talk Live on Share Extensibility
Tech Talk Live on Share Extensibility
 
HTML, CSS & Javascript Architecture (extended version) - Jan Kraus
HTML, CSS & Javascript Architecture (extended version) - Jan KrausHTML, CSS & Javascript Architecture (extended version) - Jan Kraus
HTML, CSS & Javascript Architecture (extended version) - Jan Kraus
 
Dsc Charusat Learning React Part 1
Dsc Charusat Learning React Part 1 Dsc Charusat Learning React Part 1
Dsc Charusat Learning React Part 1
 
Architektura html, css i javascript - Jan Kraus
Architektura html, css i javascript - Jan KrausArchitektura html, css i javascript - Jan Kraus
Architektura html, css i javascript - Jan Kraus
 
Contributions: what they are and how to find them
Contributions: what they are and how to find themContributions: what they are and how to find them
Contributions: what they are and how to find them
 
Asp Net Advance Topics
Asp Net Advance TopicsAsp Net Advance Topics
Asp Net Advance Topics
 
Content's quality for Plone editors
Content's quality for Plone editorsContent's quality for Plone editors
Content's quality for Plone editors
 
Moving from AS3 to Flex - advantages, hazards, traps
Moving from AS3 to Flex - advantages, hazards, trapsMoving from AS3 to Flex - advantages, hazards, traps
Moving from AS3 to Flex - advantages, hazards, traps
 
Compile your Style
Compile your StyleCompile your Style
Compile your Style
 
Joomla X Overview
Joomla X OverviewJoomla X Overview
Joomla X Overview
 
Asp .net folders and web.config
Asp .net folders and web.configAsp .net folders and web.config
Asp .net folders and web.config
 

Recently uploaded

Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Safe Software
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
panagenda
 

Recently uploaded (20)

Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
 
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
 
CNIC Information System with Pakdata Cf In Pakistan
CNIC Information System with Pakdata Cf In PakistanCNIC Information System with Pakdata Cf In Pakistan
CNIC Information System with Pakdata Cf In Pakistan
 
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
 
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
 
MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024
 
MS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectorsMS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectors
 
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
 
DBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor PresentationDBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor Presentation
 
Spring Boot vs Quarkus the ultimate battle - DevoxxUK
Spring Boot vs Quarkus the ultimate battle - DevoxxUKSpring Boot vs Quarkus the ultimate battle - DevoxxUK
Spring Boot vs Quarkus the ultimate battle - DevoxxUK
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...
 
Artificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyArtificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : Uncertainty
 
AXA XL - Insurer Innovation Award Americas 2024
AXA XL - Insurer Innovation Award Americas 2024AXA XL - Insurer Innovation Award Americas 2024
AXA XL - Insurer Innovation Award Americas 2024
 
Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
 
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, AdobeApidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
 
Ransomware_Q4_2023. The report. [EN].pdf
Ransomware_Q4_2023. The report. [EN].pdfRansomware_Q4_2023. The report. [EN].pdf
Ransomware_Q4_2023. The report. [EN].pdf
 
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
 
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingRepurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
 

Linking webinar

  • 1. Linking in Cascade Server Adam Griffis Software Engineer Hannon Hill Corporation
  • 2. Outline ● Managed vs. Non-Managed Links ○ Why are some links managed and others not? ● Cross-Site Linking ● <link> Element for Index Blocks ○ Why is it preferable to path? ● Cross-Configuration Linking
  • 3. Managed Links ● Tracked ○ If the linked asset is moved, the link will be updated. ● Link to another asset in Cascade ○ No prefix if in the same site ■ /path/to/asset ○ Site name prefix if in another site ■ site://sitename/path/to/asset ● Automatic for some attributes in XML-based assets ○ Pages, XML & XHTML Blocks, Templates, XSLT Formats ○ http://www.hannonhill.com/kb/Linking/#managed- links-within-assets-containing-xml
  • 4. Managed Link Attributes Element href src background a x area x x x body x x td x table x embed x x frame x iframe x img x input x x x param x x x link x x script x
  • 5. Manually Making Links Managed ● Non XML-based Assets ○ Velocity Template ○ CSS ○ Javascript ● Attributes that aren't normally tracked ● [system-asset] tag ● "Rewrite Links in File" attribute must be checked.
  • 6. Why would a link not be managed? ● No Asset with the given path present ● The path is in the wrong format ○ http://www.site.com/path/to/asset ● The path isn't within [system-asset] tags and isn't tracked automatically: ○ The path is not in a supported attribute ○ The document is not an xml-based asset.
  • 7. Cross-Site Linking ● Just include the site://[site name]/ prefix ○ site://example.com/images/01.jpg ● Can only link between sites. ○ The global area can only be linked to by assets in the global area and can only link to other assets in the global area. ○ Any asset in a site can link to any other asset in the same site or another site, but cannot link to Global assets.
  • 8. system-asset:local ● The system-asset:local tag means that the given path is evaluated for the page in which the link ultimately exists. ○ Useful for templates, reused blocks ● Example: Single banner HTML code, automatically customized to each site if they all have the banner image in the same location. ○ <img src="[system-asset:local]files/images/banner.jpg[/system-asset:local]" />
  • 9. Index Blocks - <link> tag ● Preferable to the path tag because it includes the site prefix. ○ Should be used whenever using index blocks indexing other sites.
  • 10. Linking between Configurations ● Links from a given configuration link to the same configuration on other pages. ○ Based on configuration name. ● [system-asset:configuration] ○ A page can link to a different configuration with the "system-asset:configuration" tag. ■ For example: a PDF download ■ <a href="[system-asset:configuration=pdf]/about/companyinfo.pdf [/system-asset:configuration]"> Download our Company Guide PDF </a> 2011 User Conference
  • 11. Destination URLs ● Introduced in 6.10 ● Destination URLs are URL prefixes used when linking to configurations solely published to the given destination. 2011 User Conference