Skip to content
MoositesPublic

About

No description, website, or topics provided.

Resources

Contributing

Security policy

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

1 Commit

Folders and files

Repository files navigation

J2Publii — Joomla to Publii Exporter

Export Joomla articles to Publii using WordPress WXR XML.

J2Publii is a Joomla administrator component that exports standard Joomla com_content articles into a WordPress eXtended RSS (WXR) file that can be imported into Publii with its built-in WP Importer.

The aim is to make moving a Joomla content site to Publii easier without requiring the article images to be copied manually before import.

Features

  • Exports standard Joomla articles (com_content) as WXR XML.
  • Configurable source website URL, so the same component can be used on different Joomla sites.
  • Converts Joomla categories into flat Publii tags.
  • Preserves article titles, aliases, introtext/fulltext HTML, publication dates and author information in the WXR export.
  • Converts relative image and link URLs in article HTML to absolute URLs.
  • Keeps image files on the source Joomla website and references them by absolute URL for Publii to retrieve during import.
  • Offers category filtering and test export limits (10, 25, 100 or all).
  • Can include unpublished articles as drafts.
  • Exports a CSV URL mapping reference for planning redirects.

Compatibility

  • Joomla: developed for Joomla 6; test on your target Joomla version.
  • Publii: uses Publii's WordPress/WXR importer. Import behaviour can vary by Publii version, so test with a small export first.
  • Content scope: standard Joomla com_content articles only.

This is a community migration utility, not a complete Joomla-site migration tool. It does not migrate templates, menus, modules, users, extension data, or third-party component content.

Installation

  1. Download the latest com_j2publii-x.y.z.zip installer from the GitHub Releases page.
  2. In Joomla Administrator, open System → Install → Extensions.
  3. Upload the ZIP file and install it.
  4. Open Components → Joomla to Publii Exporter.
  5. Open Component Options and set:
    • Source website URL: the public base URL of the Joomla site, e.g. https://example.com (no trailing slash is needed).
    • Website name: the name to use in the WXR export.
    • Website description: optional.
  6. Save the options and return to the exporter.

Exporting articles

  1. Select All categories or a specific Joomla category.
  2. Choose a test limit:
    • First 10 articles
    • First 25 articles
    • First 100 articles
    • All matching articles
  3. Optionally select Include unpublished articles. These are written to the export as drafts.
  4. Click Generate WXR export and save the XML file.
  5. In Publii, open Tools → WP Importer and select the WXR file.
  6. Review the import report and inspect the imported site before publishing.

Recommended: begin with a small test export. Confirm formatting, image downloads, tags, slugs and metadata before exporting the full site.

Images and source website

J2Publii writes absolute image URLs based on the configured source website URL. The image files remain on the Joomla website; Publii must be able to access them over the web during import.

Keep the Joomla site online, and make sure the relevant images are publicly accessible, until Publii has completed importing them. Review Publii's import report for any failed image downloads.

Joomla categories and Publii tags

Joomla categories are exported as ordinary, flat WordPress tags. Publii imports these as tags. The original Joomla category hierarchy is therefore not recreated as a nested structure.

URL mapping CSV

The Download URL map CSV action creates a CSV containing:

  • Joomla article ID
  • Article title
  • Joomla alias
  • Non-SEF Joomla article URL
  • Proposed Publii slug
  • Joomla publication state

The CSV is a planning aid for creating redirects. It does not configure redirects automatically. The old non-SEF URL may differ from the public SEF URL used by your live Joomla site, depending on menu assignments and routing. Check the actual URLs on your site before creating redirects.

SEO and metadata

The exporter includes Joomla meta description and keywords in WXR post metadata. Publii's ability to map these into its own SEO fields depends on the importer and supported metadata keys. Verify the imported SEO fields manually before launch.

Building the installer from source

The Joomla component source is in src/com_j2publii/. To create an installable ZIP, create an archive whose root contains com_j2publii.xml, README.txt, admin/ and media/:

cd src/com_j2publii
zip -r ../../releases/com_j2publii-1.0.1.zip \
  com_j2publii.xml README.txt admin media

A ready-to-install 1.0.1 ZIP is also included in releases/.

Reporting issues and contributing

Please include the Joomla version, PHP version, Publii version, the export options used, and a concise description of the result. Do not post database credentials, private site URLs, unpublished content, or personal data in public issues.

See CONTRIBUTING.md before submitting changes. Please test against a staging site and a small sample export before proposing a release.

License

J2Publii is distributed under the GNU General Public License v3.0 only. See LICENSE for the full license text.

SPDX-License-Identifier: GPL-3.0-only

About

No description, website, or topics provided.

Resources

Contributing

Security policy

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors