Google Answers Logo
View Question
 
Q: for joseleon-ga only please. ( Answered 5 out of 5 stars,   0 Comments )
Question  
Subject: for joseleon-ga only please.
Category: Computers > Programming
Asked by: bmcompany-ga
List Price: $100.00
Posted: 08 Sep 2003 07:32 PDT
Expires: 08 Oct 2003 07:32 PDT
Question ID: 253458
I have overlooked something major with this report analyser.

At present, we use TopDogPro to generate our reports. Up until a
couple of months ago, we used TopDog - an earlier version of the
software. It generated identical looking reports, but the html was
quite different. I have tried the html parser on these reports, but it
comes up with 0 positions (to be expected).

For this question, we would like the following. Please post a
clarification req to let us know if you are willing to continue. If
you have had enough of the damn thing, please let us know - we'll
understand :).

1. The ability to analyse the old format of reports and produce the
same figures - Within the same program would be greatly preferred.
2. We will test the program throughout this week and will report any
bugs.

And - I was only joking about the 2 stars, you have done a fantastic
job and smashed your deadline. Let me know what you think of the
above. If its ok, then great – ill post some old reports.

Regards

BMCOMPANY

Clarification of Question by bmcompany-ga on 08 Sep 2003 07:41 PDT
OK. Thats cleared the stars question up i hope :)

Moving on, in addition to the above.

I am sure we are using the latest version (although I'll re-check),
but the size is 608 KB (623,104 bytes)

Request for Question Clarification by joseleon-ga on 08 Sep 2003 07:53 PDT
Hello, bmcompany:
  Sure I want to keep going with the software, it's very nice to work
for you because you are very helpful and provide all the information I
need. Please, post the old reports and I will try to use the same
routine to parse them if possible.

Regarding the version, yes, you are using the lastest, I will add some
code to debug your actions, that way I will know what you are doing
and I will be able to fix the problem.

Regards.

Clarification of Question by bmcompany-ga on 08 Sep 2003 08:21 PDT
Hi there again.

Good to see that you're gonna stick with us.

Ill post some old reports later today. Got to get on with some other
(more boring) jobs.

Speak to you soon.

Clarification of Question by bmcompany-ga on 09 Sep 2003 03:27 PDT
Hi there,

http://www.sesuk.net/reports_at_random.zip

Just a random selection of some older reports. Please let me know when
you have downloaded them and i will remove the file from the site.

Thanks again.
Answer  
Subject: Re: for joseleon-ga only please.
Answered By: joseleon-ga on 09 Sep 2003 04:06 PDT
Rated:5 out of 5 stars
 
Hello, bmcompany:

  You can safely delete the files from your server, I have download
them, also, check out the lastest version of the parser, it works with
the old reports too. I have standarized the way to parse positions, so
it's easier to add new formats.
  
  Grab it from:
  
  http://www.xpde.com/HTML_Parser2.zip
  
  Please, test it, and also, tell me more about the save results
problem.
  
Regards.

Request for Answer Clarification by bmcompany-ga on 09 Sep 2003 04:33 PDT
what can i say? Didnt take you long!

I will run through some tests this afternoon. Any thoughts on making
it analyse multipul reports?

Clarification of Answer by joseleon-ga on 09 Sep 2003 05:50 PDT
Hello bmcompany:
  To perform a batch operation, this is what I have planned:
  
  -The interface will be a wizard
  -The user will be requested to select a directory where reports are
stored
  -Next, the user will be requested a directory where results are
going to be stored
  -Next, the process will begin
  -Results will be stored with the name extracted from the report
  
  This has only one problem, How to allow select a set of optimized
pages?
  
  It could be done as the third step, that is, to request optimized
pages for ALL the reports you are about to process.
  
  What do you think?
  
Regards.

Request for Answer Clarification by bmcompany-ga on 09 Sep 2003 06:36 PDT
yes, this was the problem i thought you would have.

We COULD put all of the pages in one directoy but that defeats the
object because it will take longer that doing each report individualy.

Is there any way that, instead of having the page names themselves,
you could just look for the characteristics of the page naming
conventions?

EG. Keyword_Here.htm

All phrases are seperated with _ and all keyphrases are title case
(uppper case first letter) and end with .htm

I know the optimised position figures wont be as acurate but when we
are doing a batch count, its mainly for an overview - and so is not
essential that its spot on.

What do you think?

Clarification of Answer by joseleon-ga on 09 Sep 2003 06:41 PDT
Hello, 
  Then we could do it this way?

-The user will be requested to select a directory where reports are
stored, all the html files stored there are considered input reports
-Next, the user will be requested to select a directory where the
optimized pages reside, all the html files stored there are considered
optimized pages
-Next, the user will be requested a directory where results are going
to be stored

Without naming conventions at all, just to store reports and optimized
pages in separate directories. It's not a problem if two optimized
pages collide, you can overwrite them because it's just the name what
is important.

Regards.

Clarification of Answer by joseleon-ga on 09 Sep 2003 11:26 PDT
Hello, bmcompany:

  I have updated the tool to allow batch operations, it's fully
working but it's a preview, you can change whatever you want, justs
tell me...

Here it is:

http://www.xpde.com/HTML_Parser3.zip

It works in the way I said before, a directory for reports, another
directory for optimized pages and an output directory to save the
results.

Please, test it and tell me what do you think.

Regards.

Request for Answer Clarification by bmcompany-ga on 10 Sep 2003 04:04 PDT
Hi there,

Just a couple of small problems.

We get this error occasionally, but if you ok the error, and run try
again it works?

"Access violation at address 004703cf in module 'htmlparser.exe' at
address 00000000"

The save-as now seems to work, any luck with the copy and paste in the
results preview?

Clarification of Answer by joseleon-ga on 10 Sep 2003 05:29 PDT
Hello, bmcompany:
  Please, send me the files that produce the error so I can fix it. I
will try to fix the problem with copy/paste, but it's really weird...
:-(

Regarding batch operations, is this what you want?

Regards.

Request for Answer Clarification by bmcompany-ga on 11 Sep 2003 01:18 PDT
Hi again,

That access violation is happening at random with any report.

Only thing i would say about the batch operation, is that it would be
better generating 1 report file for all of the results, not one for
each.

As soon as we get the copy and paste working, Ill close the question.

Cheers!

Clarification of Answer by joseleon-ga on 11 Sep 2003 02:44 PDT
Hello, bmcompany:

Please, download this version:

http://www.xpde.com/HTML_Parser5.zip

The copy and paste from browser controls should be fully working right
now. I have downgraded the compiler to Delphi 5.

Regarding the AV, one question:
-It happens using batch operations or single reports?

Regarding the batch operations summary:
-Do you want a single output report with global figures for all
reports, that is, all figures added
-Or do you want a single output report with all individual reports one
after each other?

Regards.

Request for Answer Clarification by bmcompany-ga on 11 Sep 2003 03:06 PDT
the error happens with both batch and single. It seems to only be on 1
pc so if its nothing obvious dont worry too much about it.

-Or do you want a single output report with all individual reports one
after each other?

Exactly, that would be much better. Oh and the copy and pasting works
perfectly now!

Clarification of Answer by joseleon-ga on 11 Sep 2003 03:36 PDT
Hello, bmcompany:

Please, download the latest version, here it is:

http://www.xpde.com/HTML_Parser6.zip

It contains both sources and binaries, you can use Delphi 5 to
recompile it, also I have commented all the code.

Regarding batch operations I have removed the output directory and all
results are placed in the same page, so after perform the batch
process you can save the results as a single report.

Regarding the Access Violation you get on that computer please:
-Tell me which IE version is using
-And which Windows version is using, including service packs

It could be a problem with the IE control.

Maybe it doesn't matter, but I really don't like to hear how a program
of me fails!!! ;-)))

Regards.

Request for Answer Clarification by bmcompany-ga on 12 Sep 2003 04:27 PDT
Hi

Here is the info you requested.

Windows 2000 - Version 5.0 Build 2195 Service Pack 3

IE: Version 5.00.3507.1000 Cipher 128 Bit.

We've got a couple of people using it now without problem (except the
Access Violation every now and again, which isnt too much of a
hardship), and im not going to be able to spend any time with you next
week, so Ill close the question.

I have a few more ideas of other things we want it to be able to do -
so please look out for questions with your name in in the next 2 - 3
weeks!

You've been great (again) and i look forward to working with you on
this (and other things) soon.

Clarification of Answer by joseleon-ga on 15 Sep 2003 05:32 PDT
Hello, bmcompany:

Thanks a lot for the tip and for your comments, I will try to
reproduce the bug on my system to be able to fix it.

I look forward to work with you in the next weeks.

Regards.
bmcompany-ga rated this answer:5 out of 5 stars and gave an additional tip of: $20.00
Excellent work

Comments  
There are no comments at this time.

Important Disclaimer: Answers and comments provided on Google Answers are general information, and are not intended to substitute for informed professional medical, psychiatric, psychological, tax, legal, investment, accounting, or other professional advice. Google does not endorse, and expressly disclaims liability for any product, manufacturer, distributor, service or service provider mentioned or any opinion expressed in answers or comments. Please read carefully the Google Answers Terms of Service.

If you feel that you have found inappropriate content, please let us know by emailing us at answers-support@google.com with the question ID listed above. Thank you.
Search Google Answers for
Google Answers  


Google Home - Answers FAQ - Terms of Service - Privacy Policy