Forum Discussion
16 Replies
Hi ClaudiusH
Try this one.
<#assign addBlog = restadmin("blogs/id/${blog_id}/messages/post?message.body=${body?url}&message.subject=${subject?url}&message.author=/users/login/${author}&message.post_date=${post_time?iso('UTC')}") />
Hope it would be helpful.AbhishekIlindra Yes, approach would be same. Data(JSON/XML) handling would be easy it can be the plus point if you are having the same platform both side.
- ClaudiusH9 years agoKhoros Alumni (Retired)
Wow. I am a bit surprised since both the Community API v1 call "messages / post" as well as the API v2 CREATE on the message collection according to the documentation do not allow to pass a timestamp.
Would you mind sharing which call you are using?
VikasB : Is the same approach if we are migrating content in one Lithium community in to different community.
Hi ClaudiusH,
Sure, all the post will show their original date. Have a look on attachment. You just need to pass the date with post call.
AbhishekIlindra If you are going to use such type of approach then make sure you are using a sync call otherwise some of the posts may be skipped.- ClaudiusH9 years agoKhoros Alumni (Retired)
Vik wrote:
We imported WordPress blog into Lithium. It's a manual process.
1. Fetch all the records as JSON from the specified platform.2. Manually put that JOSN in Endpoint.
3. Fetch JSON in component and revolve its entry in <#list> and set a synchronized post call inside the list.
Can you confirm that with that approach all the imported posts will not be shown with their original post date, but the a timestamp on the day the import was performed?
AbhishekIlindra
We imported WordPress blog into Lithium. It's a manual process.
1. Fetch all the records as JSON from the specified platform.2. Manually put that JOSN in Endpoint.
3. Fetch JSON in component and revolve its entry in <#list> and set a synchronized post call inside the list.
- ClaudiusH9 years agoKhoros Alumni (Retired)Same limitation and answer as when you are importing from a non-Lithium community: professional service can perform such straight forward database copy. Pretty uncommon scenario though, isn't it? Normally when moving a Lithium community you would simply change the domain it's sitting on.
VikasB Fellsteruk ClaudiusH : Hi All
How can we migrate all the content(categories, boards, Discussions etc..,) from one Lithium community into the another Lithium Community.
Can we achieve it by using some rest calls.
VikasB Fellsteruk ClaudiusH : Hi All,
How can we migrate all the content(categories, boards, Discussions etc..,) from one Lithium community into the another Lithium Community.
Can we achieve it by using some rest calls.