PDF link: explanation

sferda0
Posts: 15
Joined: Mon May 14, 2001 5:02 pm

PDF link: explanation

Post by sferda0 »

User avatar
mark
Site Admin
Posts: 5519
Joined: Tue Apr 25, 2000 6:56 pm

PDF link: explanation

Post by mark »

It provides hit markup info to the adobe acrobat browser plugin so that it knows what words to hilight. If you don't care about hit markup within the pdf documents you can omit it.

If you're curious you can submit the url after xml= with your browser to see what the data is.
sferda0
Posts: 15
Joined: Mon May 14, 2001 5:02 pm

PDF link: explanation

Post by sferda0 »

Thanks, but when I try the URL after the xml=, I always get:

Warning: 'delimiters' not allowed in query
Warning: 'intersects' not allowed in query

My original search is "pressure". Looking over the code for this function (xml), I suspect that the $Body argument passed to pdfxml contains the offending chars, but I don't know how to fix this. If I supress the warnings, the query just dies quietly and returns empty XML markup.

Any help? Thanks.

Steve
User avatar
mark
Site Admin
Posts: 5519
Joined: Tue Apr 25, 2000 6:56 pm

PDF link: explanation

Post by mark »

sferda0
Posts: 15
Joined: Mon May 14, 2001 5:02 pm

PDF link: explanation

Post by sferda0 »

Mark, again, thanks. Another question: when I search for two words (say "High Pressure"), the xml function only creates markup for one of the words:

<XML>
<Body Units=words color=#00FF00 mode=active version=2>
<Highlights>
<location pg=0 pos=4 len=1>
</Highlights>
</Body>
</XML>

Can you point me to a manual page (while muttering RTFM quietly)?

Thanks, Steve.
User avatar
mark
Site Admin
Posts: 5519
Joined: Tue Apr 25, 2000 6:56 pm

PDF link: explanation

Post by mark »

If the words are adjacent, it may only highlight one. Otherwise all occurences of each word should be highlighted.