getID3()
#D7CX: I pledge thatGetID3will have a full Drupal 7 release on the day that Drupal 7 is released.
The getID3() Drupal module facilitates the installation and management of thegetID3() PHP library, used to extract useful information from MP3s and other multimedia file formats.
This API module is used by other modules to ensure that getID3() is correctly installed. Developers who need the getID3() functionality can make this a dependency by their module, and then call thegetid3_load()function to properly use the getID3() library without having to worry about whether it's installed or not.
Drupal 6 Installation
Usedrush:
drush en getid3
Or do it manually:
- Place the entire getid3 directory into your modules directory (sites/all/modules is the usual location).
- Create a new folder for the getID3 library at:
cd YOUR-DRUPAL-ROOT
mkdir -p sites/all/libraries/getid3 - Go tohttp://www.getid3.org/and download the latest stable version (currently 1.7.9) into the new directory:
cd sites/all/libraries/getid3
wget "http://downloads.sourceforge.net/project/getid3/getID3%28%29%201.x/1.7.9/getid3-1.7.9.zip"NOTE: 对于Drupal6.22,应该下载getID3()的1.7.9版本 - Unzip the contents of the zip file into sites/all/modules/getid3/ so that write.php is located in sites/all/libraries/getid3/getid3/:
unzip getid3-1.7.9.zip - Delete the demos directory:
rm -r demos/ - Go to Administer > Site building > Modules and enable the GetID3 module.
- Go to Administer > Settings > getID3. If you see the version you just downloaded, the module is installed correctly.
本文提供了在Drupal6中安装和配置getID3模块的详细步骤,该模块用于方便地安装和管理用于从多媒体文件中提取信息的PHP库。文章还包含了如何确保正确安装以及如何依赖此模块的具体指导。
1144

被折叠的 条评论
为什么被折叠?



