help with feeds

jose79

Beta member
Messages
5
Can any one please let me know about the site from where you can pull
the feed for social networking site.
 
I'm sorry, you'll have to be more specific. Like, which social networking site you want to get a feed from. It also depends on which feed you want to read. The site news, or for an individual user, etc... In many cases, you can't subscribe to a feed regarding an individual user from a third party RSS aggregator.
 
Thanx for the reply, ok let me explain what am doing briefly,am trying to finish a social networking site targeting students and proffessional at my campus but with latest news sections, so was thinking of applying feeds-pull the feed for the site... am not sure hw to go about and how it works .- about the site from where you want to ?
 
Ok, to set up an RSS feed you have to create an xml file with certain syntax. Below is a sample blank RSS Document.
Code:
<?xml version="1.0"?>
<rss version="2.0">
 <channel>
  <title>Your RSS Feed</title>
  <description>This is what your feed is about</description>
  <link>http://www.yoursitehere.com</link>
  <item>
    <title>This is your first news Item</title>
    <description>This is what it's talking about</description>
    <link>http://www.linktomoreinformation.com</link>
  </item>
 </channel>
</rss>
A more specific example can be found here.
There are additional formats for this also, such as RSS 1.0 and Atom.
For each additional news item you add another<item></item> tag.
You would then save this as something like feed.xml or something like that (the name should reflect what it is about).

Once you create that file, people can "subscribe" to it. If they have an rss news aggregator such as Sage, for firefox there are also many other readers out there that aren't browser specific, these can be found here: Feed Aggregators.

One final thing to do is to tie this xml file (your news feed) in with your server side code you are using for your networking site. Use the things people can do in the networking site as triggers for writing a new item to the rss file. You could even make a seperate rss file for each user (depending on how many users you have), and allow users to subscribe to eachothers feeds to stay current on events.

Hope this helps!
 
thanxs again, now how can i get a site that can feed me with news, gossips about celebrity, etc. do i need to subscribe to any site? where an i get eg BBC hw can i get it to be put in my social networking site?
 
Here is a company that does this type of thing. You have to be very careful with what you're doing however due to copyright infringement. This site offers up this content if you are a partner. May be worth checking out.
http://www.rssmountain.com/rssdevelopers.php

You can find more information about a google offering here
 
Back
Top Bottom