WEBSERVICE and FILTERXML functions get some web content from URIs.
The help examples use URLs :
It seems to me that it would be better to use URIs in the examples:
Thank you for your much appreciated work.
I have given mistakenly the francophone link to the source page, but of course it is this:
"The URI syntax consists of a URI scheme name (such as "http", "ftp", "mailto", "crid" or "file") followed by a colon character, and then by a scheme-specific part." - https://en.wikipedia.org/wiki/Uniform_resource_identifier
why removing the protocol type? theoretical (very theoretical) a web service could be implemented using ftp. (not so theoretical: setting up a https web service without a redirection from http)
(In reply to Dennis Roczek from comment #2)
thank you for the link... I guess I should not have posted this request if I did not know that, do you think?
> why removing the protocol type?
1. Because it is not necessary...
2. Because help says the function use URI (and it is right) and not only URL, although it is obvious that it works with the protocol...
3. Because it gives an incomplete picture
4. Because I do not see one good reason to have only examples with protocol...
It seems to me necessary to give *at least* one example without specifying the protocol.
Pierre-Yves, I looked at replacing the URL in our help, but nowadays OpenWeatherMap is no longer a good example for it, because they have restricted open access to their API. http://openweathermap.org/faq#error401
Do you know of any other service we can use to showcase the functionality of this Calc function in Help? Otherwise I’ll just remove the paragraph, because it’s no longer useful.
(In reply to Adolfo Jayme from comment #4)
> Pierre-Yves, I looked at replacing the URL in our help,
Thank you :)
> OpenWeatherMap is no longer a good example for it, because they have
> restricted open access to their API.
> Do you know of any other service we can use
No... and very sorry I do not really have the time to invest. Markus Mohrhard might have ideas?
May be we can use something like:
> Otherwise I’ll just remove the paragraph,
> because it’s no longer useful.
This may be an option...
Olivier Hallot committed a patch related to this issue.
It has been pushed to "master":
tdf#92430 Better example for =WEBSERVICE()