3 projects tagged "php classes"
Media Embed is a PHP class that can embed video and images from remote sites. It takes the URL of a page in a remote site that may have images or video and sends HTTP requests to that site to retrieve details about that media like the title, description, size, and thumbnail images. The class can also generate HTML to embed the given remote site images or videos in the current site page. Currently, the class supports retrieving information and embedding media from sites like YouTube, Vimeo, Facebook, DailyMotion, MySpace, MetaCafe, Revver, FiveMin, Clickthrough, DotSub, Revision 3, VideoJug, Blip, Viddler, Screener, SlideShare, Qik, Flickr, FunnyOrDie, TwitPic, and YFrog.
RayFeedReader is a PHP class to retrieve and display feed content from a given URL. It can read feed content into an array, and supports RSS 0.91, RSS 0.92, RDF, RSS 2.0, and Atom feeds. It can detect the feed type automatically, or it can be set manually. A pluggable HTML widget rendering class is supported. The HTML widget can be rendered through the optional RayFeedWidget class or your own extended class. It is easily configurable and can work without any configuration. It is simple and easy to use from anywhere in your application with a single line of code. It supports the Singleton pattern and is light weight.