Code: Select all
<targetplatform name="joomla" version="3.9"/>
Something like below row if you like to include the next Joomla:
Code: Select all
<targetplatform name="joomla" version="((3\.(8|9|10))|(4\.0))"/>
Code: Select all
<targetplatform name="joomla" version="3.9"/>
Code: Select all
<targetplatform name="joomla" version="((3\.(8|9|10))|(4\.0))"/>
Code: Select all
<updates>
<update>
<name><![CDATA[ Phoca Gallery ]]></name>
<description><![CDATA[ Phoca Gallery is an efficient image gallery extension for Joomla! CMS. ]]></description>
<element>com_phocagallery</element>
<type>component</type>
<version>4.4.3</version>
<infourl title="Phoca Gallery 4.4.3">http://www.phoca.cz/version/index.php?phocagallery=4.4.3</infourl>
<downloads>
<downloadurl type="full" format="zip">https://github.com/PhocaCz/PhocaGallery/releases/download/4.4.3/com_phocagallery_v4.4.3.zip</downloadurl>
</downloads>
<tags>
<tag>stable</tag>
</tags>
<maintainer><![CDATA[ Phoca.cz ]]></maintainer>
<maintainerurl>https://www.phoca.cz/</maintainerurl>
<section>Updates</section>
<targetplatform name="joomla" version="3.([89]|10)"/>
<client>administrator</client>
</update>
<update>
<name><![CDATA[ Phoca Gallery ]]></name>
<description><![CDATA[ Phoca Gallery is an efficient image gallery extension for Joomla! CMS. ]]></description>
<element>com_phocagallery</element>
<type>component</type>
<version>4.5.0Beta</version>
<infourl title="Phoca Gallery 4.5.0Beta">http://www.phoca.cz/version/index.php?phocagallery=4.5.0Beta</infourl>
<downloads>
<downloadurl type="full" format="zip">https://github.com/PhocaCz/PhocaGallery/releases/download/4.5.0Beta/com_phocagallery_v4.5.0Beta.zip</downloadurl>
</downloads>
<tags>
<tag>stable</tag>
</tags>
<maintainer><![CDATA[ Phoca.cz ]]></maintainer>
<maintainerurl>https://www.phoca.cz/</maintainerurl>
<section>Updates</section>
<targetplatform name="joomla" version="4.[0]"/>
<client>administrator</client>
</update>
</updates>