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 版本号
基础教程推荐
- 如何替换eregi() 2022-01-01
- 如何在 Laravel 中使用 React Router? 2022-01-01
- YouTube API v3 点赞视频,但计数器不增加 2022-01-01
- 有什么方法可以用编码 UTF-8 而不是 Unicode 返回 PHP`json_encode`? 2021-01-01
- PHP 类:全局变量作为类中的属性 2021-01-01
- PHP PDO MySQL 查询 LIKE ->多个关键词 2021-01-01
- 如何在 Laravel 5.3 注册中添加动态下拉列表列? 2021-01-01
- Cron Jobs 调用带有变量的 PHP 脚本 2022-01-01
- 学说 dbal querybuilder 作为准备好的语句 2022-01-01
- 在PHP中根据W3C规范Unicode 2022-01-01
