以编程方式获取最新的 joomla 版本号 [英] get the latest joomla version numer programmatically

查看:22
本文介绍了以编程方式获取最新的 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 版本号的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆