{"id":"69d0d16f5b7a5c37312b26d4","title":"Advanced","path":"how-to/committee/learning-markdown/advanced","contentMarkdown":"# Advanced Content Import\n\nThe text editor has built-in features that make it easy to bring content from other websites into your pages. Rather than manually converting HTML to markdown, you can paste content directly and let the system do the conversion for you.\n\n## Pasting HTML from Another Page\n\nIf you copy content from another website (for example, selecting text and images on a web page and pressing Ctrl+C or Cmd+C), you can paste it directly into the text field in the CMS editor.\n\nWhen the system detects that the pasted content contains HTML, it shows a dialog with three options:\n\n![](https://ngx-ramblers.org.uk/api/aws/s3/site-content/05de47b8-09f6-4017-848f-7fa9f76eed35.png)\n\nThe **HTML content detected** dialog that appears when you paste HTML content into the text field\n\n* **Convert and split into rows** — converts the HTML to markdown and splits the content into separate rows, one for each major section (e.g. each heading and its following text becomes a separate row). This is usually the best option as it gives you a well-structured page that is easy to edit\n* **Convert without splitting** — converts the HTML to markdown and places all the content into the current column as a single block of text. Use this when you want everything in one row\n* **Cancel** — discard the paste\n\n### Base URL for Images\n\nThe dialog also includes a **Base URL** field. If the source page uses relative image paths (e.g. `images/photo.jpg` rather than a full URL), enter the base URL of the source website here so that the images resolve correctly. For example, if you copied from `https://example.com/walks/`, enter that URL and any relative image paths will be prefixed with it.\n\n## Pasting a URL to Fetch and Convert\n\nYou can paste a full web page URL directly into the text field and NGX-Ramblers will fetch the page, extract its content, and convert it to markdown. Two forms of URL are supported:\n\n### 1. Plain URL\n\nA normal URL starting with `http://` or `https://`, for example:\n\n```\nhttps://example.com/news/article\n```\n\nThis is fine for self-contained pages where all links and images already use absolute URLs.\n\n### 2. `view-source:` URL (preferred when the source page uses relative links)\n\nIn Chrome (and most Chromium-based browsers), right-click anywhere on a web page and choose **View page source**. A new tab opens with an address that starts with `view-source:`, for example:\n\n```\nview-source:https://example.com/news/article\n```\n\nCopy that full address from the browser's address bar and paste it straight into the text field. NGX-Ramblers recognises the `view-source:` prefix, strips it, fetches the target page, **and also captures the resolved website base URL** returned by the server. That base URL is then used to rewrite any relative links and images (for example `/images/photo.jpg` or `../page.html`) into fully qualified URLs, so nothing ends up broken when the converted markdown lands on your site.\n\nFor this reason the `view-source:` variant is the **preferred option whenever the source page has lots of relative links or images** — which is most real-world pages. A plain URL will still work, but relative references may not resolve correctly.\n\nWhile the page is being fetched, you will see a **Processing paste...** indicator:\n\n![](https://ngx-ramblers.org.uk/api/aws/s3/site-content/3d02f110-51f7-44ba-ae9b-598c9e33d797.png)\n\nThe system fetching and converting a web page from a pasted URL\n\nOnce the page has been fetched, you will see the same **HTML content detected** dialog with options to convert and optionally split into rows.\n\nThis is a quick way to import content from an existing website without having to manually copy and paste the HTML — just paste the URL and the system does the rest.\n\n## Tips\n\n* **Split into rows** is usually the best choice — it creates a clean, well-structured page where each section can be edited independently\n* If images from the source page appear broken, check that the **Base URL** was set correctly\n* After pasting, review the converted markdown to check for any formatting that needs tidying up — complex HTML layouts may not convert perfectly\n* You can always undo a paste by pressing Ctrl+Z (or Cmd+Z on Mac) immediately afterwards\n* For more about markdown formatting, see the [Learning Markdown](https://ngx-ramblers.org.uk/how-to/committee/learning-markdown) guide\n\n## See Also\n\n* [Learning Markdown](https://ngx-ramblers.org.uk/how-to/committee/learning-markdown) — the basics of markdown formatting\n* [In-line Images](https://ngx-ramblers.org.uk/how-to/committee/images/in-line) — adding images to text columns\n* [Editing Existing Content](https://ngx-ramblers.org.uk/how-to/committee/editing-content/existing-pages) — how to enter site edit mode and save changes","contentHtml":"<h1>Advanced Content Import</h1>\n<p>The text editor has built-in features that make it easy to bring content from other websites into your pages. Rather than manually converting HTML to markdown, you can paste content directly and let the system do the conversion for you.</p>\n<h2>Pasting HTML from Another Page</h2>\n<p>If you copy content from another website (for example, selecting text and images on a web page and pressing Ctrl+C or Cmd+C), you can paste it directly into the text field in the CMS editor.</p>\n<p>When the system detects that the pasted content contains HTML, it shows a dialog with three options:</p>\n<p><img src=\"https://ngx-ramblers.org.uk/api/aws/s3/site-content/05de47b8-09f6-4017-848f-7fa9f76eed35.png\" alt=\"\"></p>\n<p>The <strong>HTML content detected</strong> dialog that appears when you paste HTML content into the text field</p>\n<ul>\n<li><strong>Convert and split into rows</strong> — converts the HTML to markdown and splits the content into separate rows, one for each major section (e.g. each heading and its following text becomes a separate row). This is usually the best option as it gives you a well-structured page that is easy to edit</li>\n<li><strong>Convert without splitting</strong> — converts the HTML to markdown and places all the content into the current column as a single block of text. Use this when you want everything in one row</li>\n<li><strong>Cancel</strong> — discard the paste</li>\n</ul>\n<h3>Base URL for Images</h3>\n<p>The dialog also includes a <strong>Base URL</strong> field. If the source page uses relative image paths (e.g. <code>images/photo.jpg</code> rather than a full URL), enter the base URL of the source website here so that the images resolve correctly. For example, if you copied from <code>https://example.com/walks/</code>, enter that URL and any relative image paths will be prefixed with it.</p>\n<h2>Pasting a URL to Fetch and Convert</h2>\n<p>You can paste a full web page URL directly into the text field and NGX-Ramblers will fetch the page, extract its content, and convert it to markdown. Two forms of URL are supported:</p>\n<h3>1. Plain URL</h3>\n<p>A normal URL starting with <code>http://</code> or <code>https://</code>, for example:</p>\n<pre><code>https://example.com/news/article\n</code></pre>\n<p>This is fine for self-contained pages where all links and images already use absolute URLs.</p>\n<h3>2. <code>view-source:</code> URL (preferred when the source page uses relative links)</h3>\n<p>In Chrome (and most Chromium-based browsers), right-click anywhere on a web page and choose <strong>View page source</strong>. A new tab opens with an address that starts with <code>view-source:</code>, for example:</p>\n<pre><code>view-source:https://example.com/news/article\n</code></pre>\n<p>Copy that full address from the browser&#39;s address bar and paste it straight into the text field. NGX-Ramblers recognises the <code>view-source:</code> prefix, strips it, fetches the target page, <strong>and also captures the resolved website base URL</strong> returned by the server. That base URL is then used to rewrite any relative links and images (for example <code>/images/photo.jpg</code> or <code>../page.html</code>) into fully qualified URLs, so nothing ends up broken when the converted markdown lands on your site.</p>\n<p>For this reason the <code>view-source:</code> variant is the <strong>preferred option whenever the source page has lots of relative links or images</strong> — which is most real-world pages. A plain URL will still work, but relative references may not resolve correctly.</p>\n<p>While the page is being fetched, you will see a <strong>Processing paste...</strong> indicator:</p>\n<p><img src=\"https://ngx-ramblers.org.uk/api/aws/s3/site-content/3d02f110-51f7-44ba-ae9b-598c9e33d797.png\" alt=\"\"></p>\n<p>The system fetching and converting a web page from a pasted URL</p>\n<p>Once the page has been fetched, you will see the same <strong>HTML content detected</strong> dialog with options to convert and optionally split into rows.</p>\n<p>This is a quick way to import content from an existing website without having to manually copy and paste the HTML — just paste the URL and the system does the rest.</p>\n<h2>Tips</h2>\n<ul>\n<li><strong>Split into rows</strong> is usually the best choice — it creates a clean, well-structured page where each section can be edited independently</li>\n<li>If images from the source page appear broken, check that the <strong>Base URL</strong> was set correctly</li>\n<li>After pasting, review the converted markdown to check for any formatting that needs tidying up — complex HTML layouts may not convert perfectly</li>\n<li>You can always undo a paste by pressing Ctrl+Z (or Cmd+Z on Mac) immediately afterwards</li>\n<li>For more about markdown formatting, see the <a href=\"https://ngx-ramblers.org.uk/how-to/committee/learning-markdown\">Learning Markdown</a> guide</li>\n</ul>\n<h2>See Also</h2>\n<ul>\n<li><a href=\"https://ngx-ramblers.org.uk/how-to/committee/learning-markdown\">Learning Markdown</a> — the basics of markdown formatting</li>\n<li><a href=\"https://ngx-ramblers.org.uk/how-to/committee/images/in-line\">In-line Images</a> — adding images to text columns</li>\n<li><a href=\"https://ngx-ramblers.org.uk/how-to/committee/editing-content/existing-pages\">Editing Existing Content</a> — how to enter site edit mode and save changes</li>\n</ul>\n"}