Forum

JiFile for Joomla!

JIFile
JiFile is a component for Joomla! that allows you to index file contents (PDF, DOC, etc..) to perform searches in them.

Learn more...  Demo

JoomPhoto Mobile

JPhotoMobile
JoomPhoto Mobile is a component for Joomla! that allows you to share the photos from your Android device to your site Joomla.

Learn more...  Demo

iFile Framework

IFile
IFile is an open source framework written entirely in PHP, allows the indexing of textual content of a document (DOC, PDF, EXCEL, etc.) and a quick search within them.

Learn more...  Demo

Easy Language

EasyLanguage
Easy Language is a plugin for easy and immediate management of multilingual texts in every possible area of joomla, articles, components, modules, metadata, template, other components(example K2) etc.

Learn more...

Article Book Effect

Article Book Effect
View Joomla articles with the effect turns the page of a book. This plugin will display the contents of an article in Joomla as a real book or magazine, using all the benefits of HTML5

Learn more...  Demo

 

Passport photo

Passport photo
The most popular Android app that allows you to print photos cards for your documents with your Android smartphone, in a simple and intuitive way.

Learn more...

 

Crazy Shadow

Crazy Shadow
Crazy Shadow is the 3D fast-paced and fun puzzle Android game! Try to rotate and drag shapes in the position of their shadows without fail! Solve in succession all combinations of levels of the game.

Learn more...

 

Admin Countdown

Admin Countdown
Module for Joomla! 2.5 and 3.x displays in the administration part of the site, a timer with countdown of the time remaining in your session.

Learn more...  Demo

 
Welcome, Guest
Username: Password: Remember me

TOPIC: JiFile indexes pdf content wrongly?

JiFile indexes pdf content wrongly? 09 Jan 2013 16:11 #869

  • Johnny
  • Johnny's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 3
Hi There,

I have Joomla 2.5, XAMPP v1.8.1 which has Apache 2.4.3, MySQL 5.5.27 and I am running a windows 7 64bit PC.
I have installed JiFile into Joomla, and tried to index the following pdf file and all I got are encrypted/garbage texts.
Under the body retrieved i have the following instead. I am not sure why. Hope somebody could help me out.

7DEOHRIFRQWHQWV )RUHZRUG 'HVFULSWLRQRIWKHPRWRUV )HDWXUHV 7RUTXHRYHUYLHZ 7HFKQLFDOIHDWXUHV 6HOHFWLRQDQGRUGHULQJGDWD).IRU'&OLQNYROWDJHV9WR9'&OLQHVXSSO\ 99$& ).).&RPSDFW ).).&RPSDFW ).+LJK'\QDPLF).+LJK,QHUWLD 6HOHFWLRQDQGRUGHULQJGDWD).IRU'&OLQNYROWDJHV9WR9'&OLQHVXSSO\ 99$& ).).&RPSDFW ).).&RPSDFWDQG).).+LJK'\QDPLF 5DWLQJSODWHGDWD 0RWRURYHUYLHZ$VVLJQPHQWRI0RWRU0RGXOH &RQILJXULQJVRIWZDUH &RQILJXUDWLRQWRRO6,=(5IRU6,(0(16'ULYHV 67$57(5GULYHFRPPLVVLRQLQJVRIWZDUH 6LQX&RPFRPPLVVLRQLQJWRRO &RQILJXULQJSURFHGXUH &ODULILFDWLRQRIWKHW\SHRIGULYH 'HILQLQJWKHVXSSOHPHQWDU\FRQGLWLRQVDQGLQWHJUDWLRQLQWRDQDXWRPDWLRQV\VWHP 'HILQLWLRQRIWKHORDGFDOFXODWLRQRIPD[ORDGWRUTXHDQGGHILQLWLRQRIWKHPRWRU &RROLQJ 'HJUHHRISURWHFWLRQ %HDULQJYHUVLRQ 5DGLDODQGD[LDOIRUFHV &DOFXODWLQJWKHEHOWSUHWHQVLRQ 5DGLDOIRUFHORDGLQJ 5DGLDOIRUFHGLDJUDPV $[LDOIRUFHVWUHVVLQJ 6PRRWKUXQQLQJFRQFHQWULFLW\DQGD[LDOHFFHQWULFLW\ 6KDIWHQG %DODQFLQJ &RQILJXUDWLRQ 0HFKDQLFDOSURSHUWLHVRIWKHPRWRUV 6\QFKURQRXVPRWRUV).*HQHUDWLRQ &RQILJXUDWLRQ0DQXDO(GLWLRQ61$'%3

Cheers,
AmazingTrans
Attachments:
  • Attachment This attachment is hidden for guests. Please log in or register to see it.
Last Edit: 09 Jan 2013 16:23 by Johnny.
The administrator has disabled public write access.

JiFile indexes pdf content wrongly? 09 Jan 2013 19:47 #870

  • Johnny
  • Johnny's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 3
There is one more document which I am able to copy and paste into notepad without any problem. But the JIFile is not able to index them into text. I get empty body. Not sure what I should do from here on.

Really hope to hear from helpers out there.

Cheers
Attachments:
  • Attachment This attachment is hidden for guests. Please log in or register to see it.
The administrator has disabled public write access.

JiFile indexes pdf content wrongly? 10 Jan 2013 12:54 #871

  • Giampaolo
  • Giampaolo's Avatar
  • OFFLINE
  • Administrator
  • Posts: 465
  • Thank you received: 43
Hi,
we are checking your problem.
see you soon.
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
The administrator has disabled public write access.

JiFile indexes pdf content wrongly? 10 Jan 2013 18:10 #873

  • Giampaolo
  • Giampaolo's Avatar
  • OFFLINE
  • Administrator
  • Posts: 465
  • Thank you received: 43
Hi,
test.pdf file works (see images):

Indexing Manually:


This image is hidden for guests. Please log in or register to see it.



Auto-Indexing:


This image is hidden for guests. Please log in or register to see it.



Jifile Configuration:

This image is hidden for guests. Please log in or register to see it.



For the other pdf:
the XPDF, returns the content that you have write in topic.
I have test to copy content but the "Adobe Reader" return message error: "Error in copy of the content"
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
The administrator has disabled public write access.

JiFile indexes pdf content wrongly? 10 Jan 2013 20:33 #874

  • Johnny
  • Johnny's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 3
Hi Giampaolo,

So far I am able to index a lot of pdf, but not the two type of pdf I have attached in my previous post.
I tried to index the test.pdf manually, and all i got was a blank body:
This image is hidden for guests. Please log in or register to see it.

But when I try to index the test.pdf automatically; it works.
[img size]imgur.com/iWxSb[/img]

Here are my configuration file. I set the same as your configuration file and it still does not index the test.pdf.
This image is hidden for guests. Please log in or register to see it.

Hope to hear from you.
Last Edit: 10 Jan 2013 20:41 by Johnny.Reason: Automatic work but not manual... Added Image link for reference.
The administrator has disabled public write access.

JiFile indexes pdf content wrongly? 11 Jan 2013 09:34 #875

  • Giampaolo
  • Giampaolo's Avatar
  • OFFLINE
  • Administrator
  • Posts: 465
  • Thank you received: 43
Hi,
we don't understand because you can index "test.pdf" automatically but not manually.
Try this method:

1. open this file:
yourJoomlaRoot/libraries/ifile/adapter/helpers/binaries/xpdfrc/xpdfrc
the "xpdfrc" file not has extension, and not the must have.

- uncomment line 7 (delete # ):
textEncoding UTF-8

2. Set UTF-8 Encoding in JiFile configuration.

This indicates at the XPDF to read the content in UTF-8 encoding and at JiFile the use UTF-8 encoding for indexing and display content.

We tried this configuration and it works.
Let us know
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
The administrator has disabled public write access.