Importing Data to Joomla

With TF Import Joomla extension, you can import almost anything to Joomla. You can extract and import content items to Joomla articles, other components and to any Joomla database table.

You can setup rules for grabbers and processors to modify data before importing.

1. Source

The "Source" defines from where you want to import data. The component supports following six types of sources of content:

  1. DOM: To get content from any external Url with html code using document object model.
  2. API: To get content from Joomla Web Services or any other API.
  3. CSV: To get content from CSV (or Excel) files.
  4. FILE: To get content from text or any other type of file.
  5. EMAIL: To get content from emails.
  6. DATABASE: To get content from Joomla or external database tables.

2. Destination

The "Destination" defines where you want to import or save data.

You can easily import data to Joomla articles or other core component - categories, tags, contacts, users, banners. The component also supports importing content to other TF extensions and to any other Joomla database table.

3. Singles

First, you need to create a "Single" and select source and destination. We call it "Single" as it imports one or single item or record at a time.

Content Source: Select the type of Content Source.

Resource: The resource is the source location (like Url or Id). It depends on type of source.

Destination: Select the type of destination.

Category: In case of Joomla articles, select the category where you want to import data.

Enable Updates: If record with the same alias already exists, then it will be replaced. If disabled, existing articles will not be updated.

Last Created: Date on which this single was last processed.

Example (using DOM)

Suppose, you want to extract content from the following Url:

https://books.toscrape.com/catalogue/shakespeares-sonnets_989/index.html

Select the Source as DOM and enter the Url in Resource. Click "Preview". Under the Raw Data tab, you will see the extracted Html content from the Source Url using DOM.