Rockin’ RSS with PHP on your HTML - An idea that's catching on (
Page 2 of 6 )
This concept is so powerful that it is now being picked up and used by the largest players in the Internet news space such as Yahoo!News. It is also used by many blogging services such as Google’s recently acquired Blogger (actually, it uses Atom, but it is essentially the same thing) to keep their loyal readers up to date with new additions to the blogs.
In other words, the format is growing in leaps and bounds, driven not only by the biggest sites on the Web, but also by the cultural wildfire known as the blogosphere.
In the old days, when a Web site had a new update they wanted people to know about, it meant sending out an email, or using an email newsletter. The problem is that in today's day and age, with many people getting hundreds of spam messages a day, people are block deleting much of their email--including messages they actually asked to receive.
Now, with RSS, it is possible to simply update your website, and the RSS readers that people have installed will automatically tell them an update has happened, what the update was, and give them the ability to quickly and easily surf to your site. No more email, no more worrying if the email you sent even reached the person.
Further, all of that doesn’t even count the ability for other webmasters to add your content to their site with no muss and no fuss (again, syndicating your content across the web).
| | Discuss Rockin’ RSS with PHP on your HTML | | | | | | | Simple but informative article on using RSS with PHP. | | | | | | Good article, but why write to a static file instead of creating the feed on_the_fly... | | | | | | I've used this article to help me set up a RSS feed for the site I'm working on. On... | | | | | | Hello,
it works fine, the xml file is created as it should but when I visit my... | | | | | | You can use the script to create the file on the fly really with only a handfull of... | | | | | | There's a very simple reason why you are skipping a story.
The problem is in this... | | | | | | Have you tried simply typing the full URL into your address bar of your XML... | | | | | | I appreciate the comment. The idea behind the article was to keep it simple ...... | | | | | | Think about it. How often do you add content to your site versus how often someone... | | | | | | Just wanted to say that this article was very usefull. Simple and easy to use,... | | | | | | First of all, in all seriousness, the RSS spec is pretty easy. The one I use a lot... | | | | | | Some typos in the article:
On this... | | | | | | Thanks for noticing that. | | | | | | I'm trying to setup this RSS for the first time using the script and MAGPIE RSS... | | | | | | The table you need to create is called "content" and needs to have 5... | | | | | | I added the table, you said 5 fields but only wrote down 4. Are there only... | | | | | | First, you don't need magpie to run the script I've given you. If you remember from... | | | | | | I loaded the database with info, and moved the script to the main directory and I... | | | | | | I have no idea where the fetch_assoc came from.
The line should be fetch_row. ... | | | | | | Could you just send me a clean script, sorry for making this so difficult. I don't... | | | | | | Just let me know your email address and I'll send it to you. | | | | | | Hey guys. I can follow most of this document and am new to php. still learning... | | | | | | In the line of code where you are opening the file you give a full URL. That's your... | | | | | | I been trying to run the script on my website and is not working.
Here is what I... | | | | | | This script isn't for making feeds appear on your website. This script is for... | | | | | | Hi there, thanks for your time,
I put the script on a page called create_rss.php,... | | | | | | when i run the create_rss.php file it give me the following error:
I cannot connect... | | | | | | when i run the create_rss.php file it give me the following error:
I cannot connect... | | | | | | Sorry if this seems a little "testy" ... but this script is for CREATING the rss... | | | | | | Hi again,
Thanks for your help, now the script is half working this is the final... | | | | | | Hi Mr Wall,
Please don't post this message.
I need to get in contact with you... | | | | | | More likely than not your problem is that you don't have the proper user name and... | | | | | | For starters, your fclose() statement has a typo.
it should read... | | | | | | Danny,
I've been trying to run your script and keep getting permission errors. ... | | | | | | I'm sure there are a few problems here - i am a beginner, but on the way to getting... | | | | | | I put it all online so now here is what's shiwing up in my error... | | | | | | My script was stripped so here it is below without the html:
<?php
// open a... | | | | | | I need help. I guess I responded to another message someone else wrote but here is... | | | | | | Look at your SQL statement. Do you have that table in your database? Are there any... | | | | | | I troubleshot and troubleshot and finally after working with someone, they found out... | | | | | | Get the Resolution to the wackjob's problem at the top of the comments (currently... | | | | | | this uses mysql - not MICROSOFT Access | | | | | | The answer is posted in this forum - i believe it was that 'index' (no quotes)... | | | | | | what's with the html tags?
anyways, this was solved in this forum on 8-17-05 - its... | | | | | | You were the only one that responded to this - I have since filled in responses to... | | | | | | Hi, thanks for all the articles on here, they're really showing me that I know... | | | | | | Actually, if you want to get user specific, on the fly generation of your xml is the... | | | | | | Tried to change the permission of the folder you are writing the xml into? Perhaps... | | | | | | Thanks guys, all of this has been a big help, but something is not working for me. ... | | | | | | If you remember, I said that query was the one to pull data out of my content... | | | | | | Danny,
Thank you for the quick reply. I replaced the sample database and login... | | | | | | You'll still need an id field set as the primary key and set to autoincrement. Once... | | | | | | what do i do with files once i create them?
Do put the PHP code in with the .xml... | | | | | | I don't WANT to get into all the coding stuff. Nor do I want to syndicate my site. ... | | | | | | Day one of my quest for a SEO-friendly RSS display on my .html page was from 7 am to... | | | | | | >>> Post your comment now! | | | | | |
|
 |
|