1*b1cdbd2cSJim JagielskiThe folder contains extensions which need to be updated through a web site. 2*b1cdbd2cSJim JagielskiThe "Updates dialog" of the Extension Manager will mark the updates for these 3*b1cdbd2cSJim Jagielskiextensions as "browser based update". The Extension Manager will open a browser 4*b1cdbd2cSJim Jagielskifor each of the extensions and navigate to the respective website. 5*b1cdbd2cSJim Jagielski 6*b1cdbd2cSJim Jagielski================================================================================ 7*b1cdbd2cSJim Jagielskiweb1.oxt - web5.oxt: 8*b1cdbd2cSJim Jagielski================================================================================ 9*b1cdbd2cSJim JagielskiThey contain <update-information>. That is they reference directly the respective 10*b1cdbd2cSJim JagielskiwebX.update.xml (for example, web1.update.xml) files which are available at 11*b1cdbd2cSJim Jagielskihttp://extensions.openoffice.org/testarea/desktop/website_update/update/... 12*b1cdbd2cSJim JagielskiFor example: 13*b1cdbd2cSJim Jagielskihttp://extensions.openoffice.org/testarea/desktop/website_update/update/web2.update.xml 14*b1cdbd2cSJim Jagielski 15*b1cdbd2cSJim JagielskiThe update information contain multiple URLs to "localized" web sites. Each URL is 16*b1cdbd2cSJim Jagielskiassigned to a particular local. For example: 17*b1cdbd2cSJim Jagielski 18*b1cdbd2cSJim Jagielski<src xlink:href="http://extensions.openoffice.org/testarea/desktop/website_update/update/web1_de.html" lang="de"/> 19*b1cdbd2cSJim Jagielski 20*b1cdbd2cSJim JagielskiThe Extension Manager will choose the URLs where the lang attribute matches most 21*b1cdbd2cSJim Jagielskiclosely the locale of the office. 22*b1cdbd2cSJim Jagielski 23*b1cdbd2cSJim JagielskiThe following table shows what localized web site is used, when the office uses the locale 24*b1cdbd2cSJim Jagielskien-US. The web page will display the locale used. See update/web1_de.html, etc. 25*b1cdbd2cSJim Jagielski 26*b1cdbd2cSJim Jagielski 27*b1cdbd2cSJim JagielskiLocalization: 28*b1cdbd2cSJim Jagielski 29*b1cdbd2cSJim JagielskiInstalled office en-US 30*b1cdbd2cSJim Jagielski | publisher | release notes 31*b1cdbd2cSJim Jagielski============================================= 32*b1cdbd2cSJim Jagielskiweb1.oxt | en-US | en-US 33*b1cdbd2cSJim Jagielski--------------------------------------------- 34*b1cdbd2cSJim Jagielskiweb2.oxt | en-US-region1 | en-US-region1 35*b1cdbd2cSJim Jagielski--------------------------------------------- 36*b1cdbd2cSJim Jagielskiweb3.oxt | en | en 37*b1cdbd2cSJim Jagielski--------------------------------------------- 38*b1cdbd2cSJim Jagielskiweb4.oxt | en-GB | en-GB 39*b1cdbd2cSJim Jagielski--------------------------------------------- 40*b1cdbd2cSJim Jagielskiweb5.oxt | de | de 41*b1cdbd2cSJim Jagielski 42*b1cdbd2cSJim Jagielski 43*b1cdbd2cSJim Jagielski================================================================================ 44*b1cdbd2cSJim Jagielskiweb6.oxt 45*b1cdbd2cSJim Jagielski================================================================================ 46*b1cdbd2cSJim JagielskiNeed not be committed in extensions/www/testarea/desktop. 47*b1cdbd2cSJim Jagielski 48*b1cdbd2cSJim Jagielskiweb6.oxt is intended for tests with extensions.services.openoffice.org. 49*b1cdbd2cSJim JagielskiIt does not contain <update-information>. That is, the Extension Manager will obtain 50*b1cdbd2cSJim Jagielskithe update information from the repository as feed: 51*b1cdbd2cSJim Jagielski 52*b1cdbd2cSJim Jagielskihttp://updateext.services.openoffice.org/ProductUpdateService/check.Update 53*b1cdbd2cSJim Jagielski 54*b1cdbd2cSJim JagielskiTest 55*b1cdbd2cSJim Jagielski---- 56*b1cdbd2cSJim JagielskiRepository: 57*b1cdbd2cSJim Jagielski 58*b1cdbd2cSJim Jagielski-Create the new extension in the repository. 59*b1cdbd2cSJim Jagielski-Provide a company name and a URL to the company website. In our case this should be 60*b1cdbd2cSJim Jagielski http://extensions.openoffice.org/testarea/desktop/website_update/update/web1_en-US.html 61*b1cdbd2cSJim Jagielski 62*b1cdbd2cSJim Jagielski-Create a new release for the extension. Upload the description.xml of version 2.0 63*b1cdbd2cSJim Jagielski(update/web6/description.xml). Provide a download URL for the web site (field 64*b1cdbd2cSJim Jagielski "Download from page / Open follow up page URL", which should be 65*b1cdbd2cSJim Jagielski http://extensions.openoffice.org/testarea/desktop/website_update/update/web1_en-US.html 66*b1cdbd2cSJim Jagielski Provide release notes. 67*b1cdbd2cSJim Jagielski 68*b1cdbd2cSJim Jagielski 69*b1cdbd2cSJim JagielskiOffice: 70*b1cdbd2cSJim Jagielski-Install version 1.0 of the extension: 71*b1cdbd2cSJim Jagielski desktop/test/deployment/update/website_update/web6.oxt 72*b1cdbd2cSJim Jagielski 73*b1cdbd2cSJim Jagielski-Run the update in the Extension Manager 74*b1cdbd2cSJim Jagielski 75*b1cdbd2cSJim Jagielski 76*b1cdbd2cSJim JagielskiResult: 77*b1cdbd2cSJim JagielskiThe Update Dialog should show the publisher name as provided in "Provider URL" field 78*b1cdbd2cSJim Jagielskiof the extension edit page (not release). 79*b1cdbd2cSJim Jagielski 80*b1cdbd2cSJim JagielskiA release notes link is displayed with an URL to the release notes as provided in 81*b1cdbd2cSJim Jagielskithe "Provider Title" field of the extension release edit page. 82*b1cdbd2cSJim Jagielski 83*b1cdbd2cSJim JagielskiWhen running the update then the web browser should navigate to 84*b1cdbd2cSJim Jagielskihttp://extensions.openoffice.org/testarea/desktop/website_update/update/web1_en-US.html 85*b1cdbd2cSJim Jagielski 86*b1cdbd2cSJim Jagielski 87*b1cdbd2cSJim Jagielski================================================================================ 88*b1cdbd2cSJim Jagielskiweb7.oxt 89*b1cdbd2cSJim Jagielski================================================================================ 90*b1cdbd2cSJim JagielskiNeed not be committed in extensions/www/testarea/desktop 91*b1cdbd2cSJim Jagielski 92*b1cdbd2cSJim Jagielskiweb7.oxt is intended for tests with extensions.services.openoffice.org. 93*b1cdbd2cSJim JagielskiIt does not contain <update-information>. That is, the Extension Manager will obtain 94*b1cdbd2cSJim Jagielskithe update information from the repository as feed: 95*b1cdbd2cSJim Jagielski 96*b1cdbd2cSJim Jagielskihttp://updateext.services.openoffice.org/ProductUpdateService/check.Update 97*b1cdbd2cSJim Jagielski 98*b1cdbd2cSJim JagielskiThe description.xml which will be uploaded contains URLs for release notes and publisher 99*b1cdbd2cSJim Jagielskinames/ URLs. That is, these information are not generated from the information of the 100*b1cdbd2cSJim Jagielskirepository web site. 101*b1cdbd2cSJim Jagielski 102*b1cdbd2cSJim JagielskiTest 103*b1cdbd2cSJim Jagielski----------- 104*b1cdbd2cSJim JagielskiRepository: 105*b1cdbd2cSJim Jagielski 106*b1cdbd2cSJim Jagielski-Create the new extension in the repository. 107*b1cdbd2cSJim Jagielski-Provide a company name and a URL to the company website. In our case these should be different 108*b1cdbd2cSJim Jagielski to those provided in the description.xml. These should NOT go into the update feed. 109*b1cdbd2cSJim Jagielski Choose for example as "Provider Title": FOO and as "Provider URL" some valid URL but NOT 110*b1cdbd2cSJim Jagielski http://extensions.openoffice.org/testarea/desktop/website_update/update/web1_en-US.html 111*b1cdbd2cSJim Jagielski 112*b1cdbd2cSJim Jagielski-Create a new release for the extension. Upload the description.xml of version 2.0 113*b1cdbd2cSJim Jagielski(update/web7/description.xml). Provide a download URL for the web site (field 114*b1cdbd2cSJim Jagielski "Download from page / Open follow up page URL", which should be 115*b1cdbd2cSJim Jagielski http://extensions.openoffice.org/testarea/desktop/website_update/update/web1_en-US.html 116*b1cdbd2cSJim Jagielski Provide release notes. 117*b1cdbd2cSJim Jagielski 118*b1cdbd2cSJim JagielskiOffice: 119*b1cdbd2cSJim Jagielski-Install version 1.0 of the extension: 120*b1cdbd2cSJim Jagielski desktop/test/deployment/update/website_update/web7.oxt 121*b1cdbd2cSJim Jagielski 122*b1cdbd2cSJim Jagielski-Run the update in the Extension Manager 123*b1cdbd2cSJim Jagielski 124*b1cdbd2cSJim JagielskiResult: 125*b1cdbd2cSJim JagielskiThe Update Dialog should show the publisher name as provided in the description.xml. 126*b1cdbd2cSJim JagielskiThat is: My OpenOffice en-US and NOT "FOO". 127*b1cdbd2cSJim Jagielski 128*b1cdbd2cSJim JagielskiA release notes link is displayed with an URL to the release notes as provided in 129*b1cdbd2cSJim Jagielskithe description.xml. That is: 130*b1cdbd2cSJim Jagielskihttp://extensions.openoffice.org/testarea/desktop/publisher/release-notes_xxx.html 131*b1cdbd2cSJim Jagielski 132*b1cdbd2cSJim JagielskiWhen running the update then the web browser should navigate to 133*b1cdbd2cSJim Jagielskihttp://extensions.openoffice.org/testarea/desktop/website_update/update/web1_en-US.html 134