Re: [analog-help] How do I alter web page template
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 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! > > Judging from my Analog reports, the significant bits in the report seem to > be: > > Daily Summary > Hourly Summary > 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 '' > > 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... > > > 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 +
Re: [analog-help] How do I alter web page template
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 wrote: > Troy S 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
For example: Analog will create a table like this: monthpages Sep 2009247,751http://www.domain.com/userstat/images/barb32.gif"; alt="++" />http://www.domain.com/userstat/images/barb8.gif"; alt="" />http://www.domain.com/userstat/images/barb2.gif"; alt="" /> I need to add a summary attribute to the html table tag so it will look like this: monthpages Sep 2009247,751http://www.domain.com/userstat/images/barb32.gif"; alt="++" />http://www.domain.com/userstat/images/barb8.gif"; alt="" />http://www.domain.com/userstat/images/barb2.gif"; alt="" /> Notice the table tag now has a summary attributes. On Tue, Nov 17, 2009 at 9:49 AM, mastinder singh 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 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 +
[analog-help] How do I alter web page template
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 +