Jump to content

Recommended Posts

Posted

The AwStats output is great, however when I tried sending the displayed page as an email, the recipient got a blank message and was continuously prompted to log into the hosted site. The way it's currently implemented, I don't think there's a simple way to email the stats. As a temporary workaround, I used a graphics program to do a few screen scrapes and inserted the images into the email

 

However, at the AwStats development site, I see that the new version 5.91 supports exporting the stats as a pdf document which could then be emailed as an attachment. I hope TCH will consider adding support for this sometime.

Posted

AWStats is bundled with cPanel. Therfore we really dont control when the version is upgraded.

 

I will check with cPanel to see if they plan any upgrades soon.

 

Thanks

 

Bill

Posted

Another thing you could do would be to right click on the right panel in awstats and choose "save as..." then save it as "stats.html". Then e-mail that page to the folks who need it or upload it up to a non-protected directory and give them the address.

Posted (edited)

I simply cut and paste, table format is preserved and looks as good as the original in the email.

Edited by dsdemmin
Posted

Thanks for the responses. It may be a little while before the cPanel folks include this. I noticed that the feature summary for AWstats 5.9 has the PDF output listed as "experimental". But it's encouraging to note that the fix list states that "pdf output appears to be working".

 

As for the suggested workarounds, they don't work.

 

If you do a "save as" it ends up creating a folder with sub-folders containing all the graphics to support the html document, not something you can just email.

 

If you do a "select all" from within IE and then paste it into the body of an Outlook html email message, it looks great and you can even send it to yourself and everything's fine, but send it to someone who does not have log-in access to your site and it will prompt them endlessly for a login and they have to use Windows task manager to kill the Outlook process to get out of the cycle. Quite nasty. If you view the source of the html code within the email message you can see why, because it has links to an awstats folder that I believe is under tmp.

Posted

Have you simply tried doing "Save as" -> "Text File" or "Web Page, HTML Only"? Do thse work?

 

Something else to try is select all, copy, and paste into MS Word. I don't know if that will work though.

Posted
Have you simply tried doing "Save as" -> "Text File" or "Web Page, HTML Only"? Do thse work?

 

Something else to try is select all, copy, and paste into MS Word. I don't know if that will work though.

For the reasons stated in my previous post, none of these cut, paste, or save as techniques will work with the AwStats because we're still dealing with html code that references graphics files (for the charts) that are stored in areas on the server that are not accessible to the recipient.

 

When you cut and paste an html document into an Outlook email message, it may appear to you to have embedded everything, but it hasn't, it's just referencing all the links and making it appear as though it had.

 

That said, it looks like the AwStats developers are addressing the issue of being able to email these stats to others by allowing the stats to be exported to a portable self contained document in the form of a pdf file.

 

For those of us who manage sites for others, this will be a nice feature and I'm sure the Cpanel folks know this.

Posted

EdHosting:

 

Don't 'Select All', just select the individual tables you want (i.e. no links or graphics). Within the tables that contain graphics (e.g. bar graphs), I just delete the graphics.

Posted
That said, it looks like the AwStats developers are addressing the issue of being able to email these stats to others by allowing the stats to be exported to a portable self contained document in the form of a pdf file.

 

EdHosting

 

You can create Adobe Acrobat .pdf files of the Awstats now, if you have the "Acrobat PDF Writer" set up as a printer.

 

I just did it and it works great, Acrobat will save the Awstats page in two files, the left frame and the body itself, the left frame is one page and the body is five pages.

 

Richard

Posted

Richard,

 

I had already tried using version 5 of PDF maker, but it complains about the png files that make up the graphs, so it renders these as simple rectangles. Not as impressive looking as the original, but it does work.

 

Scott,

 

I'm using the HyperSnap DX screen capture utility which lets me capture a rectangular region of the screen. Using that tool, I'm able to capture the whole report into seven images which I then paste into the email. This way, I get all the pretty graphs that management types like to see.

 

So yes, where there's a will there's a way. But for those who manage many sites remotely, the ability to generate a pdf automatically will be a welcome addition to the AwStats feature.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...