TXT Folder
The TxtFolder engine imports plain text files placed in a folder of your Joomla site. Each file becomes one item.
Output fields [oe]
| Field | Value |
|---|---|
filename |
The file name without .txt |
content |
The whole text of the file |
Settings
- Folder: the folder, relative to your Joomla root, such as
media/imports/txt.
How it works
The engine reads every .txt file in the folder and then moves it to an archived folder inside it, so it is not imported twice. The folder must be writable.
Preview also moves the files in the current version. After a preview, move the files back from archived before the real run.
Example
Put opening-hours.txt in the folder. Map filename to the article title (add the Alias processor for a clean alias) and content to the article text. Text files have no HTML; add paragraphs with the Regex Replacer if you need them.