18 Comments
- vh1`, on 10/12/2007, -0/+1"assume that it is a useless piece of junk."
the fact is that it IS a useless piece of junk
http://php.net/simplexml
http://php.net/dom
two better examples, with full documentation, that use new/easier/cleaner/better/whatever coding ractices, not some sketchy functions that are ~6 years old - vh1`, on 10/12/2007, -0/+1cool man, none of them use DOMDocument or SimpleXML
- LilMatt, on 10/12/2007, -0/+1I just don't understand how some ***** can come to Digg, read something he doesn't approve of, and immediatley assume that it is a useless piece of junk.
If you don't like it, get over it. And keep your ***** comments to yourself. Because frankly, no one gives a ***** about what you have to say.
Nice tutorial by the way. - uptown, on 10/12/2007, -0/+0I think a lot of people digg stuff 'cause they want to refer back to it later. This site could use a "bookmark" button to save it as a bookmark on the site if you want to save it but not necessarily digg it.
- evizaer, on 10/12/2007, -0/+0...or you could just use del.icio.us like I do.
i see no reason to use the tutorials provided in the submission. SimpleXML looks so much better.
No digg. - vh1`, on 10/12/2007, -0/+0"I think a lot of people digg stuff 'cause they want to refer back to it later"
"Digg is a technology news website that combines social bookmarking, ... " - guhappy, on 10/12/2007, -0/+0Kirupa.com is a great site for tutorials. I've been using it for years. Dugg.
- zakainsworth, on 10/12/2007, -0/+0Nice... Thanks
- Guspaz, on 10/12/2007, -0/+0Bah. I much prefer SimpleXML, which is much easier than even their "beginner" example:
http://php.ca/simplexml
Basically, SimpleXML parses an entire XML document and sticks it into a PHP object, allowing it to be referenced directly in code, or iterated through with a foreach statement.
Something like this (Say it is in my.xml)
Hello, World!
foo->bar->baz;
?>
That would echo "Hello, World!" - Rotkiv, on 10/12/2007, -0/+0why not just link to kirupa, it's an awesome site that i've been going to for a while, why do we have to go to someones blogg to get it on digg?
- jo42, on 10/12/2007, -0/+0> SimpleXML
Except that SimpleXML has it's problems. It barfs on anything starting with & that isn't an HTML &-based sequence. So, before passing anything to SimpleXML, you have to escape all your & strings (like John Doe & Sons), then later in your code, you have to un-escape all those strings.
Major suckage IMO. - vermin, on 10/12/2007, -0/+0Laaaame, post a link to kirupa if it's such a great site. Nobody cares about your blog.
- traherom, on 10/12/2007, -0/+0Yeah! Just when I needed it. :)
- bitshifter, on 10/12/2007, -0/+0"Looks like you know how to pick your "news". You're profile says you dug an article, found at this link"
You should spend less time lurking in peoples' profiles and more time learning basic english grammar. Like the difference between "Your" and "You're" :) - LilMatt, on 10/12/2007, -0/+0Oh by the way, bitshifter:
Looks like you know how to pick your "news". You're profile says you dug an article, found at this link
http://www.99-bottles-of-beer.net/info.html
forgive me for underestimating you're great taste in news.
Go swallow a knife. - Rotkiv, on 10/12/2007, -0/+0sorry, i'm getting into an increasingly bad habbit of putting double g's on blog. i wonder why that is?
- inactive, on 10/12/2007, -3/+0http://koolaidguy.blogspot.com/ 23063
- bitshifter, on 10/12/2007, -4/+0I just don't understand how some ***** can do a google search for some hot IT topic, get a bunch of sub-par tutorials, post them on digg, and then people actually digg it.
This is not news!


What is Digg?
Check out the new & improved