get the latest joomla version numer programmatically(以编程方式获取最新的 joomla 版本号)
问题描述
我正在开发一个维护功能,我想获取所有流行 CMS 的最新版本号(作为字符串)并将它们存储到数据库中.
I am working on a maintenance function which I want to get the latest version numbers(as strings) of all the popular CMS and store them into database.
我已经通过向 "http://wordpress.org/latest"并从文件名wordpress-3.8.1.tar.gz"中获取版本号字符串3.8.1".
I've done the wordpress part by send a HEAD request to "http://wordpress.org/latest" and get the versioin number string "3.8.1" from the filename "wordpress-3.8.1.tar.gz".
现在我想知道如何处理 Joomla,或者如果可能的话,使用 magento.
Now I am wondering how could I deal with Joomla, or if possible, magento.
提前致谢.
推荐答案
试试这个,
对于长期支持 (LTS) 分支 -(推荐)稳定版本
For Long Term Support (LTS) branch -( Recommended) Stable release
http://update.joomla.org/core/list.xml
短期支持 (STS) 分支
Short term support (STS) branch
http://update.joomla.org/core/sts/list_sts.xml
测试版本.
http://update.joomla.org/core/test/list_test.xml
所有这些 XML 文件都有指向其详细信息 zip 文件的链接.
All these XML files have link to their details zip files.
希望有帮助..
这篇关于以编程方式获取最新的 joomla 版本号的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持编程学习网!
本文标题为:以编程方式获取最新的 joomla 版本号
基础教程推荐
- Yii2 - 在运行时设置邮件传输参数 2022-01-01
- php 7.4 在写入变量中的 Twig 问题 2022-01-01
- 将变量从树枝传递给 js 2022-01-01
- PHPUnit 的 Selenium 2 文档到底在哪里? 2022-01-01
- php中的foreach复选框POST 2021-01-01
- Web 服务器如何处理请求? 2021-01-01
- 主题化 Drupal 7 的 Ubercart “/cart"页 2021-01-01
- 如何在数学上评估像“2-1"这样的字符串?产生“1"? 2022-01-01
- 使用 scandir() 在目录中查找文件夹 (PHP) 2022-01-01
- php中的PDF导出 2022-01-01
