0.4.2 • Published 10 years ago

easyblog v0.4.2

Weekly downloads
52
License
MIT
Repository
github
Last release
10 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

10 years ago

0.4.1

10 years ago

0.4.0

10 years ago

0.3.0

10 years ago

0.2.1

10 years ago

0.2.0

10 years ago

0.2.0-alpha.1

10 years ago

0.1.13

10 years ago

0.1.12

10 years ago

0.1.9

10 years ago

0.1.8

10 years ago

0.1.7

10 years ago

0.1.6

10 years ago

0.1.5

10 years ago

0.1.4

10 years ago

0.1.3

10 years ago

0.1.2

10 years ago

0.1.1

10 years ago

0.1.0

10 years ago