Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.

No More Broken Links

1,101 views

Published on

My Presentation from Beyond the Bleeding Edge at STC13: No More Broken Links

Published in: Technology, Design
  • Be the first to comment

  • Be the first to like this

No More Broken Links

  1. 1. No More Broken LinksMark BakerAnalecta Communications Inc.
  2. 2. Why do links break? Somebody moved the cheeseABD ECTaking Tech Comm to the Web 2
  3. 3. Links in HTML<p>Hawkes‘ final film is a lightheartedWestern in the Rio Bravo mold, with<ahref="http://www.johnwayne.com/">the Duke</a> as an ex-Union colonelout to settle some old scores.</p>Taking Tech Comm to the Web 3
  4. 4. Hard Links A hard link identifies a resource to link toTaking Tech Comm to the Web 4
  5. 5. Hard links are hard work Author discovers a resource tolink to Author creates link to chosenresource Author manages and updateslink over timeTaking Tech Comm to the Web 5
  6. 6. Hard Linking Topics contain direct links to othertopicsABD ECTaking Tech Comm to the Web 6
  7. 7. The problem with hard linking If a topic is reused in more than onelocation, what do you do about the links?ABD ECFirst useADCSecond useF?Taking Tech Comm to the Web 7
  8. 8. Remove all the links? Lonely topicsABD ECADCFirst use Second useFTaking Tech Comm to the Web 8
  9. 9. Externalize the links Move the links to a map file New map file required for each use Heavy creation and maintenance burden Will tend to limit amount of linking that is practicalFirst use Second useMap file for first useA  BA  CA  DA  EMap file for second useA  CA  DA  FTaking Tech Comm to the Web 9
  10. 10. Soft linking A soft link identifies the subject thatis mentionedTaking Tech Comm to the Web 10
  11. 11. Soft links in XML<p><director name="HowardHawkes">Hawkes</director> finalfilm is a lighthearted Western in the<movie>Rio Bravo</movie> mold,with <actor name="John Wayne">theDuke</actor> as an ex-Union colonelout to settle some old scores.</p>Taking Tech Comm to the Web 11
  12. 12. How do links get made Topics are indexed by subjectTaking Tech Comm to the Web 12
  13. 13. Topic indexing in XML<topic name="john-wayne-bio"><index><reference type="actor"><key>John Wayne</key></reference><reference type="producer"><key>John Wayne</key></reference></index>…</topic>Taking Tech Comm to the Web 13
  14. 14. Links discovered via topic indexesTaking Tech Comm to the Web 14
  15. 15. Soft linking != redirection No resource is identified in any wayTaking Tech Comm to the Web 15
  16. 16. Connection is by subject only No resource has to exist to name asubjectTaking Tech Comm to the Web 16
  17. 17. Soft linking and reuse Links are created by querying the availabletopics in each place a topic is usedABD ECFirst use Second useADCFTaking Tech Comm to the Web 17
  18. 18. What if no topic found? Sometime there will be no topic in thecurrent set for a referenceADCFTaking Tech Comm to the Web 18
  19. 19. Not topic, no link! No broken link, because no link tobreakADCFTaking Tech Comm to the Web 19
  20. 20. What if multiple topics found? More than one topic can cover the same subjectTaking Tech Comm to the Web 20
  21. 21. Handling multiple link targets 1 Create a popupwith multiple linksTopics on JohnWayne• Filmography• BiographyTaking Tech Comm to the Web 21
  22. 22. Handling multiple link targets 2 Gather all the linksat the end of thetopicMore on John Wayne• Filmography• BiographyTaking Tech Comm to the Web 22
  23. 23. Questions? Contact information Mark Baker Analecta Communications Inc. mbaker@analecta.com Twitter: @mbakeranalecta Company: http://analecta.com Blog: http://everypageispageone.com Book: http://xmlpress.net/publications/eppo/Taking Tech Comm to the Web 23

×