Link to home
Start Free TrialLog in
Avatar of fabianope
fabianope

asked on

Perl and OPACs

hello to everybody

the question is (maybe) not difficult but it may employ long time to resolve.

please go to

http://opac.bib.uniud.it:82/ALEPH/

this is the on line catalogue of a university (sorry for the italian language) made with ALEPH. You can find other info and english demos about this software at:

http://www.exlibris-usa.com/aleph/products7.html

all that I want is a dynamic perl page that passes to the catalogue some string search (IE a perl page that automatically finds all the books that have the word "mathematics" on the title) and returns a list of the matching headers

in other words something like "click here to find all the mathematics books of the university" with "here" hyperlinked to the perl page in question.

I think that the difficult is on the large use of dynamic session-ids inside this software.
bye and thanks

Fabiano
Avatar of Chris S
Chris S
Flag of India image

listening to other's answers....
could you please post the code which needs to be changed
Avatar of fabianope
fabianope

ASKER

hello,
I know that this is an ORACLE solution, but I've not an administrative access to the server and I don't know the
database structure, so I must work only with the (dynamic) HTML interface.
I've thought to the following scenario:

1) with a first interrogation to the html interface the script fetch the session ID(s)

2) with a "second passage" the script builds the right url for the search.

please note that you can "fix" the search to a pre-defined search term: I.E.

<a href="searchmat.pl">math books</a>

where searchmat.pl is the page I desired...

the script should be build from scratch: if this is difficult I can increase the points.

bye

Fabianope

fabianope,
If you want to know how to use patterns,
http://www.perldoc.com/perl5.6.1/pod/perl.html
You will get links to perlre and perlre tutorial.

I could not open the english site :( and I dont understand
 italian :(

Well, where is the data lying? Is it in oracle or it is coming from HTML form?

If the data is lying in Orcale, then I think you need to know database structure.

Do you know how to connect to oracle using perl?

Also to read database and knowing a database structure does not need administrator access.



ASKER CERTIFIED SOLUTION
Avatar of ahoffmann
ahoffmann
Flag of Germany image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
ahoffmann
thanks a lot for the solution.
sorry for the delay in answering (I was away for work)
in the next hours I'll try it and if successfull I'll accept it.

bye

fabianope
hello,
excuse the delay in answering (I've added 30 points)

thanks
Fabianope
Thanks