Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/romellogoodman/blogjs
A JSON Powered Blog System.
https://github.com/romellogoodman/blogjs
Last synced: 11 days ago
JSON representation
A JSON Powered Blog System.
- Host: GitHub
- URL: https://github.com/romellogoodman/blogjs
- Owner: romellogoodman
- License: mit
- Created: 2015-02-16T06:00:01.000Z (almost 10 years ago)
- Default Branch: master
- Last Pushed: 2015-02-24T05:37:38.000Z (almost 10 years ago)
- Last Synced: 2023-02-26T20:08:31.973Z (almost 2 years ago)
- Language: JavaScript
- Size: 176 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# BlogJS
[www.romellogoodman.com/blogjs](http://www.romellogoodman.com/blogjs "BlogJS' Homepage")BlogJS A JSON Powered Blog System.
Documentation is a work in progress.
## Requirements
jQuery (for now)### To use
``` HTML
// Set your initials
window.onload = function(){
// Set this field equal to your JSON object.
BlogJS.initials.blogPosts = posts;
// Specify the place where the posts load (defaulted to #posts)
BlogJS.initials.appendListTo = "#list-of-articles";
// Specify the place where the list of articles load (defaulted to #list-of-articles)
BlogJS.initials.appendPostTo = "#post";
// Specify the page where the #list-of-articles & #post are.
// Both are defaulted to index. (index.html)
BlogJS.initials.postLocation = "index";
BlogJS.initials.listLocation = "index";
// Starts the whole process.
BlogJS.loadPage();
};
Read More
```