Forum

JiFile per Joomla!

JIFile
JiFile è una componente per Joomla! che permette di indicizzare il contenuto dei file(PDF, DOC, ecc.) per poter effettuare delle ricerche al loro interno.

Scopri di più...  Demo

JoomPhoto Mobile

JPhotoMobile
JoomPhoto Mobile è una componente per Joomla! che ti permette di condividere le foto dal tuo dispositivo Android sul tuo portale Joomla!.

Scopri di più...  Demo

iFile Framework

IFile
IFile è un framework open source scritto interamente in PHP, permette l'indicizzazione dei contenuti testuali di un documento (DOC, PDF, EXCEL, etc) e una rapida ricerca all'interno degli stessi.

Scopri di più...  Demo

Easy Language

EasyLanguage
Easy Language è un plugin per la gestione semplice ed immediata di testi multilingua in ogni parte possibile di joomla, articoli, componenti, moduli, metadata, template, altri componenti(esempio K2) ecc.

Scopri di più...

Article Book Effect

Article Book Effect
Visualizza gli articoli di Joomla con l'effetto volta pagina di un libro. Questo plugin consente di visualizzare il contenuto di un articolo Joomla come un vero e proprio libro o una rivista, utilizzando tutti i vantaggi di HTML5

Scopri di più...  Demo

 

Fototessera

Article Book Effect
La più famosa Android App che ti permette di stampare le foto tessere per i tuoi documenti con il tuo smartphone Android, in modo semplice ed intuitivo.

Scopri di più...

 

Ombra pazza 3D

Ombra pazza 3D
Ombra Pazza è il puzzle game 3D frenetico e divertente per Android! Prova a ruotare le forme portandole nella posizione delle proprie ombre senza mai fallire! Risolvi una dopo l'altra tutte le combinazioni dei livelli di gioco.

Scopri di più...

 

Admin Countdown

Admin Countdown
Modulo per Joomla! 2.5 e 3.x visualizza nella parte di amministrazione del sito, un timer con il conto alla rovescia del tempo rimanente della tua sessione.

Scopri di più...  Demo

 
Benvenuto, Ospite
Nome utente: Password: Ricordami

ARGOMENTO: PDF - Empty Body

PDF - Empty Body 23/04/2013 09:45 #1166

  • Giampaolo
  • Avatar di Giampaolo
  • OFFLINE
  • Administrator
  • Messaggi: 465
  • Ringraziamenti ricevuti 43
If the indexing of the PDF document return the message "Empty Body" or if the document is indexed and the search not return result, then you must read this topic.

If your problem is the "Empty body", you need to know that each document could have different encoding.

When you indexing one document (or N° documents) you must define encoding type to read this document and type encoding for convert this encoding in "Analyzer Encoding".

I'll explain:

If your "PDF" document is saved in ISO-8859-1 (or Windows 1252).

Now the XPDF, reads the content of the PDF file, of default in ISO-8859-1 (or Windows 1252 or Latin-1), and buffer this in ISO-8859-1 encoding.

Because the Analyzer is set in "UTF8_CaseInsensitive" (remember that this field should never be changed), JiFile must convert the buffered content ( ISO-8859-1) in UTF8. To do this, you must define encoding of the document in field "Encoding" in JiFile configuration.

If your "PDF" document is in another type of encoding (for exemple UTF8), you must configure the XPDF for read and buffer the content in this encoding. This is possible in file:

\libraries\ifile\adapter\helpers\binaries\xpdfrc\xpdfrc

Warning: the "xpdfrc" file, should not have extension.

For more information read this document:

www.isapp.it/documentazione/How-To-Use-JiFile.pdf

If the search not return result than for testing this problem, you can set the field "body" (in Configuration section on JiFile) as "Text".

Delete document that not works, and re-indexing. Now in "Detail" (image "plus" in the Index section), you can see the real content that has been indexed.

If your document is incomplete, then, you must see the "Encoding" configuration correct.

Remember that the "field body" as "Text" decreases the performance, but present the "Highlights" in the search on front end.
If the "field body" is "UnStored" the performance are very strong, but in front end search, present only the "IntroText" field.
If you like, if it was useful, consider a donation, Thanks
Se vuoi, se ti siamo stati utili, considera una donazione, Grazie
Help us by voting our extensions on Joomla.org:
JiFile
JoomPhoto Mobile
Easy Language
L\'Argomento è stato bloccato.