Coder Social home page Coder Social logo

isappit / ifile Goto Github PK

View Code? Open in Web Editor NEW
3.0 3.0 0.0 4.49 MB

"Documents Search Engine" based on Lucene for indexing and searching in many type of the documents

Home Page: http://www.isapp.it

License: GNU Lesser General Public License v3.0

PHP 98.91% HTML 0.49% CSS 0.61%
xpdf antiword php lucene ifile ifile-binaries mysql text-search

ifile's Introduction

Logo

Welcome to the IFile 2.0 Release!

RELEASE INFORMATION

IFile 2.0dev

Please see CHANGELOG.md.

SYSTEM REQUIREMENTS

IFile 2.0 requires PHP 5.3 or later; we recommend using the latest PHP version whenever possible.

What is IFile?

IFile is a "Documental Search Engine", you can improve your applications written in PHP and allow to index and search within documents. Its facility of use allows to use it in any context or domain. One of the fundamental aspects on which is based is the ability to read texts in the documents as PDF, DOC or Excel (iFile supports more of the 25 formats) and search the terms present in the documents. The traceability of the contents of files in search results on its own website, emphasizes the importance of allowing the search of all content within own website.

The our users, uses IFile for sites of University, Scientific Communities, School, Libraries, Newspapers and all web application or site that publish documents, images or audio files, to improve the user experience, and research on the site.

Installation

The easiest way to install IFile project is to use Composer. If you don't have it already installed, then please install as per the documentation.

{
    "minimum-stability": "RC",
    "prefer-stable": true,
    "require": {
        "isappit/ifile": "2.x"
    }
}

IFile need that you configure the composer.json file with the key "minimum-stability": "RC" (or "dev") because the ZendSearch dependence is implemented only in "RC" stability.

How Download and use Binaries files in IFile

If you want use third-part component XPDF or ANTIWORD you can use this method:

Zip Archive
  • Download ZIP Archive Binaries Files from here
  • Unzip the package on your server
  • Copy the "ifile-binaries" folder in "vendor/isappit/ifile/src/Adapter/Helpers/" or configure IFile to read the "ifile-binaries" folder from external path at IFile. More detail

Example how configure external path:

 <binaries>/usr/local/var/ifile/ifile-binaries</binaries>
Clone project from git
  • Clone project
  • Copy the "ifile-binaries" folder in "vendor/isappit/ifile/src/Adapter/Helpers/" or configure IFile to read the "ifile-binaries" folder from external path at IFile. More detail

Example clone project:

git clone https://github.com/isappit/ifile-binaries.git
Install and configure third-part component

If you don't want download and install "ifile-binaries" folder and you want use XPDF or ANTIWORD installed on your server, you can configure the third-parts executable files in configuration.

For more detail how configure third-parts components in IFile see:

Configuration

The configuration file is stored in "src/Config/xml/IFileConfig.xml", but we recommended you to configure external file at project and set this file configuration first to create the IFileFactory.

Example:

    // Define external configuration file ( if not defined, IFile use: src/Config/xml/IFileConfig.xml in vendor )
    $fileConfig = "/Users/isapp/Sites/personal/github/ifile/IFileConfig.xml";
    
    // try/catch
    try {
    	// IMPORTANT: 
    	// if use a external Configuration file is need to set external configuration file first to instance IFileFactory
    	IFileConfig::setXmlConfig($fileConfig);
    	
    	// instance IFileFactory
    	$IFile = IFileFactory::getInstance();
    	.....

For more detail how configure IFile you can read the README

Documentation

The documentation of IFile is written only in "Italian" language (we hope translate in English in next release). You can read documentation from here, or you can Donwload PDF.

In IFile library exists also the example/ folder were you can find many examples to use correctly IFile.

LICENSE

The files in this archive are released under the LGPL-3.0 You can find a copy of this license in LICENSE.

ifile's People

Contributors

jumpaolo avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.