Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

Coding Forum


You are currently viewing our Coding Forum as a guest. Please register to participate.
Login



Reply
Displaying others RSS content on my site?
Old 03-12-2008, 01:56 PM Displaying others RSS content on my site?
Average Talker

Posts: 24
Location: Boston, MA
Trades: 0
Hi,

I'm looking for a way to display other's RSS feeds on my site. Currently on my site, the story header is displayed but when the user clicks the link out, it goes back to the original news source's page.

Is there any way to display the news story in full on my site, so that the customer does not leave me site?

I'm sure this must be possible, I'd retain a link back to the original story.

Thanks
spunko2010 is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 03-12-2008, 03:11 PM Re: Displaying others RSS content on my site?
NullPointer's Avatar
Will Code for Food

Posts: 2,787
Name: Matt
Location: Irvine, CA
Trades: 0
An RSS feed is pretty much just an xml file. All you would have to do is parse that xml file in order to display the content on your site. PHP has a built in xml parser:
http://www.w3schools.com/php/php_ref_xml.asp

If you're not working in PHP I'm sure asp has simliar features, if not it wouldn't be to difficult to parse an xml file yourself.
__________________

Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
NullPointer is online now
Reply With Quote
View Public Profile Visit NullPointer's homepage!
 
Old 03-17-2008, 09:48 AM Re: Displaying others RSS content on my site?
Average Talker

Posts: 24
Location: Boston, MA
Trades: 0
Thanks for the reply.

Does anyone know of any open-source solutions that would help me do this? I've been told there are some on the market but cannot find any? Thanks
spunko2010 is offline
Reply With Quote
View Public Profile
 
Old 03-17-2008, 12:53 PM Re: Displaying others RSS content on my site?
willcode4beer's Avatar
Super Moderator

Posts: 1,533
Name: Paul Davis
Location: San Francisco
Trades: 1
try Source Forge
there are literally thousands of (open source) scripts. you might try using google too.
what kind of server are you using?
__________________

Please login or register to view this content. Registration is FREE

willcode4beer is offline
Reply With Quote
View Public Profile
 
Old 03-17-2008, 01:31 PM Re: Displaying others RSS content on my site?
Average Talker

Posts: 24
Location: Boston, MA
Trades: 0
I've had a look on SF but my technical knowledge (or lack thereof) means I cannot install them myself without errors.

I'm using a Linux server with Mediatemple.
__________________

Please login or register to view this content. Registration is FREE
spunko2010 is offline
Reply With Quote
View Public Profile
 
Old 03-17-2008, 03:28 PM Re: Displaying others RSS content on my site?
Junior Talker

Posts: 4
Trades: 0
if you want something in PHP there's MagPieRSS, if you use Python there's the great Feedparser
__________________

Please login or register to view this content. Registration is FREE
gsal is offline
Reply With Quote
View Public Profile
 
Old 03-17-2008, 04:32 PM Re: Displaying others RSS content on my site?
Average Talker

Posts: 24
Location: Boston, MA
Trades: 0
Hi guys.

I tried MagpieRSS on your recommendation, although it doesn't seem to do everything I am looking for. I set it up using a sample XML feed and here's the result:

http://tinyurl.com/2tdtw6

However, I can't figure out a way to make it so that the content is hosted on my site. Currently it goes to the original site (again) - which I am keen to avoid.

I guess I'll keep digging...

Thanks
__________________

Please login or register to view this content. Registration is FREE
spunko2010 is offline
Reply With Quote
View Public Profile
 
Old 03-18-2008, 04:30 AM Re: Displaying others RSS content on my site?
chrishirst's Avatar
Missing! presumed drunk.

Posts: 41,520
Name: Chris Hirst
Location: Blackpool. UK
Trades: 0
Unless the XML feed actually contains all the content for the story, and the vast majority probably don't. You are NOT going to accomplish this with a RSS reader script.

Why is it that you want to steal the content anyway?

It's bound to be copyrighted or at the very least against the T&C/TOS of the issuer to rehost their content. So as a worst case scenario could get your site taken down by your host if the provider files a complaint. And at best would get your reader UA/IP blocked.
__________________
Chris. ->> Links are advertising NOT optimising!! <<-
A foolish consistency is the hobgoblin of little minds
Thought for today:- I SEO the only industry where all the cowboys are Indians?
chrishirst is online now
Reply With Quote
View Public Profile Visit chrishirst's homepage!
 
Old 03-19-2008, 06:10 PM Re: Displaying others RSS content on my site?
Average Talker

Posts: 24
Location: Boston, MA
Trades: 0
Re: Above. Sorry, you've misunderstood, or perhaps I wasn't clear enough.

I am after a way to display the "description". For a perfect example of what I want, visit www.topix.com. Their script makes a page based on the title and displays a little content, but has a link back to the RSS feed with the full story. Perfect for SEO purposes.

This is exactly what I want.
__________________

Please login or register to view this content. Registration is FREE
spunko2010 is offline
Reply With Quote
View Public Profile
 
Old 03-19-2008, 11:29 PM Re: Displaying others RSS content on my site?
ForrestCroce's Avatar
Half Man, Half Amazing

Posts: 3,023
Name: Forrest Croce
Location: Seattle, WA
Trades: 0
How does duplicate content help seo?

Meaning no offense, this is an example of why I don't publish full rss feeds, and also of why I watermark a copyright into my photos. There's some debate about whether or not publishing an rss feed grants anyone and everyone the right to reuse content in the feed. You could make an argument that there's implied consent, but a person who doesn't give consent for their content to be re-published can cause a lot of trouble. Remember, the fact that topix or Google News has the permission of a particular site owner won't help you if you find yourself being sued.

The good news, in your case, is that Media Temple probably won't turn off your account the moment they get a DMCA takedown notice ... they'll give you a chance to tell your side of the story. But Chris is right; you're more likely to find your IP address blocked and unable to read a lot of peoples' feeds.

That might sound harsh, but a lot of people aren't big on seeing their work being used to make a profit for somebody they don't know. Google gets a pass from most people because they send a lot of quality traffic; if site owners don't feel like you're doing the same, they're likely to complain loudly.

With that said, the tinyurl link is building an rss file, not a web page.
__________________

Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
ForrestCroce is offline
Reply With Quote
View Public Profile Visit ForrestCroce's homepage!
 
Reply     « Reply to Displaying others RSS content on my site?
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.30528 seconds with 12 queries