472,960 Members | 2,023 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 472,960 software developers and data experts.

Novice HTML question: Refresh

Some time ago I set up a webcam at home and a page on my site. Every
three minutes the webcam would take a picture of my backyard and ftp
it to my site where it was displayed on my webcam page.

The image was ftp'ed to ftp://mydomain.org/webcam.jpg.

On my website was a file, webcam.htm, that had a place for the image,
webcam.jpg. I put an HTML code on my webcam page that caused it to
refresh every 3 minutes -- every 3 minutes, the webcam.htm file would
go get the new jpg image and display the latest picture to an admiring
public.

This is a long story involving new computer, crashed drive, house
sale, move into an apartment, new telescope, old VW Beetle, daughter
quitting her job, a dead baby duck, and other irrelevant matters.
But, the bottom line is, I want to set up this arrangement again and I
can't find my HTML books.
I have evereything set up except the webcam.htm file on my site.

Can someone help me with the REFRESH code or whatever it is and how to
insert it in my webcam.htm file.

Thanks.

SPQR
<<<<
Jul 20 '05 #1
1 8306
Po*********@hotmail.com (SPQR) wrote:
Some time ago I set up a webcam at home and a page on my site. Every
three minutes the webcam would take a picture of my backyard and ftp
it to my site where it was displayed on my webcam page.

The image was ftp'ed to ftp://mydomain.org/webcam.jpg.
I bet you don't own mydomain.org. Use either whatver.example or
example.com for example URLs, they were created for exactly that
pupose.
On my website was a file, webcam.htm, that had a place for the image,
webcam.jpg. I put an HTML code on my webcam page that caused it to
refresh every 3 minutes -- every 3 minutes, the webcam.htm file would
go get the new jpg image and display the latest picture to an admiring
public.
Possibly. If you used a meta refresh in the HTML file then it would
refresh the HTML file. That might have no effect on the JPEG unless
the server was telling the browser not to cache the JPEG file.

Have a read of http://www.mnot.net/cache_docs/

This is a long story involving new computer, crashed drive, house
sale, move into an apartment, new telescope, old VW Beetle, daughter
quitting her job, a dead baby duck, and other irrelevant matters.
But, the bottom line is, I want to set up this arrangement again and I
can't find my HTML books.

I have evereything set up except the webcam.htm file on my site.

Can someone help me with the REFRESH code or whatever it is and how to
insert it in my webcam.htm file.


<meta http-equiv="refresh" content="180"> will refresh the page every
3 minutes. But note that some browsers offer their users the ability
to disable this sort of thing. It's often more user friendly to just
put a message on the page telling your user to hit refresh to see an
updated picture. If you do go for an automatic refresh then tell the
user that it will happen every three minutes so that they are not
taken by surprise whilst in the middle of doing something.

Steve

--
"My theories appal you, my heresies outrage you,
I never answer letters and you don't like my tie." - The Doctor

Steve Pugh <st***@pugh.net> <http://steve.pugh.net/>
Jul 20 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

7
by: Christopher Richards | last post by:
It is possible to be able to receive email alerts (say, from Google News) and publish them to a web page automatically? I am a novice as far as PHP goes, but I can open and write to a file and...
10
by: Howard Kelley | last post by:
What is the HTML code for forwarding one page to another? I recall there is a meta statement that can used. In other words, I want browser inquiries to http://xxx.xx to go immediately to...
8
by: Manu | last post by:
Hi there, I am using a perl script to generate this html page which just redirects users to my ftp server. The problem is I get a "page cannot be displayed" in IE 6.0 (haven't tried other...
21
by: AES/newspost | last post by:
My understanding -- I'm not an expert -- is that on (some? many? all?) standard Internet servers a URL can point to a subdirectory name followed by a backslash, and that links to this URL will...
17
by: Paul | last post by:
HI! I get an error with this code. <SCRIPT language="JavaScript"> If (ifp==""){ ifp="default.htm"} //--></SCRIPT> Basicly I want my iframe to have a default page if the user enters in...
11
by: VB Programmer | last post by:
Is there a limit as to how big an aspx page's html can be? (number of characters) Why do I ask? I have a webform with a lot of ActiveX controls (shows up as OBJECT in html). When I place like...
18
by: BillE | last post by:
When a user opens a new IE browser window using File-New-Window the integrity of an application which relies on session state is COMPLETELY undermined. Anyone who overlooks the fact that...
0
by: waggledance | last post by:
I was wondering if anyone here might be able to offer me some advice for someone who can only use Macromedia Dreamweaver MX. I am (clearly!) a web design novice so apologies in advance if this is a...
14
by: asdf | last post by:
I have a python script whose output i want to dynamically display on a webpage which will be hosted using Apache. How do I do that? thanks
0
by: lllomh | last post by:
Define the method first this.state = { buttonBackgroundColor: 'green', isBlinking: false, // A new status is added to identify whether the button is blinking or not } autoStart=()=>{
2
by: DJRhino | last post by:
Was curious if anyone else was having this same issue or not.... I was just Up/Down graded to windows 11 and now my access combo boxes are not acting right. With win 10 I could start typing...
2
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 4 Oct 2023 starting at 18:00 UK time (6PM UTC+1) and finishing at about 19:15 (7.15PM) The start time is equivalent to 19:00 (7PM) in Central...
4
NeoPa
by: NeoPa | last post by:
Hello everyone. I find myself stuck trying to find the VBA way to get Access to create a PDF of the currently-selected (and open) object (Form or Report). I know it can be done by selecting :...
1
by: Teri B | last post by:
Hi, I have created a sub-form Roles. In my course form the user selects the roles assigned to the course. 0ne-to-many. One course many roles. Then I created a report based on the Course form and...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 1 Nov 2023 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM) Please note that the UK and Europe revert to winter time on...
3
by: nia12 | last post by:
Hi there, I am very new to Access so apologies if any of this is obvious/not clear. I am creating a data collection tool for health care employees to complete. It consists of a number of...
0
NeoPa
by: NeoPa | last post by:
Introduction For this article I'll be focusing on the Report (clsReport) class. This simply handles making the calling Form invisible until all of the Reports opened by it have been closed, when it...
0
isladogs
by: isladogs | last post by:
The next online meeting of the Access Europe User Group will be on Wednesday 6 Dec 2023 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, Mike...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.