Link & text mangling in old TRs

  • kamtron
  • [kamtron]
  • kamtron's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
12 Jul 2020 13:16 #233869 by kamtron
Link & text mangling in old TRs was created by kamtron
I've been looking at a couple of old TRs, and it seems like the transition to the new platform is mangling some of the links and removing text from the old descriptions.
For examples, see:
turns-all-year.com/trip-reports/july-12-...boulder-park-cleaver
turns-all-year.com/trip-reports/june-15-...ker-high-level-orbit

I don't mind the mangled links as much as the missing text.

Please Log in or Create an account to join the conversation.

  • Lowell_Skoog
  • [Lowell_Skoog]
  • Lowell_Skoog's Avatar
  • Offline
  • Platinum Member
  • Platinum Member
More
12 Jul 2020 19:37 #233870 by Lowell_Skoog
Replied by Lowell_Skoog on topic Link & text mangling in old TRs
I've noticed this too. Here's a TR that was partially mangled:

turns-all-year.com/trip-reports/june-24-...ummer-ski-tournament

The opening text should say:

Theidea for this outing was described a few weeks ago in this thread .

For 15 years, since I learned about Miss Olga Bolstad and her victory in the
first ski tournament on Mt Rainier in 1917, I've been inspired by the thought
of reenacting the event on its centennial.

I was daunted a little by the realization that by 2017 I'd be 60 years old, and
maybe ski jumping wouldn't be such a great idea.  But reality has proven
better than my fears, so I decided to give it a whirl.

There was also another photo (with caption) following the missing text. It came right after the text quoted above, but is not displayed on the new site. I've seen similar problems on several of my old posts. I'm wondering if it is related to the thread reference in my original post. For what it's worth, here's the thread reference, which still goes where it's supposed to:

turns-all-year.com/forum/random-tracks/52291

Please Log in or Create an account to join the conversation.

  • kamtron
  • [kamtron]
  • kamtron's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
15 Jul 2020 09:50 #233871 by kamtron
Replied by kamtron on topic Link & text mangling in old TRs
It appears that the parsing the old links into the new format is somewhat broken... the original text has been dumped into the link data.

Please Log in or Create an account to join the conversation.

  • kamtron
  • [kamtron]
  • kamtron's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
19 Dec 2020 15:50 #234320 by kamtron
Replied by kamtron on topic Link & text mangling in old TRs
Noticed another of these links got mangled in an old TR:
turns-all-year.com/trip-reports/may-19-2012-black-peak-nw-face

Not sure what the priority is to fix this, but it requires some tech savvy to actually access all the TR text.

Please Log in or Create an account to join the conversation.

  • kamtron
  • [kamtron]
  • kamtron's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
01 Feb 2021 10:47 #234580 by kamtron

Please Log in or Create an account to join the conversation.

  • kamtron
  • [kamtron]
  • kamtron's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
01 Feb 2021 10:47 #234581 by kamtron
Replied by kamtron on topic Link & text mangling in old TRs
Pavel, do you want some help writing a regex to re-convert the old TRs into whatever format you need in the new site?

Please Log in or Create an account to join the conversation.

  • MtnPavlas
  • [mtnpavlas]
  • MtnPavlas's Avatar
  • Away
  • Administrator
  • Administrator
More
01 Feb 2021 12:14 #234583 by MtnPavlas
Replied by MtnPavlas on topic Link & text mangling in old TRs
Thank you for reporting the "broken" TR's ... I've updated all listed above.

Caught most of these during data migration, but there were a couple odd-ball use cases where my script didn't work, and I had to cut my losses somewhere. @kamtron, if you'd like to run a few queries in the d/b to see if you can clean up the rest, that'd be great (please ping me via PM ).

Otherwise, please keep reporting these as you come across them, and I'll keep fixing them by hand : )

Please Log in or Create an account to join the conversation.

  • kamtron
  • [kamtron]
  • kamtron's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
18 Feb 2021 17:04 #234721 by kamtron
Replied by kamtron on topic Link & text mangling in old TRs
Here's another one:
turns-all-year.com/trip-reports/april-7-...rs-range-traverse-wa

Sorry it's been a busy month... I'll eventually find some time to try and automate this with the links you sent.

Please Log in or Create an account to join the conversation.

  • kamtron
  • [kamtron]
  • kamtron's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
18 Feb 2021 17:13 #234722 by kamtron

Please Log in or Create an account to join the conversation.

  • kamtron
  • [kamtron]
  • kamtron's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
25 Feb 2021 08:42 #234763 by kamtron

Please Log in or Create an account to join the conversation.

  • MtnPavlas
  • [mtnpavlas]
  • MtnPavlas's Avatar
  • Away
  • Administrator
  • Administrator
More
26 Mar 2021 14:53 #234934 by MtnPavlas
Replied by MtnPavlas on topic Link & text mangling in old TRs
Thanks, kamtron - these have all been edited.
The following user(s) said Thank You: kamtron

Please Log in or Create an account to join the conversation.