jwarmelink
Programmer
I am trying to use Oracle Text to index and search attachments in LiveLink. (Don't ask why... i wish i knew... not my call)
In any case, in the Oracle database, you enter in a URI to the document you wish to index into a table. It will then hit the URI, download the document, and index it appropriately. Currently, this is the URL I have come up with:
This will call the livelink login function, passes the username and password on the URL, and then the NEXTURL is the link to fetch the document with nodeId 34731.
The problem with this is that it does not, in fact, go directly to the attachment fetch. This URL first responds with a document in this format:
<HTML>
<!-- File: redirectmeta.html -->
<HEAD>
<TITLE>Livelink - Redirection</TITLE>
<META HTTP-EQUIV="Refresh" CONTENT="0; URL=/livelink/livelink.exe?func=doc.Fetch&nodeId=34731">
</HEAD>
</HTML>
<!-- End File: redirectmeta.html -->
This document just uses browser re-direction to send you to the NextURL. This will not work, because Oracle simply downloads this small HTML file and indexes it without forwarding!
Is there a way to construct a url with the func=doc.Fetch that includes a userid and password on it, so that I do not have to use the NextURL functionality?
Please help!
Thanks, Joe
In any case, in the Oracle database, you enter in a URI to the document you wish to index into a table. It will then hit the URI, download the document, and index it appropriately. Currently, this is the URL I have come up with:
This will call the livelink login function, passes the username and password on the URL, and then the NEXTURL is the link to fetch the document with nodeId 34731.
The problem with this is that it does not, in fact, go directly to the attachment fetch. This URL first responds with a document in this format:
<HTML>
<!-- File: redirectmeta.html -->
<HEAD>
<TITLE>Livelink - Redirection</TITLE>
<META HTTP-EQUIV="Refresh" CONTENT="0; URL=/livelink/livelink.exe?func=doc.Fetch&nodeId=34731">
</HEAD>
</HTML>
<!-- End File: redirectmeta.html -->
This document just uses browser re-direction to send you to the NextURL. This will not work, because Oracle simply downloads this small HTML file and indexes it without forwarding!
Is there a way to construct a url with the func=doc.Fetch that includes a userid and password on it, so that I do not have to use the NextURL functionality?
Please help!
Thanks, Joe