Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/keyang/cmsfhwebsdk
Web based sdk sync cms content
https://github.com/keyang/cmsfhwebsdk
Last synced: about 1 month ago
JSON representation
Web based sdk sync cms content
- Host: GitHub
- URL: https://github.com/keyang/cmsfhwebsdk
- Owner: Keyang
- Created: 2013-11-05T16:45:11.000Z (about 11 years ago)
- Default Branch: master
- Last Pushed: 2013-11-19T18:26:36.000Z (about 11 years ago)
- Last Synced: 2024-04-13T23:10:58.082Z (9 months ago)
- Language: JavaScript
- Size: 224 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
cmsFHWebSDK
===========Web based sdk sync cms content
#Basic Usage:
##Init sdk
cms.init({
"alias":"the alias of your app on cms"
});
##Get app structure (local then remote)
cms.data.getAppStructure(function(err,res){});
##Get content (local then remote)cms.data.getContent(contentId, function (err,res){});
##Sync
cms.service.sync(function(err,res){})
##Start /stop client service for dynamic updatecms.service.startPoll(timeinsec)
cms.service.stopPoll()