Must be written in VB 6.0
The software will have the following Objects
1. Script URL
=======
A text box to enter the URL to the script
2. File Name Frame
============
It will have two option (radio) buttons.
1st Option: Text box to enter the file name
This will have a Browse button next to it in
order to grab a file from the local computer
2nd Option: Use default file
3. Start, Stop, Pause and Resume Buttons
==========================
4. A list view with two columns (see below)
===========================
The user will enter the the URL to the script file
in the Script URL field. The software will submit
two parameters to that URL using GET method. The
first parameter's name is url and the second parameter's
name is cat.
How to Obtain the 1st Parameter Value (url=):
==============================
The value for the url parameter will be obtained
from the file given in the File Name Frame.
If the user chooses to enter its own file name then
use that, else use the default file supplied.
The file has to contain a list of URLs. Each of this
URL will be posted to the script with url="url obtained
from the file".
Sample File Contents:
[login to view URL]
[login to view URL]
[login to view URL]
[login to view URL]
How to Obtain the 2nd Parameter Value (cat=):
==============================
Now the second parameter value is a little tricky.
Each and every URL in the file will be pointing to
a .xml file as mentioned above in the Sample File
Contents.
The software will have to access the .xml file and
then figure out the cat= parameter value from the
data in the file using the algorithm below:
Alogrithm to find out cat= value:
1. If Program_Category_Class tag is present in the
.xml file contents then the value written in between
Program_Category_Class and /Program_Category_Class
is the cat= value Else
2. If Program_Categories tag is present in the .xml
file then read whatever is in between
Program_Categories and Program_Categories
and then for every phrase (separated by commas or spaces)
try to match it against the list of categories provided
in the attached file category2.txt. Whereever it matches
use the value from the [login to view URL] file as the cat=
value.
3. If there is no match then read the tag
Program_Specific_Category. The [login to view URL]
file has categories in the following format:
Main Category::Sub category
Match the Program_Specific_Category tag value that
you just read against the Main Category in the [login to view URL]
file and choose the corresponding default cateogry as
the value for cat parameter. (see
[login to view URL] file)
Once the cat= and url= values are determined for
a given .xml url from the file then these values should
be submitted to the script using GET method.
The software should do this for every .xml URL provided
in the file.
The list view should show the progress. In first
column it should show the .xml URL being processed
and in the second column it should show the status,
such as Reading, Matching Category, Submitting, Done.
That's it. It is fairly simple.
DEVLIVERABLES
o VB 6.0 source code
o All ownership, All rights
o Installation Package
o All the supporting files