Files and documents
Get Files
Get Files finds linked files in HTML, such as PDFs or archives, and saves them on your server.
- Input:
html. - Output:
files(the list of saved files) andhtml(with the new file addresses).
It has the same options as Get Images: Get To local, Save to (default images/joomgrabber/files), Create Subfolder, Keep Original Name, Make list and Number images (here: number of files), Remove, Stop if not found files?, Force File Extension, Remove Old Files, cURL mode and Use Absolute Link.
Save Document
Save Document downloads one document address and gives you ready HTML to show it.
- Input:
original_document, a document URL. - Output:
saved_link,saved_absolute_link: the saved file's relative and full address;saved_html_link: a link to the file;download_html_link: a download link with your Download Link Text;type: the file extension;iframe_html: the document in an iframe, optionally through Google's document viewer.
| Option | What it does |
|---|---|
| Save to, Create Subfolder, Keep Original Name | Where and how the file is saved. Default images/joomgrabber |
| cURL mode | How the file is downloaded |
| Force Extension Name | For files without a known extension: ODP, ODS, ODT, PDF, PPT, PPTX, RTF, TXT, XLS or XLSX |
| Download Link Text | Default "Click to download document" |
| Iframe Width, Iframe Height | Size of iframe_html. Default 100% and 500px |
| Use Google Document Viewer | Show the document through Google's viewer in the iframe. Google must be able to reach the file on your site |
For DOCman documents, the DOCman adapter can also save the file itself.