Ghost

0.8.0

Community Ghost Admin API module: posts, pages, tags, members, tiers, images, themes, Markdown, local site.

Minimum PowerShell version

5.1

Installation Options

Copy and Paste the following command to install this package using PowerShellGet More Info

Install-Module -Name Ghost -RequiredVersion 0.8.0

Copy and Paste the following command to install this package using Microsoft.PowerShell.PSResourceGet More Info

Install-PSResource -Name Ghost -Version 0.8.0

You can deploy this package directly to Azure Automation. Note that deploying packages with dependencies will deploy all the dependencies to Azure Automation. Learn More

Manually download the .nupkg file to your system's default download location. Note that the file won't be unpacked, and won't include any dependencies. Learn More

Owners

Copyright

(c) Gijs Reijn. All rights reserved.

Package Details

Author(s)

  • Gijs Reijn

Tags

Ghost GhostCMS AdminAPI Blog CMS Publishing Markdown REST

Functions

Connect-Ghost Copy-GhostPost Disconnect-Ghost Enable-GhostTheme Export-GhostContent Export-GhostPage Export-GhostPost Export-GhostTag Get-GhostMember Get-GhostPage Get-GhostPost Get-GhostTag Get-GhostThemeSetting Get-GhostTier Import-GhostContent New-GhostImage New-GhostMember New-GhostPage New-GhostPost New-GhostPostFile New-GhostTag New-GhostTheme New-GhostTier Publish-GhostPost Remove-GhostLocalSite Remove-GhostMember Remove-GhostPage Remove-GhostPost Remove-GhostTag Set-GhostMember Set-GhostPage Set-GhostPost Set-GhostTag Set-GhostThemeSetting Set-GhostTier Start-GhostLocalSite Stop-GhostLocalSite Sync-GhostPage Sync-GhostPost Sync-GhostTag Sync-GhostTheme Unpublish-GhostPost

PSEditions

Desktop Core

Dependencies

This module has no dependencies.

Release Notes

### Added

- `Export-GhostPost` and `Export-GhostPage` have an `-IncludeImage` switch. It also saves the images that were
 uploaded to the site, in a folder `images` next to the file of the post or page, and writes each of them in
 that file as the path of its file. `Sync-GhostPost` and `Sync-GhostPage` read such a file with its images, so a
 post can be kept in a repository with everything it shows. The property `SavedImages` of the result has the
 files that were written.

### Changed

- `Export-GhostPost` and `Export-GhostPage` report a file as `Unchanged` when it only differs from its post or
 page in an image file that `Sync-GhostPost` or `Sync-GhostPage` uploaded: the file has the path of the image,
 the site its address. Before, such a file was reported as `Skipped`.

### Fixed

- `Sync-GhostPost` and `Sync-GhostPage` find every image in a block of HTML, such as the HTML that
 `Export-GhostPost` writes for a post that was made in the editor. Before, an HTML image between two backticks
 in such a block was taken for code. Its file was not uploaded and the post showed a broken image.
- Text in a block of HTML that looks like a Markdown image, in a code sample for example, is no longer taken for
 an image file. Before, `Sync-GhostPost` and `Sync-GhostPage` stopped with the error that the file does not
 exist.

FileList

Version History

Version Downloads Last updated
0.8.1 35 11/27/2026
0.8.0 (current version) 38 11/26/2026
0.7.0 13 11/26/2026
0.6.1 48 11/24/2026
0.6.0 41 11/21/2026
0.5.1 11 11/21/2026
0.4.0 14 11/21/2026
0.3.2 12 11/21/2026
0.3.0 12 11/21/2026
0.2.1 9 11/21/2026
0.2.0 13 11/20/2026
0.1.0 12 11/20/2026
Show more