Nate Maxfield
Forum  


PDF Index 1.4 & DocMan Stats - 2006/07/16 11:25 Hi,

I have Installed PDF Index 1.4 and DocMan 1.3.0 RC2 on my site. The central search works (The doc man search doesn't include the pdf details but that's not my concern) The problem I have is if a document managed by DocMan is displayed in the central search and I click on the document the hits are not incremented. This means that I have an inaccuracy with the stats that are being generated.

I've not looked at how the stats package works in DOCMan but ideally I would like both the log and the hits to be incremented (it may be that you need to do both, in that it may generate the hits from the log - as I said I've not looked at it)

As a thought you probably want to make this a feature that can be turned on or off, in case docman decide to change the way their stats are generated (Again double counting would be a bad idea)

graeme.
  | | The administrator has disabled public write access.
Re:PDF Index 1.4 & DocMan Stats - 2006/07/16 11:38 Okay just spent a little more time looking at this...

The link from PDFIndex to a DOCMan managed pdf is:
dmdocuments/myDoc.pdf

The link from with Joomla to a DOCMan managed pdf is:
?option=com_docman&Itemid=&task=doc_download&gid=20

I suspect the 20 is the primary key on their data base linking the document myDoc.pdf to the data.

So my guess would be that this should be a relatively easy fix to achieve.
  | | The administrator has disabled public write access.
Re:PDF Index 1.4 & DocMan Stats - 2006/07/16 11:45 I've just looked at the docman table it shoudl be an easy fix in that you will need :

select id from af_docman where dmfilename = "myDoc.pdf";

where my table prefix is af_
and the document is myDoc.pdf
  | | The administrator has disabled public write access.
Re:PDF Index 1.4 & DocMan Stats - 2006/07/17 16:31 I am going to be updating PDF indexer as soon as I finish some other projects I am working on. It will probably be in a month or so.
  | | The administrator has disabled public write access.

 
What's New
Donate

Please make a donation if you find this component useful and want to support its continued development.

Log In





Lost Password?
No account yet? Register

© Copyright 2007 - NateMaxfield.com.  All Rights Reserved.