JavaScript
  Home arrow JavaScript arrow Page 2 - Revisited: Creating an XML Content Feed Wi...
Dev Articles Forums 
ADO.NET  
Apache  
ASP  
ASP.NET  
C#  
C++  
ColdFusion  
COM/COM+  
Delphi-Kylix  
Design Usability  
Development Cycles  
DHTML  
Embedded Tools  
Flash  
Graphic Design  
HTML  
IIS  
Interviews  
Java  
JavaScript  
MySQL  
Oracle  
Photoshop  
PHP  
Reviews  
Ruby-on-Rails  
SQL  
SQL Server  
Style Sheets  
VB.Net  
Visual Basic  
Web Authoring  
Web Services  
Web Standards  
XML  
Mobile Linux 
App Generation ROI 
IBM® developerWorks 
Sun Developer Network 
Weekly Newsletter
 
Developer Updates  
Free Website Content 
 RSS  Articles
 RSS  Forums
 RSS  All Feeds
Write For Us Get Paid 
Request Media Kit
Contact Us 
Site Map 
Privacy Policy 
Support 
 USERNAME
 
 PASSWORD
 
 
  >>> SIGN UP!  
  Lost Password? 
JAVASCRIPT

Revisited: Creating an XML Content Feed With PHP
By: Mitchell Harper
  • Search For More Articles!
  • Disclaimer
  • Author Terms
  • Rating: 3 stars3 stars3 stars3 stars3 stars / 7
    2002-10-28

    Table of Contents:
  • Revisited: Creating an XML Content Feed With PHP
  • Why a content feed?
  • Creating a sample content feed
  • Creating a sample content feed (contd.)
  • Testing Our Content Feed
  • Conclusion

  • Rate this Article: Poor Best 
      ADD THIS ARTICLE TO:
      Del.ici.ous Digg
      Blink Simpy
      Google Spurl
      Y! MyWeb Furl
    Email Me Similar Content When Posted
    Add Developer Shed Article Feed To Your Site
    Email Article To Friend
    Print Version Of Article
    PDF Version Of Article
     
     
    ADVERTISEMENT


    Revisited: Creating an XML Content Feed With PHP - Why a content feed?


    (Page 2 of 6 )

    If your site's going to succeed on the 'net, it needs to contain useful, free content targeted directly at a niche market. Take a look at some of the most popular new sites on the 'net: ZDNet, Slashdot, Cnet, MoreOver, etc. All of these sites provide dynamic content feeds that anyone can use on their site, meaning that if I wanted to display their recent news headlines on my site, I would just have to fill in a form and paste some HTML tags on my site and I'd be done.

    If Joe Bloggs posts the HTML code for ZDNet's content feed on his site, then it's a win-win situation: Joe is providing valuable news to his visitors that keeps them coming back on a daily basis, and ZDNet get the traffic from Joes visitors actually clicking on the news headlines to see the full story on their site.

    Here's a list of reasons why you should consider creating your own content feed like ZDNet's:
    • It's one of the best forms of free advertising that you can get.
    • Once other people post your content feed on their site, each headline actually links back to the full article your site. As many of you will know, the more links you have back to your site from other sites, the higher search engines such as Google will position you in their rankings.
    • Obviously, having others post your content feed on their site will boost your traffic. By how much though depends on the quality of your content and how you name your headlines.
    I've recently syndicated this sites articles into an XML-based content feed and it truly is working wonders for our visitor count. If you're familiar with XML, then you can see the XML file here.

    Hopefully by now I've convinced you to setup a content feed for your site. Let's take a look at creating a sample content feed using some PHP and a MySQL database.

    More JavaScript Articles
    More By Mitchell Harper


     

    JAVASCRIPT ARTICLES

    - Using Click Interceptions with a Database-Dr...
    - Using JavaScript Click Interceptions in an I...
    - Using Click Interceptions with JavaScript
    - QuickSort in Action
    - Quicksort
    - Using Mod_Security to Protect Your Server
    - Detecting and Countering Server Intrusions
    - Securing Your Web Server
    - Building a Secure Web Server
    - Protecting the Server
    - Book Review: Learning the Yahoo! User Interf...
    - Dynamically Generate a Selection List in a R...
    - Intergrate DWR into Your Java Web Application
    - Detect Browser Compatibility with the Reques...
    - Using the EXT JS Date Picker Widget






    © 2003-2008 by Developer Shed. All rights reserved. DS Cluster 5 hosted by Hostway
    Stay green...Green IT