This class extracts title and body from a parsed RST file in XML format.
Source for this file: /Search/src/extractors/rstxml.php
Version: | //autogentag// |
public static array(ezcSearchDocument) |
extract(
$fileName
, $type
, $url
, [ $imagePath
= null] , [ $imageUrlPath
= null] )
Extracts information from the file $fileName associated with the url $url. |
Extracts information from the file $fileName associated with the url $url.
The document type for this document is given in $type, and the images on disk should be in the directory named $imagePath. The urls where the images link to should be in $imageUrlPath.
Name | Type | Description |
---|---|---|
$fileName |
string | |
$type |
string | |
$url |
string | |
$imagePath |
string | |
$imageUrlPath |
string |