[Libreoffice-commits] help.git: source/text

Olivier Hallot olivier.hallot at libreoffice.org
Fri Jan 26 23:02:18 UTC 2018


 source/text/scalc/01/func_webservice.xhp |   10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

New commits:
commit 5be1429f1ad6ac472836097516ab3cd0681ecf38
Author: Olivier Hallot <olivier.hallot at libreoffice.org>
Date:   Fri Jan 26 20:57:40 2018 -0200

    tdf#92430 Better example for =WEBSERVICE()
    
    And =FILTERXML()
    
    Change-Id: I15c260d625ea54b61cbb0de025f8e0c0c9fe623c
    Reviewed-on: https://gerrit.libreoffice.org/48727
    Reviewed-by: Olivier Hallot <olivier.hallot at libreoffice.org>
    Tested-by: Olivier Hallot <olivier.hallot at libreoffice.org>

diff --git a/source/text/scalc/01/func_webservice.xhp b/source/text/scalc/01/func_webservice.xhp
index dec173775..5f3cc5d67 100644
--- a/source/text/scalc/01/func_webservice.xhp
+++ b/source/text/scalc/01/func_webservice.xhp
@@ -25,8 +25,8 @@
      <paragraph role="code" id="par_id3154844" xml-lang="en-US">WEBSERVICE(URI)</paragraph>
      <paragraph role="paragraph" id="par_id3147469" xml-lang="en-US"><emph>URI: </emph> URI text of the web service.</paragraph>
      <paragraph role="heading" id="hd_id3150141" xml-lang="en-US" level="3">Example</paragraph>
-     <paragraph role="paragraph" id="par_id3146142" xml-lang="en-US">=WEBSERVICE("http://api.openweathermap.org/data/2.5/forecast?q=Copenhagen,dk&mode=xml&units=metric") </paragraph>
-     <paragraph role="paragraph" id="par_id3146143" xml-lang="en-US">Returns the web page content of "http://api.openweathermap.org/data/2.5/forecast?q=Copenhagen,dk&mode=xml&units=metric"</paragraph>
+     <paragraph role="paragraph" id="par_id3146142" xml-lang="en-US"><item type="input">=WEBSERVICE("wiki.documentfoundation.org/api.php?hidebots=1&days=7&limit=50&action=feedrecentchanges&feedformat=rss")</item></paragraph>
+     <paragraph role="paragraph" id="par_id3146143" xml-lang="en-US">Returns the web page content of "http://wiki.documentfoundation.org/api.php?hidebots=1&days=7&limit=50&action=feedrecentchanges&feedformat=rss".</paragraph>
    </section>
    <section id="filterxml">
           <bookmark xml-lang="en-US" branch="index" id="bm_id2949012">
@@ -40,8 +40,8 @@
      <paragraph role="paragraph" id="par_id2947469" xml-lang="en-US"><emph>XML Document (required):</emph> String containing a valid XML stream.</paragraph>
      <paragraph role="paragraph" id="par_id2847469" xml-lang="en-US"><emph>XPath expression (required):</emph> String containing a valid XPath expression.</paragraph>
      <paragraph role="heading" id="hd_id2950141" xml-lang="en-US" level="3">Example</paragraph>
-     <paragraph role="paragraph" id="par_id2946142" xml-lang="en-US">=FILTERXML(WEBSERVICE("http://api.openweathermap.org/data/2.5/forecast?q=Copenhagen,dk&mode=xml&units=metric");"number(/weatherdata/forecast/time[2]/temperature/@value)")</paragraph>
-     <paragraph role="paragraph" id="par_id2946143" xml-lang="en-US"> Returns information on Copenhagen weather temperature.</paragraph>
+     <paragraph role="paragraph" id="par_id2946142" xml-lang="en-US"><item type="input">=FILTERXML(WEBSERVICE("wiki.documentfoundation.org/api.php?hidebots=1&days=7&limit=50&action=feedrecentchanges&feedformat=rss");"//lastBuildDate")</item></paragraph>
+     <paragraph role="paragraph" id="par_id2946143" xml-lang="en-US"> Returns information on the last build date of the wiki.</paragraph>
    </section>
  </body>
-</helpdocument>
\ No newline at end of file
+</helpdocument>


More information about the Libreoffice-commits mailing list