Use "Substitute()" for specific links in the Weather Pack

#1

I’m working on a Coda Weather Doc to display the weather at all of our venues. The page for Radar is the most used, so I created a specific link in Coda using the “Substitute()” function…

[Current Weather].Url.Substitute("current-weather","weather-radar").Hyperlink("🛰Radar")

I have a column, [Current Weather], that pulls in all the information from the Weather Pack first. Then the formula above goes in a [Radar Link] column and pulls the Url from [Current Weather].

AccuWeather’s links are nice readable links which makes them easy to create.

…accuweather.com/en/us/stone-mountain-ga/30083/current-weather/337724?lang=en-us

Turns into…

…accuweather.com/en/us/stone-mountain-ga/30083/weather-radar/337724?lang=en-us

Nothing fancy or complicated, just a fun way to edit and customize links.

2 Likes
#2

Nice tip! Great to see how you can combine the formula with the pack result to enable a new scenario.