[analog-help] How do I alter web page template

2009-11-17 Thread Troy S
I need to included a summary attributed to all html table tags?
Is there a template that I can modify so that the summary attribute is
set automatically and I don't have to edit the reports after
generating them?



Thanks,

-- 
Troy
+
|  TO UNSUBSCRIBE from this list:
|http://lists.meer.net/mailman/listinfo/analog-help
|
|  Analog Documentation: http://analog.cx/docs/Readme.html
|  List archives:  http://www.analog.cx/docs/mailing.html#listarchives
|  Usenet version: news://news.gmane.org/gmane.comp.web.analog.general
+


Re: [analog-help] How do I alter web page template

2009-11-17 Thread mastinder singh
Hi Troy,

With summary Attribute you mean combined report for a particular client.Let
me get more clearification on it.Yes i do have a perl script to do this
automation

On Tue, Nov 17, 2009 at 8:09 PM, Troy S tdsimp...@gmail.com wrote:

 I need to included a summary attributed to all html table tags?
 Is there a template that I can modify so that the summary attribute is
 set automatically and I don't have to edit the reports after
 generating them?



 Thanks,

 --
 Troy
 +
 |  TO UNSUBSCRIBE from this list:
 |http://lists.meer.net/mailman/listinfo/analog-help
 |
 |  Analog Documentation: http://analog.cx/docs/Readme.html
 |  List archives:  http://www.analog.cx/docs/mailing.html#listarchives
 |  Usenet version: news://news.gmane.org/gmane.comp.web.analog.general
 +




-- 
regards,


Mastinder singh
09974565919
+
|  TO UNSUBSCRIBE from this list:
|http://lists.meer.net/mailman/listinfo/analog-help
|
|  Analog Documentation: http://analog.cx/docs/Readme.html
|  List archives:  http://www.analog.cx/docs/mailing.html#listarchives
|  Usenet version: news://news.gmane.org/gmane.comp.web.analog.general
+


Re: [analog-help] How do I alter web page template

2009-11-17 Thread Aengus
Troy S tdsimp...@gmail.com wrote:
 I need to included a summary attributed to all html table tags?

?? Can you expand on that? I have absolutely no idea what html table tags have 
to do with an Analog report?

Aengus

+
|  TO UNSUBSCRIBE from this list:
|http://lists.meer.net/mailman/listinfo/analog-help
|
|  Analog Documentation: http://analog.cx/docs/Readme.html
|  List archives:  http://www.analog.cx/docs/mailing.html#listarchives
|  Usenet version: news://news.gmane.org/gmane.comp.web.analog.general
+


Re: [analog-help] How do I alter web page template

2009-11-17 Thread mastinder singh
Hi ,

I guess he made reports using rmagic

On Tue, Nov 17, 2009 at 8:31 PM, Aengus analo...@eircom.net wrote:

 Troy S tdsimp...@gmail.com wrote:
  I need to included a summary attributed to all html table tags?

 ?? Can you expand on that? I have absolutely no idea what html table tags
 have to do with an Analog report?

 Aengus

 +
 |  TO UNSUBSCRIBE from this list:
 |http://lists.meer.net/mailman/listinfo/analog-help
 |
 |  Analog Documentation: http://analog.cx/docs/Readme.html
 |  List archives:  http://www.analog.cx/docs/mailing.html#listarchives
 |  Usenet version: news://news.gmane.org/gmane.comp.web.analog.general
 +




-- 
regards,


Mastinder singh
09974565919
+
|  TO UNSUBSCRIBE from this list:
|http://lists.meer.net/mailman/listinfo/analog-help
|
|  Analog Documentation: http://analog.cx/docs/Readme.html
|  List archives:  http://www.analog.cx/docs/mailing.html#listarchives
|  Usenet version: news://news.gmane.org/gmane.comp.web.analog.general
+


Re: [analog-help] How do I alter web page template

2009-11-17 Thread Troy S
For example:

Analog will create a table like this:
table
theadtrth class=xmonth/thth class=Ppages/thth
class=barnbsp;/th/tr/thead
tbodytrtd class=xSep 2009/tdtd class=P247,751/tdtd
class=barimg
src=http://www.domain.com/userstat/images/barb32.gif;
alt=++ /img
src=http://www.domain.com/userstat/images/barb8.gif; alt= /img
src=http://www.domain.com/userstat/images/barb2.gif; alt=
//td/tr
/tbody/table

I need to add a summary attribute to the html table tag so it will
look like this:

table summary=web site statistics
theadtrth class=xmonth/thth class=Ppages/thth
class=barnbsp;/th/tr/thead
tbodytrtd class=xSep 2009/tdtd class=P247,751/tdtd
class=barimg
src=http://www.domain.com/userstat/images/barb32.gif;
alt=++ /img
src=http://www.domain.com/userstat/images/barb8.gif; alt= /img
src=http://www.domain.com/userstat/images/barb2.gif; alt=
//td/tr
/tbody/table


Notice the table tag now has a summary attributes.


On Tue, Nov 17, 2009 at 9:49 AM, mastinder singh mastin...@gmail.com wrote:
 Hi Troy,

 With summary Attribute you mean combined report for a particular client.Let
 me get more clearification on it.Yes i do have a perl script to do this
 automation

 On Tue, Nov 17, 2009 at 8:09 PM, Troy S tdsimp...@gmail.com wrote:

 I need to included a summary attributed to all html table tags?
 Is there a template that I can modify so that the summary attribute is
 set automatically and I don't have to edit the reports after
 generating them?



 Thanks,

 --
 Troy
 +
 |  TO UNSUBSCRIBE from this list:
 |    http://lists.meer.net/mailman/listinfo/analog-help
 |
 |  Analog Documentation: http://analog.cx/docs/Readme.html
 |  List archives:  http://www.analog.cx/docs/mailing.html#listarchives
 |  Usenet version: news://news.gmane.org/gmane.comp.web.analog.general
 +



 --
 regards,


 Mastinder singh
 09974565919

 +
 |  TO UNSUBSCRIBE from this list:
 |    http://lists.meer.net/mailman/listinfo/analog-help
 |
 |  Analog Documentation: http://analog.cx/docs/Readme.html
 |  List archives:  http://www.analog.cx/docs/mailing.html#listarchives
 |  Usenet version: news://news.gmane.org/gmane.comp.web.analog.general
 +





-- 
Troy

+
|  TO UNSUBSCRIBE from this list:
|http://lists.meer.net/mailman/listinfo/analog-help
|
|  Analog Documentation: http://analog.cx/docs/Readme.html
|  List archives:  http://www.analog.cx/docs/mailing.html#listarchives
|  Usenet version: news://news.gmane.org/gmane.comp.web.analog.general
+


Re: [analog-help] How do I alter web page template

2009-11-17 Thread Troy S
Analog has the ability to create reports in seven possible output
styles.  XHTML, HTML, PLAIN, ASCII, XML, LATEX, and COMPUTER.

http://www.analog.cx/docs/output.html

XHTML is the default.  I guess that is what I am using.

Analog generates a report in the XHTML style.  I need to alter how
Analog generates the HTML table tag in the report.

I'm sorry if this is not coming across very clearly, but I just don't
know how else to explain it.

On Tue, Nov 17, 2009 at 10:01 AM, Aengus analo...@eircom.net wrote:
 Troy S tdsimp...@gmail.com wrote:
 I need to included a summary attributed to all html table tags?

 ?? Can you expand on that? I have absolutely no idea what html table tags 
 have to do with an Analog report?

 Aengus

 +
 |  TO UNSUBSCRIBE from this list:
 |    http://lists.meer.net/mailman/listinfo/analog-help
 |
 |  Analog Documentation: http://analog.cx/docs/Readme.html
 |  List archives:  http://www.analog.cx/docs/mailing.html#listarchives
 |  Usenet version: news://news.gmane.org/gmane.comp.web.analog.general
 +




-- 
Troy

+
|  TO UNSUBSCRIBE from this list:
|http://lists.meer.net/mailman/listinfo/analog-help
|
|  Analog Documentation: http://analog.cx/docs/Readme.html
|  List archives:  http://www.analog.cx/docs/mailing.html#listarchives
|  Usenet version: news://news.gmane.org/gmane.comp.web.analog.general
+


Re: [analog-help] How do I alter web page template

2009-11-17 Thread Aengus
Troy S tdsimp...@gmail.com wrote:
 Analog has the ability to create reports in seven possible output
 styles.  XHTML, HTML, PLAIN, ASCII, XML, LATEX, and COMPUTER.
 
 http://www.analog.cx/docs/output.html
 
 XHTML is the default.  I guess that is what I am using.
 
 Analog generates a report in the XHTML style.  I need to alter how
 Analog generates the HTML table tag in the report.
 
 I'm sorry if this is not coming across very clearly, but I just don't
 know how else to explain it.

Your second post explains the problem perfectly. I'm just not sure that there's 
a way to make the change you want withing Analog, without modifying the source 
code.

As Mastinder suggests, you might want to check out ReportMagic 
(http://www.reportmagic.org/) which is a post-processor for Analog reports. I 
don't have any ReportMagic reports to hand, but the sample reports on that 
website do include Summary tags in the Tables.

Aengus

+
|  TO UNSUBSCRIBE from this list:
|http://lists.meer.net/mailman/listinfo/analog-help
|
|  Analog Documentation: http://analog.cx/docs/Readme.html
|  List archives:  http://www.analog.cx/docs/mailing.html#listarchives
|  Usenet version: news://news.gmane.org/gmane.comp.web.analog.general
+


Re: [analog-help] How do I alter web page template

2009-11-17 Thread Roger

Troy S wrote:

I need to included a summary attributed to all html table tags?
Is there a template that I can modify so that the summary attribute is
set automatically and I don't have to edit the reports after
generating them?


From what everyone else has said, it seems you need to 'post-process' 
(i.e. change the report after Analog has written it).


If you know a programming language that can read and write files, the 
task here isn't very difficult.  If you don't, ignore the rest of this! 
 grin


Judging from my Analog reports, the significant bits in the report seem 
to be:


a name=daysum id=daysumDaily Summary/a
a name=hoursum id=hoursumHourly Summary/a
and so on for the other parts of the report.

'a name=' can be recognised and the bit between '' and '' describes 
the following table, so can be used in your summary attribute.


Crudely the program code needs to:
---
open the original file to read and a new one to write the new version

loop while not end of input file

  loop

read a line from the old file and

write it to the new one

  until the line includes 'a name=' OR end of file

  if not end of file

Store the bit between '' and ''  (the summary name you want)

read a line from the old file

loop

  write line to the new file

 read a line from the old file

until the line includes 'table'

insert your summary attribute within the table tag in this line

write the changed line to the new file

  end if

end while loop

close both files

stop
---

If you don't know a suitable language, maybe you know someone who 
does...  grin


All the best,

Roger


__
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email 
__

+
|  TO UNSUBSCRIBE from this list:
|http://lists.meer.net/mailman/listinfo/analog-help
|
|  Analog Documentation: http://analog.cx/docs/Readme.html
|  List archives:  http://www.analog.cx/docs/mailing.html#listarchives
|  Usenet version: news://news.gmane.org/gmane.comp.web.analog.general
+


Re: [analog-help] How do I alter web page template

2009-11-17 Thread Troy S
I figured it I was going to have to 'post-process' the reports.  But I
was just hoping that there was some command that I missed in the
documentation.

Thanks everyone for the help.

Sincerely,

On Tue, Nov 17, 2009 at 11:44 AM, Roger ro...@roger-beaumont.co.uk wrote:
 Troy S wrote:

 I need to included a summary attributed to all html table tags?
 Is there a template that I can modify so that the summary attribute is
 set automatically and I don't have to edit the reports after
 generating them?

 From what everyone else has said, it seems you need to 'post-process' (i.e.
 change the report after Analog has written it).

 If you know a programming language that can read and write files, the task
 here isn't very difficult.  If you don't, ignore the rest of this!  grin

 Judging from my Analog reports, the significant bits in the report seem to
 be:

 a name=daysum id=daysumDaily Summary/a
 a name=hoursum id=hoursumHourly Summary/a
 and so on for the other parts of the report.

 'a name=' can be recognised and the bit between '' and '' describes the
 following table, so can be used in your summary attribute.

 Crudely the program code needs to:
 ---
 open the original file to read and a new one to write the new version

 loop while not end of input file

  loop

    read a line from the old file and

    write it to the new one

  until the line includes 'a name=' OR end of file

  if not end of file

    Store the bit between '' and ''  (the summary name you want)

    read a line from the old file

    loop

      write line to the new file

     read a line from the old file

    until the line includes 'table'

    insert your summary attribute within the table tag in this line

    write the changed line to the new file

  end if

 end while loop

 close both files

 stop
 ---

 If you don't know a suitable language, maybe you know someone who does...
  grin

 All the best,

 Roger


 __
 This email has been scanned by the MessageLabs Email Security System.
 For more information please visit http://www.messagelabs.com/email
 __
 +
 |  TO UNSUBSCRIBE from this list:
 |    http://lists.meer.net/mailman/listinfo/analog-help
 |
 |  Analog Documentation: http://analog.cx/docs/Readme.html
 |  List archives:  http://www.analog.cx/docs/mailing.html#listarchives
 |  Usenet version: news://news.gmane.org/gmane.comp.web.analog.general
 +




-- 
Troy

+
|  TO UNSUBSCRIBE from this list:
|http://lists.meer.net/mailman/listinfo/analog-help
|
|  Analog Documentation: http://analog.cx/docs/Readme.html
|  List archives:  http://www.analog.cx/docs/mailing.html#listarchives
|  Usenet version: news://news.gmane.org/gmane.comp.web.analog.general
+