Skip to main content
Participant
May 16, 2024
Answered

ASCII placed text hyperlink troubles

  • May 16, 2024
  • 2 replies
  • 500 views

Hello Everyone,

Long time lurker, first time poster.

I've scoured this forum and other places, but can't pin-point the solution.

 

I get text exported from an outside system into an ASCII-WIN text file with tagged text and place it linked into my InDesign file. Half the links work and the other half, the links don't even make it (the only thing that comes through is http:// in the Hyperlinks panel)

 

Here's the text (I've also attached the txt file):
I know the URL's are not delimiting special characters, but why do the first 13 links work?

Any help would be greatly appreciated.

<ASCII-WIN>
<DefineParaStyle:SectionTitle>
<DefineParaStyle:SectionDescription>
<DefineParaStyle:SubsectionTitle>
<DefineParaStyle:SubsectionDescription>
<DefineParaStyle:ActivityTitle>
<DefineParaStyle:ActivityDescription>
<DefineCharStyle:CourseTitle>
<DefineParaStyle:CourseDescription>
<DefineParaStyle:CourseInfo>
<ParaStyle:SubsectionTitle>Teen and Adult Martial Arts
<ParaStyle:ActivityTitle>Jujitsu Self-Defense
<ParaStyle:ActivityDescription>Learn traditional and comprehensive martial arts skills such as striking, throwing, joint locking, kicking, escaping, grappling, and weapon defense applications (sticks, knife, gun, staff, sword, cord, and others) as well as functional healing arts. Continuing participants potentially advance through black belt ranks. 
A $35 association fee is due to the instructor on the first day of class.
<ParaStyle:CourseInfoLocation>Verdugo Park
<Hyperlink:=<HyperlinkDest:https://cr-dev.burbankparks.com/CA/burbank-ca/catalog?filter=c2VhcmNoPTEwMTA=><HyperlinkLength:4><HyperlinkStartOffset:0><BrdrVisible:0>>1010 | <ParaStyle:CourseTimingA>LAB<0x0009>Ages: 18+<0x0009>Fee: $200
<ParaStyle:CourseTimingB>Saturdays | 9/07-11/09 | 10:00am-12:15pm
<ParaStyle:CourseTimingB>Tuesdays, Thursdays | 9/03-11/07 | 7:00pm-9:15pm
<Hyperlink:=<HyperlinkDest:https://cr-dev.burbankparks.com/CA/burbank-ca/catalog?filter=c2VhcmNoPTEwMTA=><HyperlinkLength:4><HyperlinkStartOffset:0><BrdrVisible:0>>1010 | <ParaStyle:CourseTimingA>LAB<0x0009>Ages: 18+<0x0009>Fee: $200
<ParaStyle:CourseTimingB>Saturdays | 9/07-11/09 | 10:00am-12:15pm
<ParaStyle:CourseTimingB>Tuesdays, Thursdays | 9/03-11/07 | 7:00pm-9:15pm
<Hyperlink:=<HyperlinkDest:https://cr-dev.burbankparks.com/CA/burbank-ca/catalog?filter=c2VhcmNoPTEwMTE=><HyperlinkLength:4><HyperlinkStartOffset:0><BrdrVisible:0>>1011 | <ParaStyle:CourseTimingA>LAB<0x0009>Ages: 18+<0x0009>Fee: $125
<ParaStyle:CourseTimingB>Saturdays | 9/07-11/09 | 10:00am-12:15pm
<ParaStyle:SubsectionTitle>Teen and Adult Sports & Fitness
<ParaStyle:ActivityTitle>Pilates = Weight Loss + Strength + Flexibility
<ParaStyle:ActivityDescription>Experience Pilates for an unparalleled total body workout! This class offers a unique blend of traditional Pilates and innovative exercises that will tone your abs, back, buns, thighs, and arms. Improve your balance, posture, flexibility, and overall strength. This cutting-edge workout is tailored for all fitness levels. Modifications are given for beginners, emphasizing safety first for all. Bring a mat and let's transform your body.
<ParaStyle:CourseInfoLocation>McCambridge Recreation Center
<Hyperlink:=<HyperlinkDest:https://cr-dev.burbankparks.com/CA/burbank-ca/catalog?filter=c2VhcmNoPTEwMDE=><HyperlinkLength:4><HyperlinkStartOffset:0><BrdrVisible:0>>1001 | <ParaStyle:CourseTimingA>Room 4<0x0009>Ages: 18+<0x0009>Fee: $140
<ParaStyle:CourseTimingB>Tuesdays | 9/03-11/05 | 6:00pm-7:00pm
<Hyperlink:=<HyperlinkDest:https://cr-dev.burbankparks.com/CA/burbank-ca/catalog?filter=c2VhcmNoPTEwMDM=><HyperlinkLength:4><HyperlinkStartOffset:0><BrdrVisible:0>>1003 | <ParaStyle:CourseTimingA>Room 4<0x0009>Ages: 18+<0x0009>Fee: $140
<ParaStyle:CourseTimingB>Thursdays | 9/05-11/07 | 6:00pm-7:00pm
<Hyperlink:=<HyperlinkDest:https://cr-dev.burbankparks.com/CA/burbank-ca/catalog?filter=c2VhcmNoPTEwMDY=><HyperlinkLength:4><HyperlinkStartOffset:0><BrdrVisible:0>>1006 | <ParaStyle:CourseTimingA>Room 4<0x0009>Ages: 18+<0x0009>Fee: $28
<ParaStyle:CourseTimingB>Tuesdays | 12/03-12/10 | 6:00pm-7:00pm
<Hyperlink:=<HyperlinkDest:https://cr-dev.burbankparks.com/CA/burbank-ca/catalog?filter=c2VhcmNoPTEwMDg=><HyperlinkLength:4><HyperlinkStartOffset:0><BrdrVisible:0>>1008 | <ParaStyle:CourseTimingA>Room 4<0x0009>Ages: 18+<0x0009>Fee: $28
<ParaStyle:CourseTimingB>Thursdays | 12/05-12/12 | 6:00pm-7:00pm
<ParaStyle:CourseInfoLocation>Mary Alvord Recreation Center
<Hyperlink:=<HyperlinkDest:https://cr-dev.burbankparks.com/CA/burbank-ca/catalog?filter=c2VhcmNoPTEwMDI=><HyperlinkLength:4><HyperlinkStartOffset:0><BrdrVisible:0>>1002 | <ParaStyle:CourseTimingA>Gym All<0x0009>Ages: 18+<0x0009>Fee: $140
<ParaStyle:CourseTimingB>Wednesdays | 9/04-11/06 | 9:45am-10:45am
<Hyperlink:=<HyperlinkDest:https://cr-dev.burbankparks.com/CA/burbank-ca/catalog?filter=c2VhcmNoPTEwMDQ=><HyperlinkLength:4><HyperlinkStartOffset:0><BrdrVisible:0>>1004 | <ParaStyle:CourseTimingA>Gym All<0x0009>Ages: 18+<0x0009>Fee: $140
<ParaStyle:CourseTimingB>Fridays | 9/06-11/08 | 9:45am-10:45am
<Hyperlink:=<HyperlinkDest:https://cr-dev.burbankparks.com/CA/burbank-ca/catalog?filter=c2VhcmNoPTEwMDA=><HyperlinkLength:4><HyperlinkStartOffset:0><BrdrVisible:0>>1000 | <ParaStyle:CourseTimingA>Gym All<0x0009>Ages: 18+<0x0009>Fee: $126
<ParaStyle:CourseTimingB>Mondays | 9/09-11/04 | 9:45am-10:45am
<Hyperlink:=<HyperlinkDest:https://cr-dev.burbankparks.com/CA/burbank-ca/catalog?filter=c2VhcmNoPTEwMDU=><HyperlinkLength:4><HyperlinkStartOffset:0><BrdrVisible:0>>1005 | <ParaStyle:CourseTimingA>Gym All<0x0009>Ages: 18+<0x0009>Fee: $28
<ParaStyle:CourseTimingB>Mondays | 12/02-12/09 | 9:45am-10:45am
<Hyperlink:=<HyperlinkDest:https://cr-dev.burbankparks.com/CA/burbank-ca/catalog?filter=c2VhcmNoPTEwMDc=><HyperlinkLength:4><HyperlinkStartOffset:0><BrdrVisible:0>>1007 | <ParaStyle:CourseTimingA>Gym All<0x0009>Ages: 18+<0x0009>Fee: $28
<ParaStyle:CourseTimingB>Wednesdays | 12/04-12/11 | 9:45am-10:45am
<Hyperlink:=<HyperlinkDest:https://cr-dev.burbankparks.com/CA/burbank-ca/catalog?filter=c2VhcmNoPTEwMDk=><HyperlinkLength:4><HyperlinkStartOffset:0><BrdrVisible:0>>1009 | <ParaStyle:CourseTimingA>Gym All<0x0009>Ages: 18+<0x0009>Fee: $28
<ParaStyle:CourseTimingB>Fridays | 12/06-12/13 | 9:45am-10:45am
<ParaStyle:SubsectionTitle>Teen/Adult Martial Arts
<ParaStyle:ActivityTitle>Jujitsu Self-Defense
<ParaStyle:ActivityDescription>Learn traditional and comprehensive martial arts skills such as striking, throwing, joint locking, kicking, escaping, grappling, and weapon defense applications (sticks, knife, gun, staff, sword, cord, and others) as well as functional healing arts. Continuing participants potentially advance through black belt ranks. 
A $35 association fee is due to the instructor on the first day of class.
<ParaStyle:CourseInfoLocation>Verdugo Park
<Hyperlink:=<HyperlinkDest:https://cr-dev.burbankparks.com/CA/burbank-ca/catalog?filter=c2VhcmNoPTEwMTI=><HyperlinkLength:4><HyperlinkStartOffset:0><BrdrVisible:0>>1012 | <ParaStyle:CourseTimingA>LAB<0x0009>Ages: 18+<0x0009>Fee: $200
<ParaStyle:CourseTimingB>Saturdays | 6/15-8/10 | 10:00am-12:15pm
<ParaStyle:CourseTimingB>Tuesdays, Thursdays | 6/11-8/08 | 7:00pm-9:15pm
<Hyperlink:=<HyperlinkDest:https://cr-dev.burbankparks.com/CA/burbank-ca/catalog?filter=c2VhcmNoPTEwMTI=><HyperlinkLength:4><HyperlinkStartOffset:0><BrdrVisible:0>>1012 | <ParaStyle:CourseTimingA>LAB<0x0009>Ages: 18+<0x0009>Fee: $200
<ParaStyle:CourseTimingB>Saturdays | 6/15-8/10 | 10:00am-12:15pm
<ParaStyle:CourseTimingB>Tuesdays, Thursdays | 6/11-8/08 | 7:00pm-9:15pm
<ParaStyle:SubsectionTitle>Teen/Adult Sports & Fitness
<ParaStyle:ActivityTitle>Pilates = Weight Loss + Strength + Flexibility
<ParaStyle:ActivityDescription>Experience Pilates for an unparalleled total body workout! This class offers a unique blend of traditional Pilates and innovative exercises that will tone your abs, back, buns, thighs, and arms. Improve your balance, posture, flexibility, and overall strength. This cutting-edge workout is tailored for all fitness levels. Modifications are given for beginners, emphasizing safety first for all. Bring a mat and let's transform your body.
<ParaStyle:CourseInfoLocation>Olive Recreation Center
<Hyperlink:=<HyperlinkDest:https://cr-dev.burbankparks.com/CA/burbank-ca/catalog?filter=c2VhcmNoPTEwMTM=><HyperlinkLength:4><HyperlinkStartOffset:0><BrdrVisible:0>>1013 | <ParaStyle:CourseTimingA>Basketball Gym All<0x0009>Ages: 18+<0x0009>Fee: $125
<ParaStyle:CourseTimingB>Mondays | 6/10-8/05 | 9:45am-10:45am
<Hyperlink:=<HyperlinkDest:https://cr-dev.burbankparks.com/CA/burbank-ca/catalog?filter=c2VhcmNoPTEwMTQ=><HyperlinkLength:4><HyperlinkStartOffset:0><BrdrVisible:0>>1014 | <ParaStyle:CourseTimingA>Basketball Gym All<0x0009>Ages: 18+<0x0009>Fee: $115
<ParaStyle:CourseTimingB>Wednesdays | 6/12-8/07 | 9:45am-10:45am
<Hyperlink:=<HyperlinkDest:https://cr-dev.burbankparks.com/CA/burbank-ca/catalog?filter=c2VhcmNoPTEwMTU=><HyperlinkLength:4><HyperlinkStartOffset:0><BrdrVisible:0>>1015 | <ParaStyle:CourseTimingA>Basketball Gym All<0x0009>Ages: 18+<0x0009>Fee: $125
<ParaStyle:CourseTimingB>Fridays | 6/14-8/09 | 9:45am-10:45am
<ParaStyle:CourseInfoLocation>McCambridge Recreation Center
<Hyperlink:=<HyperlinkDest:https://cr-dev.burbankparks.com/CA/burbank-ca/catalog?filter=c2VhcmNoPTEwMTY=><HyperlinkLength:4><HyperlinkStartOffset:0><BrdrVisible:0>>1016 | <ParaStyle:CourseTimingA>Room 4<0x0009>Ages: 18+<0x0009>Fee: $130
<ParaStyle:CourseTimingB>Tuesdays | 6/11-8/06 | 6:30pm-7:30pm
<Hyperlink:=<HyperlinkDest:https://cr-dev.burbankparks.com/CA/burbank-ca/catalog?filter=c2VhcmNoPTEwMTc=><HyperlinkLength:4><HyperlinkStartOffset:0><BrdrVisible:0>>1017 | <ParaStyle:CourseTimingA>Room 4<0x0009>Ages: 18+<0x0009>Fee: $120
<ParaStyle:CourseTimingB>Thursdays | 6/13-8/08 | 6:30pm-7:30pm

 

This topic has been closed for replies.
Correct answer ParksAndRec29181431q253

yeah, the devs of the service that exports this data are not updating and any update/feature request moves at a glacial pace. I'm going to try and find a properly made tagged text doc and use a script to rewrite the txt file (find : and replace with \: , etc). I know I can export a properly written tagged text doc... but I need to read up on a guide on the syntax. Been looking online, but can't find definitive info on this.

Thank you for giving it a try!

2 replies

Robert at ID-Tasker
Legend
May 17, 2024

@ParksAndRec29181431q253 

 

At first - no hyperlinks would import.

 

But after exporting InDesign Tagged Text - and checking correct structure - it looks like some of the characters in the hyperlink should be "escaped" - "?", "/", ":":

 

 

But for some reason, it's not working on all hyperlinks - and then some of the unescaped hyperlinks start working?!?!

 

Overall - your InDesgin Tagged Text is wrong - software that is preparing those files needs to be updated.

 

ParksAndRec29181431q253AuthorCorrect answer
Participant
May 20, 2024

yeah, the devs of the service that exports this data are not updating and any update/feature request moves at a glacial pace. I'm going to try and find a properly made tagged text doc and use a script to rewrite the txt file (find : and replace with \: , etc). I know I can export a properly written tagged text doc... but I need to read up on a guide on the syntax. Been looking online, but can't find definitive info on this.

Thank you for giving it a try!

James Gifford—NitroPress
Legend
May 16, 2024

This is into a very weak area of my ID-fu, but I was unable to make any successful placement of the content. The hyperlinks all come up faulty and I can't seem to dig deep enough to find out why. I tried both through direct placement of the TXT file and by passing it through InCopy.

Participant
May 17, 2024

Thank you giving it a try! I didn't even think to go through InC on this. For some reason, I was able to get valid links out of the first 12 or so links and that's even more confusing as to why it worked out that way than not having any working at all.