|
 |
|
Charlie Wolf
|
|
Sound-off. Talk-back. Express yourself.
|
|
| View previous topic :: View next topic |
| Author |
Message |
| Ian
|
Post: #1 (ID: 2006) Posted: Sun Sep 15, 2002 2:13 am Karma this post: (+0 -0) Post subject: |
|
|
Errm, the "EMAIL THE SHOW" link on the front page that appears during the talkSPORT shows, probably won't work. *cough*
If you try using it, it will send an email to cwolf@talksport.co.uk (which was charlie's old email address at talkSPORT, err, I think). It might get through to him, who knows?
The email will, however, get stored on the email database and be available to be seen by anyone clicking on "READ EMAILS" link. |
|
| Back to top |
|
 |
| Guest
|
Post: #2 (ID: 2015) Posted: Thu Sep 19, 2002 3:36 am Karma this post: (+0 -0) Post subject: |
|
|
|
|
| Back to top |
|
 |
| Ian
|
|
| Back to top |
|
 |
| Guest
|
Post: #4 (ID: 2021) Posted: Sat Sep 21, 2002 12:38 am Karma this post: (+0 -0) Post subject: |
|
|
Yeah Ian, I thought about using the talksport email link, perhaps within an i-frame or something. Trouble is, wouldnt it try to point to a local url, thus not hitting the mailform?
If you manage to link to ts gimme a shout. Might set it up for mailing-the-whale. New look site soon, btw, blatent plug
|
|
| Back to top |
|
 |
jamie the cw.net nemesis Joined: 04 June 2001 Total posts: 575 Location: Bishopston, Swansea. Age: 38 Gender: Male Karma: -1 Karma yesterday, day before: -1, -1
|
|
| Back to top |
|
 |
jamie the cw.net nemesis Joined: 04 June 2001 Total posts: 575 Location: Bishopston, Swansea. Age: 38 Gender: Male Karma: -1 Karma yesterday, day before: -1, -1
|
|
| Back to top |
|
 |
| Guest
|
Post: #7 (ID: 2036) Posted: Sun Sep 22, 2002 3:31 pm Karma this post: (+0 -0) Post subject: |
|
|
Yeah, as is always the case
I thought about having the existing talkSPORT email the show page within an Iframe or something. However, becoming the little cyber geek that I am I looked through the code, and it sends to another page on the ts server. Surely, therefore, If we were to rip this page it wouldnt work cos its sitting on another server - unless the iframe was DIRECTLY ripped from ts, ie the iframe wasnt stored on catflap/whale site, but hotlinked?
Or am I off the mark yet again? |
|
| Back to top |
|
 |
| Ian
|
Post: #8 (ID: 2037) Posted: Sun Sep 22, 2002 4:44 pm Karma this post: (+0 -0) Post subject: |
|
|
Why are you still talking about iframes? You may as well just provide a link to the talkSPORT "email the show" page!
You think that you're a "cyber geek" now that you've actually bothered to look at the source of that page? That's nice.
Here's your solution, Guff:
<A href="http://www.talksport.net/emailtheshow.asp" target="_top">Email the show</A>
Add that to your html, et voila!
[ This Message was edited by: Ian on 2002-09-22 15:47 ] |
|
| Back to top |
|
 |
| Guest
|
Post: #9 (ID: 2038) Posted: Sun Sep 22, 2002 8:25 pm Karma this post: (+0 -0) Post subject: |
|
|
No, but the fact that I seem to gather little bits of knowledge about html/php etc does
As per that url, I had that on the last site - even hooked up to a nice little image! (na na na na na!) - however, I want to incorporate it somehow into my page.
See? |
|
| Back to top |
|
 |
| Ian
|
Post: #10 (ID: 2039) Posted: Sun Sep 22, 2002 8:55 pm Karma this post: (+0 -0) Post subject: |
|
|
Sorry. The fact that you are unsure about how to customise that form for use on your own site, puts you at newbie level or below.
But whatever. |
|
| Back to top |
|
 |
jamie the cw.net nemesis Joined: 04 June 2001 Total posts: 575 Location: Bishopston, Swansea. Age: 38 Gender: Male Karma: -1 Karma yesterday, day before: -1, -1
|
Post: #11 (ID: 2040) Posted: Sun Sep 22, 2002 9:25 pm Karma this post: (+0 -0) Post subject: |
|
|
Woah! Boys!
I was joking about Ian last night... Yeah, he was making some silly mistakes, but as before, his reasoning was sound.
Guff, you can't use an Iframe, as Ian suggests.. Sorry, it's only use will be to hide a talk sport page/url... Well, actually you could write your own form on your own site (iframe not needed) that posts direct to the talksport form, but the issue is, that whether you use an iframe or not (which would only help hide the url) you'd still get the talk sport "thanks for your message" page back once the message had been posted.. A frame/iframe would just help hide the url..
The thing Ian wants to do is to that when a message is submitted, it gets stored in the cw.net database AND gets sent to talk sport...
To do that, there are 2 ways I can think of.
1) Write the form/html on cw.net and get it to submit, then using some awful javascript kludge, also get the form to submit itself to talksport via a page refresh... If the form field names are different on the 2 forms, the javascript would have to convert them, which is doable, but awful, and anyway, you'd still get the talksport results page returned to you afterwards...
2) You write the form and cgi on cw.net, but then get the CGI *itself* (not the users browser) to submit the data to the talksport site.
This is less messy - the users browser simply submits one form as normal - no javascript or refreshes etc.
But the code that processes the form on the server then basically grabs the data the user just input and "pretends" to be a web browser, and connects to talksports site just the same way a web browser would, submitting the form just like a web browser.
This part of the code is working already, as I'd already written a "web browser emulator" from the command line C program for another project, and Ian has simply modified it for his needs.
All he needs to do now, is link the calling of that program into the original CGI - converting form fields as necessary.
So when someone submits a message, their browser only submits it to this site..
Then this site, relays the same data to the talksport site, via a program that acts (As far as talksports site is concerned) as a web browser... And as for the reply from the talksport site... That comes back to the program, which can just ignore it, or maybe if cleverer, filter the HTML to extract the success message, and pass that back to the original CGI output, it whatever form is required.
The thing to remember is a web browser is simply a program, that is controlled by the user.. There is no rule that says this can't be a program controlled by the command line.. So my interface which Ian suggested using is really a "computer controlled web browser" rather than a user controlled web browser...
Once you grasp that concept, it should be simple really!
As a quick example, look at http://www.bishopston.net/
Ignoring the google bit, there are 2 tables showing virus information , and IT news... They are extracted from remote web pages by one of my "web browser programs" and the data is filtered from the HTML, then *MY* html page uses that data and writes the HTML around it in its form..
Similarly, the "number of broadband users" is excracted from BT's broadband page... I'm not interested in their HTML, or guff, just the raw figure, so again, my program filters out everything I don't want, and just presents the figure to my program.
Hope this is clearer.
[ This Message was edited by: jamie on 2002-09-22 20:32 ] |
|
| Back to top |
|
 |
| Guest
|
|
| Back to top |
|
 |
| Guest
|
Post: #13 (ID: 2045) Posted: Mon Sep 23, 2002 12:18 am Karma this post: (+0 -0) Post subject: |
|
|
| Quote: |
On 2002-09-22 19:55, Ian wrote:
Sorry. The fact that you are unsure about how to customise that form for use on your own site, puts you at newbie level or below.
But whatever.
|
Yeah man, I never said I was an expert or nothing. More that Im destined to be one |
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum
|
Page generation @ 13:34:54 - time: 0.2908s (PHP: 85% - SQL: 15%) - SQL queries: 27
|