This project is based on helix-project-boilerplate template project. The content mountpoint in the fstab.yaml
points to helix-sportsmagazine-content on Google Drive.
Preview: https://main--helix-sportsmagazine--headwirecom.hlx.page Live: https://main--helix-sportsmagazine--headwirecom.hlx.live
npm i
npm tst
To start development:
main
branch.npm install -g @adobe/helix-cli
hlx up
(opens your browser at http://localhost:3000
){repo}
directory in your favorite IDE and start coding :)The last imported content is located on Google Drive in helix-sportsmagazine-content/import-test folder.
The Franklin Importer - UI was used to import test content from https://www.golfdigest.com/.
{repo}/import
directory: hlx import --cache .cache/
(opens http://localhost:3001/tools/importer/helix-importer-ui/index.html in the browser.)To access content compare tool go to http://localhost:3001/tools/importer/import-compare.html. The original content is displayed in the left and imported content in the right frame.
There are several ways to view content:
{repo}/import/tools/importer/gallery-urls.json
or {repo}/import/tools/importer/article-urls.json
if Page Type is Gallery or Article. Use Previous and Next buttons to compare these predefined pages. This is the default.javascript:window.open(\`http\:\/\/localhost:3001/tools/importer/import-compare.html#https\:\/\/www.golfdigest.com${window.location.pathname}\`);
The compare tool supports both long form AEM URLs and their shortened versions.
To list URLs from https://www.golfdigest.com/ (with Franklin importer running) go to http://localhost:3001/tools/importer/sitemap.html
Click Start to list all URLs. You can enter a list of root paths in Root URLs to import
. For example /products/
will list only product pages under https://www.golfdigest.com/products/.
This can be used to get a list of pages to import vi Franklin Importer - UI.
Checking Update Importer
will cause URLs in Import - Bulk
page of the Importer to be updated with the list of URLs from the Sitemap. Open or refresh http://localhost:3001/tools/importer/helix-importer-ui/index.html and click on Import - Bulk
.