Comments (6)
You're totally correct. I've imported content from wordpress but the content is all buggy when imported from WP, could be because I'm using multilingual content. So, I've deleted old content and created few articles directly inside Ghost CMS, and now it's working perfectly! Thank you for your prompt response :)
from next-cms-ghost.
I migrated my Ghost CMS to v4 and did not find any incompatibilities with next-cms-ghost. That's the beauty of running a headless setup - it works out of the box. Anything missing?
from next-cms-ghost.
I changed the api version in lib/ghost.ts
to v4
, only getting a typing error but I know the SDK was updated to support it. I have posted an issue to request an update to the typings.
from next-cms-ghost.
@mikestecker: Thanks a lot for reporting. I am going to wait with the update until correct typings are available upstream. A current workaround could be to change it to canary
:
const api = new GhostContentAPI({
url: ghostAPIUrl,
key: ghostAPIKey,
version: 'canary',
})
However, the new version doesn't give you anything new unless v4
exposes new endpoints or functionality. I expect most changes in the v4 Admin API
not the v4 Content API
. What functionality are you missing that is only available in v4
?
Also note that the v4
setting won't work for people running a Ghost v3
instance - so this either needs to be made configurable or the new standard setting should be canary
.
from next-cms-ghost.
What functionality are you missing that is only available in
v4
?
Nothing that I'm aware of, I just wanted to change it for my own sanity knowing I'm on v4 running Ghost 4.x 😂
from next-cms-ghost.
Okay, I'll update to Content API v4
if
- typings are available and the Ghost JS client API fully supports it
- this repo needs a feature that is only available in
v4
- Backwards compatibility is ensured (solution could be to try
v4
first and usev3
as a fallback if it does not succeed).
I close this for now, but please reply to this thread if 1.) or 2.) becomes relevant.
from next-cms-ghost.
Related Issues (20)
- Changing theme settings doesn't work HOT 4
- Netlify Deploy workflow fails HOT 9
- next/images on Netlify HOT 2
- ISR on Netlify
- Open the images in full-screen display on click HOT 8
- Can I change my theme. HOT 1
- Pagination is not available HOT 12
- Error: Index creation failed - after adding API URL & Key HOT 10
- Integrate post/draft preview HOT 1
- getting issue on author image HOT 2
- I cant embed html scripts in my posts. HOT 1
- Upgrade Rehype HOT 2
- did you can add search bar HOT 1
- I can't send message in Contact page HOT 1
- Will this not work for Ghost V.5 and why not? HOT 1
- Working with local ghost installation
- TypeError: withImageLoader is not a function (warning [email protected]: Package no longer supported. Contact Support at https://www.npmjs.com/support for more info. HOT 6
- Build error occurred ReferenceError: Cannot access 'api' before init
- Abandoned? HOT 1
- Build specific feed for each author
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from next-cms-ghost.