![]() |
PHP Nuke Module--
I am trying to add something to my site www.umichclubsoccer.com that would automatically check the league standing for our team which are in an embarassing geocities website and download the text and display it nicely on my website...
the pages it needs to get are http://www.geocities.com/mwalliance/...rtherndivision and http://www.geocities.com/mwalliance/2005standings and http://www.mwalliance.com/PR-web-10-3-06.htm Any ideas on how I could do this??? or where I could get some code to... I have very little php background (virtually none) |
Perhaps with wget.
|
Quote:
|
http://www.daweidesigns.com/images/wget.jpg
Then ask specific questions relating to usage, problems, etc. |
wget grabs the files from the remote server. Then you can parse them however you want. there are many ways to do this. You could use regular expresions to grab only the data that you want, or you could just load the page that wget grabs into a iframe or something like that.
|
It sounds like it needs some sort of command line to run it from... is there a site that would have a very basic tutorial on how to use it in a website just to grab text from another page. All the stuff I read about it suggests running stuff from some sort of command window
|
Quote:
you can use system commands from within PHP. You can do this by using the system command. See This Page for more information on how to use the system call under php. Another thing i was thinking about for your problem, if you got them to make an RSS feed it would make your life much easier. Something to think about. |
Quote:
I am thinking that if a person is making their website with geocities, that they might not know how to set up an RSS feed, although I could be mistaken. thanks for the link though |
Quote:
Also, it never hurts to ask (in reguards to the RSS feed). |
| All times are GMT -5. The time now is 1:05 AM. |
Powered by vBulletin® Version 3.7.0, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Copyright ©2007 DaniWeb® LLC