Working with an RSS reader with PHP, XML, and Flash

With PHP, XML and Flash you can create an RSS reader that can get the contents of an RSS feed from a website. A flash file cannot read the XML file that holds the data from a remote server unless there is a policy file on that server to enable the flash file to read it. We can't expect every server to have this policy file.


_______________________________________________

Hence you can use a PHP code to get the content of the remote XML file. This content is passed to the Flash movie so that you can display the content in a text area in the movie for users to read it.

The XML Load() method is used to load this PHP file so that the content is got from the XML file in the remote server. Within the PHP file the remote XML file is parsed and the contents of the elements like, title, link, and description are got.

These three are used to build up the content that is to be displayed in the text area so that you get a title and description. The title is linked to the actual URL of the content.

A full fledged program code walkthrough is available in the website thegoldenmean.com. You can go through this tutorial and build your own RSS Feed Reader with Flash, XML, and PHP.



_______________________________________________

FREE Subscription

Subscribe to our mailing list and receive new articles
through email. Keep yourself updated with latest
developments in the industry.

Name:
Email:

Note : We never rent, trade, or sell my email lists to
anyone. We assure that your privacy is respected
and protected.

_______________________________________







 

 

FREE Subscription

Stay Current With the Latest Technology Developments Realted to XML. Signup for Our Newsletter and Receive New Articles Through Email.

Name:

Email:

Note : We never rent, trade, or sell our email lists to anyone. We assure that your privacy is respected and protected.

 

 

Add to My Yahoo!

Visit XML Training Material Guide Homepage

 

 

Copyright - © 2004 - 2017 - All Rights Reserved.