Automating reports

jb mesimpleton at yahoo.com
Wed Oct 5 09:33:27 EDT 2005


I didn't have the URL's to your exact charts and they wanted me to sign up 
when I tried to get them so I went to bigcharts. If the charts aren't exactly 
what you want just replace the URL in the quotes, any text editor will work. 
The date is stamped with a javascript, no need to edit. The document size is 
large in the browser but when it is printed it will fit to page. Landscape is 
probably the best way to print it. Thats assuming that this is something you 
can use.
jb

On Tue October 4 2005 17:47, jb wrote:
> Not sure what 4 charts you want or if this is even helpful. It is quick and
> easy to replace URL's and titles in any editor. You can also add the
> location to it on your comp and put it as your browser start page.
> jb
>
> On Tue October 4 2005 08:35, jb wrote:
> > If you can get the raw URL's to the 4 charts you want, you can make an
> > HTML document using a table for layout. Or just have them all inline
> > without a table. It wouldn't be automated but you could put the document
> > as your start page in your browser. It should update whenever you opened
> > the browser or hit refresh.
> > jb
> >
> > On Tue October 4 2005 04:47, Robert F. Stockdale IV wrote:
> > > Unfortunately wget doesn't download the graphics correctly. Actually it
> > > downloads the page without the graphic. This is the command I used:
> > >
> > > wget
> > > http://www.marketwatch.com/tools/quotes/printable.asp?symb=SPX&siteid=m
> > >kt w&
> > > intflavor=advanced&submitted=true&time=8&freq=1&comp=Enter%20Symbol:&co
> > >mp idx
> > > =aaaaa~0&uf=4&ma=1&maval=50&lf=4&lf2=0&lf3=0&type=2&compind=aaaaa~0&siz
> > >e= 1&s
> > > tyle=1013&customdate=true&startdate=0&enddate=0&linkname=Interactive%20
> > >Ch art ing&origurl=/tools/quotes/intchart.asp&rand=478450953
> > >
> > > If the web address is loaded in a browser it brings up a printable
> > > chart of the S&P 500 index. Is there something I'm missing? The Fpdf
> > > looks like a great idea. Hope I can use it. I'm not real good at
> > > scripting, although I'm trying to learn some. Been looking at abs-guide
> > > (Advanced Bash Scripting Guide) and some Python.
> > > Thank you.
> > > Bob
> > >
> > > Justin Bennett wrote:
> > > > I do similar stuff with automated reporting from our database. I use
> > > > PHP and the Fpdf program (http://www.fpdf.org/) to generate a PDF
> > > > from a PHP program. From PHP you could Email this or print it. I
> > > > don't know if you know php but:
> > > >
> > > > You could write a php program that:
> > > >
> > > > 1. Gets the Images with wget and save them in a local directory
> > > > 2. Creates a PDF and includes your labels and images you saved from
> > > > the wget
> > > > 3. Emails or prints the PDF
> > > >
> > > > Fpdf has some examples that you could modify to do what you like
> > > > without the much trouble.  Then I fire the PHP program from cron on a
> > > > nightly basis.
> > > >
> > > >
> > > > Justin
> > > >
> > > >
> > > > Justin Bennett
> > > > Network Administrator
> > > > Dynabrade, Inc.
> > > > 8989 Sheridan Dr.
> > > > Clarence, NY 14031
> > > >
> > > > On 10/3/2005 4:15 AM, Robert F. Stockdale IV wrote:
> > > >> Hello everyone:
> > > >>     I have this project I'm trying to do. It starts by saving charts
> > > >> from a web page. There are 4 charts that get updated daily (M-F). I
> > > >> currently do this manually by right clicking on the chart in Firefox
> > > >> and select save as. These are stock indexes for monitoring the
> > > >> investment portion of a retirement portfolio. I then put the 4
> > > >> charts on one page in OpenOffice Writer with labels above each
> > > >> chart. How can I automate this process or is there an easier process
> > > >> to create a pdf or postscript file for output to default printer? I
> > > >> can send a sample output if some one would like to see the manual
> > > >> result.
> > > >> Thank you
> > > >> Bob

-- 
For every credibility gap, there is a gullibility fill.
		-- R. Clopton
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.nflug.org/pipermail/nflug/attachments/20051005/5341ff43/chartupdatez-0001.html


More information about the nflug mailing list