in 程式小心得

一些不錯的 php 套件

套件介紹: 名稱:magpierss 說明: 抓取外部 rss 的工具,lifetype 也內建,不用重覆維護此套件。 MagpieRSS is compatible with RSS 0.9 through RSS 1.0. Also parses RSS 1.0's modules, RSS 2.0, and Atom. (with a few exceptions) License:GPL examples:

channel['title'], "<br />
";
foreach ($rss-&gt;items as $item ) {
    $title = $item[title];
    $url   = $item[link];
    echo "<a href="$url">$title</a></li><br />
";
}
?&gt;

套件介紹: 名稱:RSS Genesis Project 說明:Rss Feed 產生器,此套產生器可以用很簡單的方法產生 rss 0.9 / 1.0 / 2.0 版的 rss feed 。 RSS Genesis is an open source project. Written in PHP - http://www.php.net/ - with OOP features, this project can help you to easily generate RSS Feeds. PHP 4 and PHP 5 compatibility, grants RSS Genesis a stable support to any hosts configuration you have. This version (1.1) supports RSS 0.91 and partly supports RSS 2.0. We hope to add other specifications support soon. People interested in help the project are welcome! Translators, developers, could help us on this task. Every help will be appreciated. License:GPL examples: example

<

p>
套件介紹:
名稱: getID3()
說明:可以判定 file 的格式和抓出檔案的 id3 /大小/和各種的資料,如圖片和影片的長寬、影片撥放長度、影片格式。
getID3() is a PHP script that extracts useful information from MP3s & other multimedia file formats.
傳回的檔案結構可參考:
structure.txt
支援格式有:
tags:
* APE (v1 and v2)
* ID3v1 (& ID3v1.1)
* ID3v2 (v2.4, v2.3, v2.2)
* Lyrics3 (v1 & v2)

audio-lossy:
* MP3/MP2/MP1
* MPC / Musepack
* Ogg (Vorbis, OggFLAC, Speex)
* RealAudio
* Speex
* VQF

audio-lossless:
* AIFF
* AU
* Bonk
* CD-audio (*.cda)
* FLAC
* LA (Lossless Audio)
* LPAC
* MIDI
* Monkey's Audio
* OptimFROG
* RKAU
* VOC
* WAV (RIFF)
* WavPack

audio-video:
* ASF: ASF, Windows Media Audio (WMA), Windows Media Video (WMV)
* AVI (RIFF)
* Flash
* MPEG-1 / MPEG-2
* NSV (Nullsoft Streaming Video)
* Quicktime
* RealVideo

still image:
* BMP
* GIF
* JPEG
* PNG

data:
* ISO-9660 CD-ROM image (directory structure)
* SZIP (limited support)
* ZIP (directory structure)

Writes:
* ID3v1 (& ID3v1.1)
* ID3v2 (v2.3 & v2.4)
* VorbisComment on OggVorbis
* VorbisComment on FLAC (not OggFLAC)
* APE v2
* Lyrics3 (delete only)

examples:

analyze($filename);
?&gt;

<

p>

Write a Comment

Comment