Create Custom Username RSS Feed Using PHP

Gather all the information in once via RSS

So, you built a website with an amazing strength of potential for millions of internet aficionados to venture, read information, blog, whatever – and maybe make you a few pesos in the big scheme of things. There is a simple, yet powerful tool to gain traffic through: RSS. RSS means Really Simple Syndication. To syndicate just means gather all the information in once place, where people can subscribe via their web browser, to an article list. Creating the entire Custom RSS Feed will take you minutes, literally. You will need three 3 items in all: A make file function at member registration, PHP-XML Hybrid File { template } and output script/feed link.

 

On the Registration Confirmation page call a MAKE FILE function. This tells the server to create a file titled Username.rss.php. It is vital you make this file, else the RSS Output will not be created. The function gets the POST Username and tells the server to MAKE FILE called Username.rss.php. Now, here is the tricky part: you will need to GET the base RSS-PHP hybrid Template. Why? This saves a lot of time and headache. The function gets all the Template information and appends it to the new file called Username.rss.php. This will include the RSS Elements for each Member who joins. Write the header to the new RSS file and move it to the proper directory. { You may choose whatever folder you like, just so long as you remember where you created it so you may link it later on }. The above code now automatically creates the RSS-PHP file in that directory.

Comments

Be the first to write a comment

You must me logged in to write a comment.