The ABC's of PHP - Part 10 - The Final Installment
Jun 03, 2009, 03:01 (0 Talkback[s])
"We're going to go step by step through a small script to read
the latest headlines from Slashdot.org, for those of you who may be
a little young or have never heard of Slashdot, it's basically a
news aggregation site, but with a difference. All the news
available there is aimed squarely at geeks and nerds the world
over. There are articles on the latest tech, and what's going on in
the heady world of corporate I.T or just downright bizarre things
that people do.
"All where going to do is read the XML feed file from
http://slashdot.org/ slashdot.xml and then parse the XML data using
regular expressions. If you are going to use this feed then please
take a few minutes to read http://slashdot .org/faq/code.shtml and
learn the rules and regulations of using the feed, Slashdot is very
open about what you can do with the data, but they do ask that you
respect their wishes to keep server loads to a minimum. Please note
also, that there are better ways to work with XML in PHP and there
are a number of built in functions detailed in the PHP manual that
make this process much easier."
Complete
Story
Related Stories:
- Advanced String Processing - How Regular Are Your Expressions - The ABC's of PHP - Part 9(May 28, 2009)
- Loops & Decisions in PHP - The ABC's of PHP Part 8(May 19, 2009)
- Introduction to Arrays and Hashes in PHP - The ABC's of PHP Part 7(May 06, 2009)
- Math & Number Handling in PHP - The ABCs of PHP Part 6(Apr 21, 2009)
- The ABC's of PHP Part 5 - Strings & Text(Apr 15, 2009)
- The ABC's of PHP Part 4 - How Variable Am I?(Apr 02, 2009)
- The ABC's of PHP Part 3 - Basic Script Building in PHP(Mar 24, 2009)
- The ABC's of PHP II - What do I need to make it work?(Mar 15, 2009)
- The ABC's of PHP: Introduction to PHP(Feb 27, 2009)
- How to Upload Images Using PHP(Feb 24, 2009)