Home AgeRage.net Forum Cheats News Hosting Shop About Links


Links
shop

download

facebook
Go Back   AgeRage.net Forum > ..::General AgeRage::.. > Designers Studio > Web Development & Designing


Thread: external feed from webpage
Web Development & Designing Got any web designing skills? Or maybe a question about a script that doesn't work? Use this forum to talk about this type of thing.

Reply

 
LinkBack Thread Tools


  #1 (permalink)  
Join Date: 24 Jan 2005
Location: AgeRage
Posts: 493
ARaG0rN's Avatar
Old 25-09-2006, 14:35
Ranger of the North
Exclamation external feed from webpage

Ok here is what im trying to do. i know its not a big deal but im not so much into these stuff. there are some values in a webpage that are constantly changing (ie: \feed.asp). What i want is to make an exact copy of this page and change only some stuff that dont change along with the values i want to watch. So, in some way i want to add a script that will refresh the values on my page by downloading the feed.asp file from the site and copy the lines of the code that i want and replace those of my page.
I know what im asking is pretty simple, but since i dont have much experience with scripts id like to hear ur opinion.
First of all does it have to be a server-side script or can i just make a page that would run from my hdd with some other way. In the first case i could stick to php since im more familiar with it.
Any help is much appreciated
Reply With Quote

AgeRage.net Shop - Buy your valid CD-Keys

  #2 (permalink)  
Join Date: 29 Sep 2005
Posts: 928
2nd~0v3R|r!de's Avatar
Old 25-09-2006, 17:01
Bronze Dragon
Quote:
Originally Posted by ARaG0rN
Ok here is what im trying to do. i know its not a big deal but im not so much into these stuff. there are some values in a webpage that are constantly changing (ie: \feed.asp). What i want is to make an exact copy of this page and change only some stuff that dont change along with the values i want to watch. So, in some way i want to add a script that will refresh the values on my page by downloading the feed.asp file from the site and copy the lines of the code that i want and replace those of my page.
I know what im asking is pretty simple, but since i dont have much experience with scripts id like to hear ur opinion.
First of all does it have to be a server-side script or can i just make a page that would run from my hdd with some other way. In the first case i could stick to php since im more familiar with it.
Any help is much appreciated
You need to use some server side language, due to browser secuirty blocking you from accessing other sites outside of your domain name via JavaScript.

So you can either have a PHP script that would download that page, parse it, and then print the processed html page to you. Or use a HTML page with JavaScript (AJAX style) and a PHP script serverside. Which would mean you could use real time updates etc.
Reply With Quote
  #3 (permalink)  
Join Date: 24 Jan 2005
Location: AgeRage
Posts: 493
ARaG0rN's Avatar
Old 25-09-2006, 22:10
Ranger of the North
thx for the advice. i managed to make the php script. i need to add the javascript code now. i dont want it to reload the whole page though cause it might interrupt if im scrolling the page for example. any ideas?
Reply With Quote
  #4 (permalink)  
Join Date: 29 Sep 2005
Posts: 928
2nd~0v3R|r!de's Avatar
Old 25-09-2006, 22:26
Bronze Dragon
Quote:
Originally Posted by ARaG0rN
thx for the advice. i managed to make the php script. i need to add the javascript code now. i dont want it to reload the whole page though cause it might interrupt if im scrolling the page for example. any ideas?
[Only registered and activated users can see links. ]

or

[Only registered and activated users can see links. ]

Should get you started with using JavaScript to query the PHP script for new content.
Reply With Quote
  #5 (permalink)  
Join Date: 24 Jan 2005
Location: AgeRage
Posts: 493
ARaG0rN's Avatar
Old 26-09-2006, 16:08
Ranger of the North
it seems the javascript part is the most difficult although i thought i would get stacked with php. I'll get it to work eventually
Reply With Quote
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

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 Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
ADHD News Feed Mr5ak F.E.A.R. 6 24-07-2007 02:56
Feed The Fishes LadyG Raven Shield 1 22-06-2007 19:11
retrieve data from webpage ARaG0rN C++ 5 23-10-2006 09:32


All times are GMT +1. The time now is 13:24.

Latest Threads

About AgeRage Forum

Powered by vBulletin® Version 3.7.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.2.0
AgeRage.net - 'Feeding Your Cheating Obsession'
Page generated in 1.91227 seconds with 13 queries