Add helpful nudges for post-processing
Now provides a reminder to fix the title/subtitle/excerpt, and a helpful URL of the final post destiation to publish on Buffer! @manasakashi12 hope you find this useful!
This commit is contained in:
parent
cfa30a3e73
commit
302a74d679
2 changed files with 6 additions and 1 deletions
|
@ -220,6 +220,11 @@ app.ws('/ws/push-ghost', (ws, req) => {
|
|||
seance.pushToGhost(postSlug)
|
||||
.then(() => {
|
||||
console.info(`"${postSlug}" pushed successfully.`)
|
||||
|
||||
// warn about fixing byline and description
|
||||
ws.send('notification: The "make the title proper" bug is yet to be fixed! Please make sure to adjust the title and subtitle, as well as the excerpt in the sidebar.')
|
||||
|
||||
// send 'done' message
|
||||
ws.send(`done: ${postSlug}`)
|
||||
})
|
||||
} else {
|
||||
|
|
|
@ -147,7 +147,7 @@ function ghostPush(e) {
|
|||
addNotification(commandData, className='is-danger')
|
||||
} else {
|
||||
// show alert
|
||||
addNotification(`${postSlug} has been pushed to Ghost`, 'is-success')
|
||||
addNotification(`${postSlug} has been pushed to Ghost. Buffer share link: <a href="https://www.snipettemag.com/${postSlug}">https://www.snipettemag.com/${postSlug}</a>`, 'is-success')
|
||||
}
|
||||
|
||||
// since it's done, clean up
|
||||
|
|
Loading…
Reference in a new issue