Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

International Stock Exchange Forum:
Getting RSS Feeds into Lively
Jul 10, 2008 @ 20:28:09

Just for you Lively early adopters out there, there's a script that's been posted to the International Stock Exchange forum showing how to get a feed into the virtual world.

Here is a free PHP script to convert the titles of a news feed to a PNG graphic for display in Google Lively. To display a news feed in Google Lively, go to the "Add object" button, search for "Picture Frame". Click on add to room and then edit properties. In Gadget Options place the url of the PHP script in the option box.

The script can then be hosted on a web server where it can pull down the latest stories and update the PNG image accordingly.

tagged: rss feed lively google object widget picture frame gd

Link:

Experts Round Table:
SWF Frame Rate Extraction
Nov 16, 2006 @ 15:58:00

On the Experts Round Table website, there's this cool bit of code that works with the SWFHeader library to extract the frame rate information from a Flash file.

The first idea is of course not to reinvent the wheel and search for an already-made solution. I had to find a really good way to extract information from a SWF file. I had two trivial ways to go : (a) find an already-made SWF Header Extractor, or (b) work at the binary level.

At first, of course, I turned to the PHP documentation (http://www.php.net/manual/en/) and found out the LibSWF and Ming libraries as candidates.

Of course, the code is provided for his solution, and it's actually quite simple. The class does the hard work of mapping out the data from the Flash file's header. All he needed to do was to reference that value in the result under the 'fps' array key.

tagged: swf flash frame rate extract ming libswf swfheader swf flash frame rate extract ming libswf swfheader

Link:

Experts Round Table:
SWF Frame Rate Extraction
Nov 16, 2006 @ 15:58:00

On the Experts Round Table website, there's this cool bit of code that works with the SWFHeader library to extract the frame rate information from a Flash file.

The first idea is of course not to reinvent the wheel and search for an already-made solution. I had to find a really good way to extract information from a SWF file. I had two trivial ways to go : (a) find an already-made SWF Header Extractor, or (b) work at the binary level.

At first, of course, I turned to the PHP documentation (http://www.php.net/manual/en/) and found out the LibSWF and Ming libraries as candidates.

Of course, the code is provided for his solution, and it's actually quite simple. The class does the hard work of mapping out the data from the Flash file's header. All he needed to do was to reference that value in the result under the 'fps' array key.

tagged: swf flash frame rate extract ming libswf swfheader swf flash frame rate extract ming libswf swfheader

Link:


Trending Topics: