source: spip-zone/_squelettes_/zoundation/trunk/browserconfig.xml.html @ 107660

Last change on this file since 107660 was 107660, checked in by p@…, 3 years ago

Utiliser des URL absolue dans le browserconfig.xml

File size: 971 bytes
Line 
1[(#REM)
2Ajouter cette ligne dans le fichier htaccess de spip (attenntion a bien supprimer les "\" d'échapement):
3```
4RewriteRule ^browserconfig\[.\]xml$      spip.php?page=browserconfig.xml \[QSA,L\]
5```][(#HTTP_HEADER{Content-type: text/xml[; charset=(#CHARSET)]})]<?xml
6version="1.0"[ encoding="(#CHARSET)"]?>
7<browserconfig>
8   <msapplication>
9     <tile>
10        [<square70x70logo src="(#LOGO_SITE_SPIP|image_passe_partout{70,70}|image_recadre{70,70}|extraire_attribut{src}|url_absolue)"/>]
11        [<square150x150logo src="(#LOGO_SITE_SPIP|image_passe_partout{150,150}|image_recadre{150,150}|extraire_attribut{src}|url_absolue)"/>]
12        [<wide310x150logo src="(#LOGO_SITE_SPIP|image_passe_partout{310,150}|image_recadre{310,150}|extraire_attribut{src}|url_absolue)"/>]
13        [<square310x310logo src="(#LOGO_SITE_SPIP|image_passe_partout{310,310}|image_recadre{310,310}|extraire_attribut{src}|url_absolue)"/>]
14     </tile>
15   </msapplication>
16</browserconfig>
Note: See TracBrowser for help on using the repository browser.