0.4.2 • Published 8 years ago

easyblog v0.4.2

Weekly downloads
52
License
MIT
Repository
github
Last release
8 years ago

Easyblog

A basic, modular and easy blogging framework

Technologies used

  • Based on the draftjs.org rich text editor framework for React.js
  • React.js
  • Materialize.css

How to use the Blog Editor

Under construction

How to use the Blog Viewer

In your React application

Example: https://github.com/easybird/easyblog/blob/develop/frontend-app/welcome-app/welcome.js

Include React component:

<ArticlePage
    article={{
        articleUrl: "http://easybird.be/blog/future-react",
        content: {entityMap: ["draftjs style"], blocks: ["draftjs style"]}
        }}
/>

<ArticleList
    articles={
            [{
                articleUrl: "http://easybird.be/blog/future-react",
                content: {entityMap: ["draftjs style"], blocks: ["draftjs style"]}
            }]
        }
/>

Without React

Example: https://github.com/easybird/easybird.be/blob/develop/views/pages/blog/articlePage.jade

Include the bundle.js file into your html file, and make sure it can pick up the required window properties:

<body>
    <div id="article-page">
</body>
<script>
    var articlePageProps = {
        article: {
            content: {
                entityMap: ["the draftjs style of representing articles"],
                blocks: ["the draftjs style of representing articles"]
            },
            articleUrl: "http://www.urlofthearticle.com"
        }
    };
    var articlePageId = "article-page";
</script>
<script type='text/javascript' src"../../node_modules/easyblog/dist/articlePage.bundle.js"/>

Licence

MIT

0.4.2

8 years ago

0.4.1

8 years ago

0.4.0

8 years ago

0.3.0

8 years ago

0.2.1

8 years ago

0.2.0

8 years ago

0.2.0-alpha.1

8 years ago

0.1.13

8 years ago

0.1.12

8 years ago

0.1.9

8 years ago

0.1.8

8 years ago

0.1.7

8 years ago

0.1.6

8 years ago

0.1.5

8 years ago

0.1.4

8 years ago

0.1.3

8 years ago

0.1.2

8 years ago

0.1.1

8 years ago

0.1.0

8 years ago