No More Broken LinksMark BakerAnalecta Communications Inc.
Why do links break? Somebody moved the cheeseABD ECTaking Tech Comm to the Web 2
Links in HTML<p>Hawkes‘ final film is a lightheartedWestern in the Rio Bravo mold, with<ahref="http://www.johnwayne.com/">...
Hard Links A hard link identifies a resource to link toTaking Tech Comm to the Web 4
Hard links are hard work Author discovers a resource tolink to Author creates link to chosenresource Author manages and...
Hard Linking Topics contain direct links to othertopicsABD ECTaking Tech Comm to the Web 6
The problem with hard linking If a topic is reused in more than onelocation, what do you do about the links?ABD ECFirst u...
Remove all the links? Lonely topicsABD ECADCFirst use Second useFTaking Tech Comm to the Web 8
Externalize the links Move the links to a map file New map file required for each use Heavy creation and maintenance bu...
Soft linking A soft link identifies the subject thatis mentionedTaking Tech Comm to the Web 10
Soft links in XML<p><director name="HowardHawkes">Hawkes</director> finalfilm is a lighthearted Western in the<movie>Rio B...
How do links get made Topics are indexed by subjectTaking Tech Comm to the Web 12
Topic indexing in XML<topic name="john-wayne-bio"><index><reference type="actor"><key>John Wayne</key></reference><referen...
Links discovered via topic indexesTaking Tech Comm to the Web 14
Soft linking != redirection No resource is identified in any wayTaking Tech Comm to the Web 15
Connection is by subject only No resource has to exist to name asubjectTaking Tech Comm to the Web 16
Soft linking and reuse Links are created by querying the availabletopics in each place a topic is usedABD ECFirst use Sec...
What if no topic found? Sometime there will be no topic in thecurrent set for a referenceADCFTaking Tech Comm to the Web 18
Not topic, no link! No broken link, because no link tobreakADCFTaking Tech Comm to the Web 19
What if multiple topics found? More than one topic can cover the same subjectTaking Tech Comm to the Web 20
Handling multiple link targets 1 Create a popupwith multiple linksTopics on JohnWayne• Filmography• BiographyTaking Tech ...
Handling multiple link targets 2 Gather all the linksat the end of thetopicMore on John Wayne• Filmography• BiographyTaki...
Questions? Contact information Mark Baker Analecta Communications Inc. mbaker@analecta.com Twitter: @mbakeranalecta ...
Upcoming SlideShare
Loading in …5
×

No More Broken Links

604 views
529 views

Published on

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

Published in: Technology, Design
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total views
604
On SlideShare
0
From Embeds
0
Number of Embeds
4
Actions
Shares
0
Downloads
6
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

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

×