<div dir="ltr"><div>Thanks for your replies!</div><div><br></div><div>Regarding the question of why I am proposing to fix only pubs in this run. I think it would be good to try this script with a reduced scope of nodes first before raising a more global conversation. I imagine changesets will be easy to retrieve and un-do.</div><div><br></div><div>Worth mentioning that, for the majority of the nodes affected, the websites are not incorrect per-se, but they are not URLs because they miss a scheme. This will cause problems to consumers depending on how they use the field (I first noticed this issue when passing the :website tag to a third party library which complained about this)</div><div><br></div><div>I ran the script on a local database and I have some numbers:</div><div><br></div><div>For a total of 159 :amenity=pub nodes with missing scheme on their :website</div><div><br></div><div>- 41 (~26%) can be updated with https as a scheme (safer for the end-user)</div><div>- 92 (~58%) don't work on https but http can be added as a scheme</div><div>- 26 (~16%) seem to be offline, not accessible neither on http or https (maybe they can be automatically tagged for fixing? thoughts?)</div><div><br></div><div>How do I proceed from here? I have a small subset of nodes to test the proposal with, I have tried the script locally with good results and I believe the proposal makes the dataset better for consumers and safer for end-users by adding an https URL to websites that support it<br></div><div></div><div><br></div><div><div><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><font face="courier new, monospace">--</font></div><font face="courier new, monospace">Rodrigo Díez Villamuera</font><div><font face="courier new, monospace"><br></font><div><font face="courier new, monospace">w: <a href="http://rodrigodiez.io" target="_blank">http://rodrigodiez.io</a><br></font><div><font face="courier new, monospace">t: @rodrigodiez_pro</font></div><div><font face="courier new, monospace">p: 00 44 7513 638225</font></div><div><div><br></div></div></div></div></div></div></div><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sun, 27 Sep 2020 at 19:38, Andrew Hain <<a href="mailto:andrewhainosm@hotmail.co.uk">andrewhainosm@hotmail.co.uk</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">



<div>
<div>Keep Right flags web links that have gone offline.</div>
<div><br>
</div>
<div>--</div>
<div>Andrew<br>
</div>
<hr style="display:inline-block;width:98%">
<div id="gmail-m_3665111633509495086divRplyFwdMsg" dir="ltr"><font style="font-size:11pt" face="Calibri, sans-serif" color="#000000"><b>From:</b> Philip Barnes <<a href="mailto:phil@trigpoint.me.uk" target="_blank">phil@trigpoint.me.uk</a>><br>
<b>Sent:</b> 27 September 2020 18:49<br>
<b>To:</b> <a href="mailto:talk-gb@openstreetmap.org" target="_blank">talk-gb@openstreetmap.org</a> <<a href="mailto:talk-gb@openstreetmap.org" target="_blank">talk-gb@openstreetmap.org</a>><br>
<b>Subject:</b> Re: [Talk-GB] Hello world and automated change proposal: Add missing URL scheme on UK's Pubs websites</font>
<div> </div>
</div>
<div style="text-align:left;direction:ltr">
<div>On Sun, 2020-09-27 at 16:28 +0100, Rodrigo Díez Villamuera wrote:</div>
<blockquote type="cite" style="margin:0px 0px 0px 0.8ex;border-left:2px solid rgb(114,159,207);padding-left:1ex">
<div dir="ltr">
<div>Hi all,</div>
<div><br>
</div>
<div>First of all, I would like to introduce myself on this email list and to thank you all for your contributions to OSM. Great work!</div>
<div><br>
</div>
<div>After some time using OSM as a user, I decided to make my first step as a contributor, hence this email and the proposal inside.</div>
<div><br>
</div>
<div>Please bear in mind that this is my first attempt to contribute with a proposal and, although I have done my best reading the community conventions and best practices, I am sure I have made some mistakes on the way. Be merciful! :P</div>
<div><br>
</div>
<div>To the point now.</div>
<div><br>
</div>
<div>I am importing a subset of nodes from UK (those tagged with amenity:pub) for a pet project.</div>
<div><br>
</div>
<div>When analysing the data I realised that some of these nodes contain a website: tag that does not contain an appropriate URL schema (http/https).</div>
<div><br>
</div>
<div>Ie: <a href="http://www.mypub.com" target="_blank">www.mypub.com</a> rather than <a href="http://www.mypub.com" target="_blank">
http://www.mypub.com</a> or <a href="https://www.mypub.com" target="_blank">https://www.mypub.com</a></div>
<div><br>
</div>
<div>This goes in contradiction with the <a href="https://wiki.openstreetmap.org/wiki/Key:website" target="_blank">
Wiki documentation for website.</a></div>
<div><br>
</div>
<div>I created a proposal for a one-off, scoped, automated edit for these nodes to find the appropiate scheme for the existing URL and retag the nodes.</div>
<div><br>
</div>
<div>I added the proposal to the Automated edits log. You can read it <a href="https://wiki.openstreetmap.org/wiki/Automated_edits/rodrigodiez/Add_missing_URL_scheme_to_pub_websites_in_UK" target="_blank">
here</a>.</div>
<div><br>
</div>
<div>Just wanted to share the proposal with the UK community, gather your feedback, comments and advises on how to proceed from here</div>
<div><br>
</div>
</div>
</blockquote>
<div>One issue I can think of with pubs and websites is that they need checking to ensure they are still current. </div>
<div><br>
</div>
<div>The defacto method most pubs use to communicate with customers is facebook.</div>
<div><br>
</div>
<div>A more general fix of urls missing http(s)://, why only pubs?.  is probably a maproulette quest.</div>
<div><br>
</div>
<div>Phil (trigpoint)</div>
<div><br>
</div>
</div>
</div>

_______________________________________________<br>
Talk-GB mailing list<br>
<a href="mailto:Talk-GB@openstreetmap.org" target="_blank">Talk-GB@openstreetmap.org</a><br>
<a href="https://lists.openstreetmap.org/listinfo/talk-gb" rel="noreferrer" target="_blank">https://lists.openstreetmap.org/listinfo/talk-gb</a><br>
</blockquote></div>