Private Messages Options Search Blogs Images Chat Cam Portals Calendar FAQ's Join  
Asylum Forums : Powered by vBulletin version 2.2.8 Asylum Forums > WIT - Whore Institute of Technology > RSS for an idiot
  Last Thread   Next Thread
Author
Thread [new thread]    [post reply]
SubSonic
You Chat Bubbles!

Registered: Oct 2002
Location: The Dark Side
Posts: 2091

RSS for an idiot

Anyone know anything about RSS?

I have a reader and so can read feeds on my pc... that was easy!

What I want to do is display info offered by one site on a page on my site, I just have no clue how to do it.

Anyone help?

__________________
Forgive my Art. On bended knees,
I do confess: I seek to please.

Report this post to a moderator | IP: Logged

Old Post 02-04-2006 09:59 AM
SubSonic is offline Click Here to See the Profile for SubSonic Click here to Send SubSonic a Private Message Visit SubSonic's homepage! Find more posts by SubSonic Add SubSonic to your buddy list [P] Edit/Delete Message Reply w/Quote
skalie
the honourable

Registered: Sep 2001
Location: ........
Posts: 14954

If you know something about scripting go to www.hotscripts.com and type "rss" into the search.

I've set one up using php, it wsn't that difficult, once I'd stopped firefox making "?"'s onstead of emulates or whatever those dots over the letters are. ( header issue )

Report this post to a moderator | IP: Logged

Old Post 02-04-2006 10:22 AM
skalie is offline Click Here to See the Profile for skalie Click here to Send skalie a Private Message Find more posts by skalie Add skalie to your buddy list [P] Edit/Delete Message Reply w/Quote
SubSonic
You Chat Bubbles!

Registered: Oct 2002
Location: The Dark Side
Posts: 2091

thanks will check it out, but I think it may be that my provider does not permit RSS or XML

eg. http://www.nx99.co.uk/set1.xml - this was exported for web from my desktop reader

__________________
Forgive my Art. On bended knees,
I do confess: I seek to please.

Report this post to a moderator | IP: Logged

Old Post 02-04-2006 10:59 AM
SubSonic is offline Click Here to See the Profile for SubSonic Click here to Send SubSonic a Private Message Visit SubSonic's homepage! Find more posts by SubSonic Add SubSonic to your buddy list [P] Edit/Delete Message Reply w/Quote
skalie
the honourable

Registered: Sep 2001
Location: ........
Posts: 14954

quote:
Originally posted by SubSonic
thanks will check it out, but I think it may be that my provider does not permit RSS or XML



That sounds like bullshit, as xml ( which is the basis of rss ) is little more that a mark-up language.

Does your provider permit html?

Macker should be along shortly to give a more definative answer using words that no-one can understand.

( You don't mind me calling you shortly, I hope )

Report this post to a moderator | IP: Logged

Old Post 02-04-2006 11:28 AM
skalie is offline Click Here to See the Profile for skalie Click here to Send skalie a Private Message Find more posts by skalie Add skalie to your buddy list [P] Edit/Delete Message Reply w/Quote
dogcow
brucoš

Registered: Apr 2005
Location: summer!
Posts: 10455

maybe he lives in china, you never know what those commies will come up with next.

__________________
Time is the fire in which we burn.

Report this post to a moderator | IP: Logged

Old Post 02-04-2006 11:37 AM
dogcow is offline Click Here to See the Profile for dogcow Click here to Send dogcow a Private Message Find more posts by dogcow Add dogcow to your buddy list [P] Edit/Delete Message Reply w/Quote
macker
Holy Me-el

Registered: Nov 2000
Location: UK
Posts: 4736

I suppose Sub's host might not allow fopens on URL's, which I believe most RSS PHP parsers use to get the information.

__________________
Expecting people to be smart team players is like looking for double Ds in an oriental brothel.

Report this post to a moderator | IP: Logged

Old Post 02-04-2006 12:01 PM
macker is online now Click Here to See the Profile for macker Click here to Send macker a Private Message Visit macker's homepage! Find more posts by macker Add macker to your buddy list [P] Edit/Delete Message Reply w/Quote
skalie
the honourable

Registered: Sep 2001
Location: ........
Posts: 14954

Foliage Penetration?

Report this post to a moderator | IP: Logged

Old Post 02-04-2006 12:14 PM
skalie is offline Click Here to See the Profile for skalie Click here to Send skalie a Private Message Find more posts by skalie Add skalie to your buddy list [P] Edit/Delete Message Reply w/Quote
SubSonic
You Chat Bubbles!

Registered: Oct 2002
Location: The Dark Side
Posts: 2091

Hi Geoff,

You can add the content, but it is not something we have done ourselves before. Having just done a quick search on Google there are a few scripts out there that allow you to place the feeds in your page. We would recommend contacting the BBC if they have a specific feed you are interested in as they probably have instructions on how to incorporate their feed into your page.

Regards,

Support

So I am able to.

But as yet no sucess... I hate being ignorant

As for Shortly feel free to call me what you wish Inchhigh

__________________
Forgive my Art. On bended knees,
I do confess: I seek to please.

Report this post to a moderator | IP: Logged

Old Post 02-04-2006 01:11 PM
SubSonic is offline Click Here to See the Profile for SubSonic Click here to Send SubSonic a Private Message Visit SubSonic's homepage! Find more posts by SubSonic Add SubSonic to your buddy list [P] Edit/Delete Message Reply w/Quote
loser
oxymoran

Registered: Dec 2004
Location: Beringia
Posts: 5207

+1

Report this post to a moderator | IP: Logged

Old Post 02-04-2006 01:18 PM
loser is offline Click Here to See the Profile for loser Click here to Send loser a Private Message Find more posts by loser Add loser to your buddy list [P] Edit/Delete Message Reply w/Quote
skalie
the honourable

Registered: Sep 2001
Location: ........
Posts: 14954

Here's the code that worked for me, for what it's worth (php)

code:
$xml = xml_parser_create(); $rss = new pc_RSS_parser_newspage; xml_set_object($xml, $rss); xml_set_element_handler($xml, 'start_element', 'end_element'); xml_set_character_data_handler($xml, 'character_data'); xml_parser_set_option($xml, XML_OPTION_CASE_FOLDING, false); $feed = 'http://feeds.feedburner.com/medicalfacts'; // this one you'll probably want to change $fp = fopen($feed, 'r') or die("Not getting the rss feed"); while($data = fread($fp, 4096)){ //4096 xml_parse($xml, $data, feof($fp)) or die("Parse ain't working today, sir"); } fclose($fp); xml_parser_free($xml);

Report this post to a moderator | IP: Logged

Old Post 02-04-2006 02:25 PM
skalie is offline Click Here to See the Profile for skalie Click here to Send skalie a Private Message Find more posts by skalie Add skalie to your buddy list [P] Edit/Delete Message Reply w/Quote
SubSonic
You Chat Bubbles!

Registered: Oct 2002
Location: The Dark Side
Posts: 2091

Thanks for that code, will have a mess about over the weekend and see how it goes... now for The Rugby!

__________________
Forgive my Art. On bended knees,
I do confess: I seek to please.

Report this post to a moderator | IP: Logged

Old Post 02-04-2006 03:27 PM
SubSonic is offline Click Here to See the Profile for SubSonic Click here to Send SubSonic a Private Message Visit SubSonic's homepage! Find more posts by SubSonic Add SubSonic to your buddy list [P] Edit/Delete Message Reply w/Quote
skalie
the honourable

Registered: Sep 2001
Location: ........
Posts: 14954

Fuck, I was just going to do something useful.

Rugby shall prevail however.

Report this post to a moderator | IP: Logged

Old Post 02-04-2006 03:31 PM
skalie is offline Click Here to See the Profile for skalie Click here to Send skalie a Private Message Find more posts by skalie Add skalie to your buddy list [P] Edit/Delete Message Reply w/Quote
SubSonic
You Chat Bubbles!

Registered: Oct 2002
Location: The Dark Side
Posts: 2091

England shall pulversie is a better term for that!
So what as the useful thing you were about to do?

__________________
Forgive my Art. On bended knees,
I do confess: I seek to please.

Report this post to a moderator | IP: Logged

Old Post 02-04-2006 05:27 PM
SubSonic is offline Click Here to See the Profile for SubSonic Click here to Send SubSonic a Private Message Visit SubSonic's homepage! Find more posts by SubSonic Add SubSonic to your buddy list [P] Edit/Delete Message Reply w/Quote
skalie
the honourable

Registered: Sep 2001
Location: ........
Posts: 14954

I was going to have a go at sorting out the problems in the Middle East, but then I thought, fuck it, it's weekend and the rugger's on.

After watching today's match I think it is highly unlikely that Wales will go on to win the Grand Slam this year, btw.

Report this post to a moderator | IP: Logged

Old Post 02-04-2006 07:18 PM
skalie is offline Click Here to See the Profile for skalie Click here to Send skalie a Private Message Find more posts by skalie Add skalie to your buddy list [P] Edit/Delete Message Reply w/Quote
All times are GMT. The time now is 03:05 PM. Post New Thread    Post A Reply
  Last Thread   Next Thread
Show Printable Version | Email this Page | Subscribe to this Thread

Forum Jump:
 

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are ON
[IMG] code is ON
 

< Contact Us - The Asylum >

Powered by: vBulletin Version 3.0.6
Copyright ©2000 - 2002, Jelsoft Enterprises Limited.
Copyright © 2000- Imaginet Inc.
[Legal Notice] | [Privacy Policy] | [Site Index]