473,789 Members | 2,926 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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 8378
Po*********@hot mail.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
1737
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 close the file up again. The html page references the file and can format the plain text. So far I am OK ( I think ). I am not sure how I would automate, or get the content of the email, and output it to a file. Any thougths? Thank you.
10
20307
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 http://yyy.yyy
8
5985
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 browsers) when the redirection happens. But the redirection happens to the correct ftp location and on pressing "Refresh" the FTP login dialog bar appears and everything is fine. Here is the HTML in question.
21
2948
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 automatically go to an "index.html" file located in that subdirectory, if there is one. Q1: Is this more or less correct? At least some HTML texts also recommend using this as the basis for organizing a web site: Put the web pages associated...
17
2649
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 directly. so I need a way doing this. so I check to see if the ifp value is null and if so then assign it a value. is this correct?
11
1989
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 35 of these objects the form shows up BLANK in a web browser. When I remove a few (ANY few) I can see the page. Any ideas? Thanks.
18
3446
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 File-New-Window creates an instance of IE in the same process with the same SessionID as the parent window is in big trouble. This fundamentally restricts the usefullness of using session state management. I probably missed it somewhere - can...
0
1339
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 silly question. I have been asked to build a website to specifications provided by a graphic designer at very short notice. The specifications include the visual appearance of the page, set out with pixel widths, locations of graphics, fonts, etc....
14
5414
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
9666
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9511
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10200
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
10139
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9020
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
6769
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5551
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4093
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
3
2909
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.