Sponsored by Best Buy
Geek Squad employee sings for Best Buy in holiday campaign. view!
youtube.com/bestbuy0 - Valerie DeAngelo explains the moment she got the casting call.
25 Comments
- Yankees368, on 10/12/2007, -0/+6Easy really simple syndication....kinda redundant, huh?
- cavemonkey50, on 10/12/2007, -0/+3If anyone's interested, I wrote an article on how to use MagpieRSS a while ago. It's a lot easier than this article's method. http://cavemonkey50.com/2006/03/magpierss-rss-made-easy/
- TrbleClef, on 10/12/2007, -1/+4Magpie RSS is useful for this.
http://magpierss.sourceforge.net/ - beatdigga, on 10/12/2007, -0/+3Magpie = Thumbs Up
- Mutilated1, on 10/12/2007, -0/+2Its possible that the code is ugly, but it works. And as far as your comments about "loading the RSS externally each time which uses way too much bandwidth" - that makes me wonder if you even looked at the code at all. Anyone can see that the code caches the feed.
Perhaps its not the best solution, but it does show that doing it in PHP is easy and thats basically all I intended.
Well thanks for the comments anyway. - durandal2005, on 10/12/2007, -0/+1For processing more general XML data in PHP, PHP5's SimpleXML library is awesome: it takes in the data, then gives you back an object with variable names that match up with the tag names, sort of like Mark Pilgrim's feedparser.py (another excellent piece of software), but for any kind of XML. I've used it to pull data out of the Last.fm XML feeds (not the RSS ones, the other ones).
- dwclifton, on 10/12/2007, -0/+1Here's an article on how I used MagpeRSS to add a bunch of feeds to my site. It stores the feed metadata in a couple of MySQL tables, and you don't have to worry about caching the results because Magpie does that for you. Whether you would consider it "easy" or not is up to you.
http://loadaveragezero.com/dnews/howto.php - xrekonx, on 10/12/2007, -0/+1I'm a noob at building websites, and every time I get an idea to try something I've never done before (like putting RSS feeds on my page), a story on digg almost every time ends up on the front page within a few days. Good stuff guys and gals, thanks for the comments as well.
- inactive, on 10/12/2007, -0/+1This was written for a relatively non-tech crowd - XSL Transformation would definitely be beyond them.
- iamcam, on 10/12/2007, -0/+1One thing I find missing in articles like these are discussions - even short ones - on relevant security measures one can include to help reduce your (and your users') risks of getting hacked. One should NEVER blindly trust input until it is known (or proven) to be safe. At least properly escape the code or at least run some kind of filtering/validation before printing it on your site.
- xedeon, on 10/12/2007, -0/+1Simple Solution: Use XSL Transformation..
- Ilyanep, on 10/12/2007, -0/+1Shameless plug -> My dad figured out a REALLY easy way to integrate RSS into a site using PHP.
http://w3stuff.com/Program-Tips/rss.html - inactive, on 10/12/2007, -0/+1SimpleXML is PHP5, correct? This script works with PHP4, which is useful for more people. Also, the script does do caching.
- Haplo, on 10/12/2007, -0/+1Automatic web feed creation: http://johnbokma.com/perl/rss-web-feed-builder.html
- inactive, on 10/12/2007, -0/+0Magpie is in use in many open RSS readers, including Feed On Feeds...
http://www.shokk.com/blog/articles/tag/feedonfeeds
Magpie hasn't been updated in a while, but frankly it does its job spendidly. - inactive, on 10/12/2007, -1/+1Yeah, but that's RSS to javascript, this looks at using PHP (thus getting a possible benefit from the SE's)
- inactive, on 10/12/2007, -1/+1sweet i was looking for some thing like this.
it is a collossal pain in the ass to integrate rss into php and worse generate an rss feed - TrbleClef, on 10/12/2007, -1/+1http://msn.foxsports.com/feedout/syndicatedScores?categoryId=49 may help...
- jerryleelewis, on 10/12/2007, -0/+0Magpie is great for parsing feeds. But for actually creating your own feed, the Magpie cookbook points you to:
RSS Writer: http://usefulinc.com/rss/rsswriter/
And if you already have a feed but you want people to be able to get email notifications of new posts, try:
Blog Alert: http://www.shootthebreeze.net/blogalert/index.php - Ineedphphelp, on 10/10/2007, -0/+0Parse error: syntax error, unexpected '
- Tarec, on 10/12/2007, -1/+0No, I didn't actually read it, I just scanned through it.
SimpleXML should have been used or something.
PHP is easy, is there anyone who doubted it before? :)
Nicely written article tough. - axiomata, on 10/12/2007, -1/+0Random, somewhat related question. With the baseball season just kicking into high gear, I've been looking for a RSS feed that will display updated MLB scores through my google homepage. Unfortunately I have only found MLB news headlines RSS, no scores. Anyone know of one?
- axiomata, on 10/12/2007, -1/+0You have to click on the headline to see the score on that one ... which is just stupid.
- fishfish, on 10/12/2007, -3/+1This seems to be a free article from one of the free article sites (scroll all the way down an you'll see the familiar authorbox).
- Tarec, on 10/12/2007, -2/+0Seems to work, but the code is pretty ugly in my opinion.
This one actually loads the RSS externally each time the site loads, which makes it use way to much bandwidth.
Better save it and then just check if for updates from time to time. This could have done way better and nicer.
What is Digg?