dailypage 1.0.1

Objective
Installation
Use
Resources
License


Objective

Dailypage can be used to receive a webpage daily by email.

If you use to visit a website daily, for instance a newspaper or a comics website, you can receive its contents in your email software, as soon as you open it. You don't have the trouble  to open the website, and you don't have to remember to do it. Even when you are absent, dailypage can retrieve the website for you and it will be waiting for you in your inbox.

It also could send business reports to manager, or network status reports to system administrators.


Installation

Currently the installation procedure is manual and requires a few technical skills. You may need assistance from an IT person.

Prerequisites

Dailypage runs in most operating systems including Windows and Linux.

First, you must be sure you have these products installed on your computer:  

Installing dailypage


Use

Creating a configuration file

Dailypage's actions are determined by a configuration file. You can create it with any simple text editor like Notepad. You shouldn't use a word processor like Word to do this, but if you do be sure to save it as a plain text file, not as a word processing document.

This configuration file contains four lines, with four properties:

This is a sample configuration file:

url = http://antwrp.gsfc.nasa.gov/apod/astropix.html
smtp = smtp.myserver.com
from = myemail@mydomain.com
to = myemail@mydomain.com, myfriend@otherdomain.com

This will make dailypage download NASA's Astronomy Picture of the Day page at http://antwrp.gsfc.nasa.gov/apod/astropix.html and send it to two persons: myemail@mydomain.com and myfriend@otherdomain.com. It will use the mail server smtp.myserver.com and the sender address will be myemail@mydomain.com.

You will find a file with the name "sample.cfg" in the dailypage directory that you can use as a template.

Scheduling

You want dailypage to periodically email the webpage. Dailypage itself only sends the page. It has no scheduling capability.

So, you can use the scheduling function of your operating system to periodically execute dailypage.

Below are instructions for a Windows 2000 system:

  1. From within Windows Explorer, open Control Panel then open Scheduled Tasks.
  2. Choose Add Scheduled Task.
  3. Pick any task from the list. We will change it later.
  4. Type a name for the task. For instance, "dailypage".
  5. Choose the periodicity and the time of the day that dailypage should be executed at.
  6. Enter your user name and your password. Windows will execute the task even if you have not logged in.
  7. Very important: select the option "Open advanced properties for this task when I click Finish."
  8. Click Finish.
  9. In the "Run" field, enter a command line like this:
    java net.sourceforge.dailypage.DailyPage path-to-your-configuration-file
    For example:
    java net.sourceforge.dailypage.DailyPage c:\dailypage1.0.1\dailypage.cfg
  10. In the "Start in" field enter the directory where dailypage was installed. For instance, if you extracted dailypage to your root (C:\) directory, use:
    c:\dailypage1.0.1
  11. Click OK.
  12. Still in Windows Explorer, right-click on your new task and choose Run. Check for error messages. Also check your inbox to see if you received the webpage by email.
  13. Now, the scheduled task is set and it will be executed periodically as you configured it.

Troubleshooting


Resources


License

Dailypage is an OSI Certified Open Source Software.

It is released under the Mozilla Public License 1.1.

Open Source license notice:

The contents of this file are subject to the Mozilla Public License Version 1.1 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.mozilla.org/MPL/.

Software distributed under the License is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License for the specific language governing rights and limitations under the License.

The Original Code is dailypage.

The Initial Developer of the Original Code is Fernando de Alcāntara Correia <facorreia@users.sourceforge.net>.

Portions created by the Initial Developer are Copyright (C) 2003 the Initial Developer. All Rights Reserved.

Contributor(s):

(None so far.)