Esri / storymap-shortlist

The Shortlist story map application template by Esri
http://storymaps.arcgis.com/en/app-list/shortlist/
Apache License 2.0
43 stars 61 forks source link

If the value of the Website field doesn't start with "http" or https, can we automatically append http:// to the value in the Website field. #6

Closed leebock closed 11 years ago

leebock commented 11 years ago

We tell users to put a full URL including the https:// or https:// into the Website field for those places they want a web link for. But if they don't do that, or forget to, would it be possible to automatically append http:// to the value they have to make it more robust. Currently if the Website field value for a place is,say, bar7dc.com without the http:// then in the Details popup, the Website link resolves to http://storymaps.esri.com/templates/shortlist/bar7dc.com which fails. I see this quite a lot even in Shortlists. Most authors aren't going to test all their links and shouldn't have to. It would be cool if the web address values that don't start with the string "http" or "http" get http:// prepended to them so that they don't fail. So the Website field value "bar7dc.com" would get resolved as http://bar7dc.com