Home | Networks | Community | Need Help? 

 
 Quick search

 
 
 RegisterRegister   Log inLog in 

Moving data from one web page to another

 
Post new topic   Reply to topic    SearchIRC Forum Index -> Chat
Author Message
Trusler
none
none


Joined: 14 Sep 2003
Posts: 30

PostPosted: Oct 28, 2003 10:46am    Post subject: Moving data from one web page to another Reply with quote

Hey folks! This is non-IRC related, but wondering if anyone knows...

I am looking for something that will allow me to take text from web page A and paste it into web page B. Basically cut and pasting between pages, but where I can pre-select the information I want pulled from page A and where in page B (page B is a form) each piece of information is dumped into.

Is there any kind of application that does that, or can it be coded? Pages A and B are completely unrelated.

Jonathan
Back to top
Terry
none
none


Joined: 17 Jul 2003
Posts: 28

PostPosted: Oct 28, 2003 12:53pm    Post subject: Reply with quote

I suggest using php if you have support for it if you are wanting people to put info in page a in a form and call it on the next page then this is what I use
page a =

<FORM ACTION="chat2.php" METHOD="POST">
<p>Your nick: <INPUT TYPE="TEXT" NAME="chatnick" value="Guest" size="10"><br>
<p>Your Pass: <INPUT TYPE="PASSWORD" NAME="chatpass" value="" size="10"><br><br>
<INPUT TYPE="SUBMIT" VALUE="Chat!">
<input type="RESET" VALUE="Reset"></P>
</FORM>

that is a form that they put the info in and in page b this is how you call the info

<?=$_POST['chatnick']?> put that where u want to show what they put in page a on page b for the first form field and for the second
<?=$_POST['chatpass']?>

this is how I created the login for my website chat wich is currently down
I suggest using mysql with php if you are wanting to save everything that they submit good luck........ if this is not what you are wanting be more specific and maybe someone will code it for you

be sure that you have php support on your server and name the file something.php not something.html or whatever it is that u use
Back to top
Trusler
none
none


Joined: 14 Sep 2003
Posts: 30

PostPosted: Oct 28, 2003 2:18pm    Post subject: Reply with quote

Hey Terry,

The issue is I have no control over page A. Basically its like saying I want to be able to take this web page we are looking at right now, and have a program or code in another totally seperate web page be able to pull stuff out of it that I tell it to, and then dump it into a place I tell it to on another page.
Back to top
ed
SearchIRC Staff
SearchIRC Staff


Joined: 25 May 2003
Posts: 367
Location: Baton Rouge, LA

PostPosted: Oct 28, 2003 4:01pm    Post subject: Reply with quote

If Page A was a XML-based page, it could be done easily - but just a generic HTML page would be harder to do. I guess you could come up with some sort of PHP script that would filter out all of the HTML markup, and then pull from that.

Maybe there is an easier way, and I'm just not seeing it Wink
Back to top
FSZ
Guest





PostPosted: Oct 29, 2003 12:46am    Post subject: hmmm Reply with quote

couldnt u just do save as and then maybe edit in an html/php editor like Dreamweaver
Back to top
Guest






PostPosted: Oct 29, 2003 1:14pm    Post subject: Reply with quote

you may want to write the webmaster of that said page and let them know what you are wanting to do most likely for a link back they will let you rip some content and or help you doit

or make you a small spider that will download that page every few hours or something and then use your "editor" to take what you want

but isnt this content theft ???? :?:
Back to top
ed
SearchIRC Staff
SearchIRC Staff


Joined: 25 May 2003
Posts: 367
Location: Baton Rouge, LA

PostPosted: Oct 29, 2003 6:23pm    Post subject: Reply with quote

Anonymous wrote:
but isnt this content theft ???? :?:

It depends... Google does this (see http://news.google.com) for their news page, and collect data, and reorganize - but they give fair representation of who owns it (and of course requires you to click to the owner's page to read the whole article).
On the other hand, collecting data from, say, SearchIRC, and reorganizing it - would not be looked upon kindly Wink.
Back to top
Jason
SearchIRC Developer
SearchIRC Developer


Joined: 03 May 2003
Posts: 1183
Location: Tampa, FL

PostPosted: Oct 29, 2003 7:30pm    Post subject: Reply with quote

but, SearchIRC allows external sites to get stats for networks, channels, and even searches. Look around the SearchIRC updates section :)
Back to top
Guest






PostPosted: Oct 29, 2003 8:22pm    Post subject: Reply with quote

SearchIRC RULES!! :wink:
Back to top
Display posts from previous:   
Post new topic   Reply to topic    SearchIRC Forum Index -> Chat All times are GMT - 6 Hours
Page 1 of 1

 
 
Forum powered by phpBB
 
 © 2000 - 2008 EverythingIRC, Inc. All rights reserved. Please read our disclaimer